You are not logged in.

#1 2025-01-05 00:22:16

Tealk
Member
Registered: 2024-08-21
Posts: 44
Website

gnome-session-b prevents restart/sleep

Hello everyone, I have had the problem that gnome-session-b prevents the restart or sleep and I don't know how this happens, in the wiki and forum I couldn't find anything with the search terms "gnome-session-b shutdown:sleep".

╭─tealk@FrameWork: ~
╰─>_reboot
Operation inhibited by "tealk" (PID 2759 "gnome-session-b", user tealk), reason is "user session inhibited".
Please retry operation after closing inhibitors and logging out other users.
'systemd-inhibit' can be used to list active inhibitors.
Alternatively, ignore inhibitors and users with 'systemctl reboot -i'.

Offline

#2 2025-01-05 09:45:42

seth
Member
Registered: 2012-09-03
Posts: 60,756

Re: gnome-session-b prevents restart/sleep

ps aux | grep 'gnome-session-b'

Likely "gnome-session-binary" and if you're lucky

systemd-inhibit

it has left a comment as to why.

Alternatively, ignore inhibitors and users with 'systemctl reboot -i'.

Offline

#3 2025-01-06 22:59:04

Tealk
Member
Registered: 2024-08-21
Posts: 44
Website

Re: gnome-session-b prevents restart/sleep

But hard rebooting the system can't be the point. You can't even see via the GUI why the restart doesn't work.

Offline

#4 2025-01-07 10:36:35

seth
Member
Registered: 2012-09-03
Posts: 60,756

Re: gnome-session-b prevents restart/sleep

That's not a "hard" reboot.

Did you check whether gnome-session tells you why it inhibits the reboot?

Offline

#5 2025-01-15 10:08:16

crimist
Member
Registered: 2022-07-30
Posts: 3

Re: gnome-session-b prevents restart/sleep

You can use gnome-session-inhibit to check which processes are preventing suspend in the gnome DE.

gnome-session-inhibit --list

Offline

#6 2025-01-16 16:25:42

Tealk
Member
Registered: 2024-08-21
Posts: 44
Website

Re: gnome-session-b prevents restart/sleep

Thank you very much, I will try that.

Offline

Board footer

Powered by FluxBB