Xfce Forum

Sub domains
 

You are not logged in.

#1 Yesterday 20:40:43

xados
Member
Registered: Yesterday
Posts: 1
Windows 10Firefox 132.0

Suspend, restart, shutdown grayed-out on the log-out menu

Hello;
Suspend, restart, shutdown are greyed-out and cannot be chosen from the log out menu. They are grayed-out after I chose log-out and log-in again as a user. If I  try to suspend before I log-out and log-in, it throws an "Failed to suspend session: Failed to lock the screen" error and does not suspends the system.

These things are not true if I log in as root, they work as intended.

$ xfce4-power-manager --dump
---------------------------------------------------
       Xfce power manager version 4.18.4
With policykit support
With network manager support
---------------------------------------------------
Can suspend: False
Can hibernate: False
Authorized to suspend: False
Authorized to hibernate: False
Authorized to shutdown: False
Has battery: True
Has brightness panel: True
Has power button: True
Has hibernate button: True
Has sleep button: True
Has battery button: True
Has LID: True
$ systemd-inhibit --list --no-pager
WHO                 UID USER PID  COMM            WHAT                                                                       WHY                                    MODE 
ModemManager        0   root 5542 ModemManager    sleep                                                                      ModemManager needs to reset devices    delay
NetworkManager      0   root 5494 NetworkManager  sleep                                                                      NetworkManager needs to turn off netw… delay
UPower              0   root 6053 upowerd         sleep                                                                      Pause device polling                   delay
xfce4-power-manager 0   root 9984 xfce4-power-man handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch xfce4-power-manager handles these eve… block

4 inhibitors listed.

I am using MX linux 23-4_64x, live usb, but the original iso doesn't have this problem and I am just at the beginning of using the distro, I just configured the desktop, installed a browser, thats all. I tried to get the same result by making same changes to the original iso but did not worked.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 517.78 KiB (Peak: 520.88 KiB) ]