You are not logged in.
I've recently switched over from a FVWM setup with xscreensaver as my screen locker. There, I had used a custom systemd service that invoked xscreensaver before suspend.target. That didn't work quite right so I toyed around with xflock4 for a couple hours.
In either the systemd service or xflock4 (only had one active at a time), the screen locker works perfectly fine when invoking xflock4, the screensaver program, suspending from the applications menu, or using the physical sleep button. However, when suspending by closing the lid and then opening to wake, the screen locker is triggered (mouse and keyboard are captured and are freed after I type in my password) but the screen is not blanked (I can see the desktop as it was before I closed the lid). If I suspend with the sleep button, then close the lid and reopen, the screen locker does appear correctly, so I suppose it has to do with the action of suspending with the lid, not in waking.
I tried xscreensaver, slock, and i3lock (one installed on my system at a time) and all three had the exact same outcome.
Edit: OS is Debian 12 stable. After searching on the forum rather than googling, this seems to be the same issue: https://forum.xfce.org/viewtopic.php?id=17059
If it is relevant, the output of
xfconf-query -c xfce4-power-manager -lv
/xfce4-power-manager/blank-on-ac 15
/xfce4-power-manager/brightness-switch 0
/xfce4-power-manager/brightness-switch-restore-on-exit 1
/xfce4-power-manager/critical-power-level 13
/xfce4-power-manager/dpms-on-ac-off 20
/xfce4-power-manager/dpms-on-ac-sleep 18
/xfce4-power-manager/general-notification true
/xfce4-power-manager/inactivity-on-ac 20
/xfce4-power-manager/inactivity-sleep-mode-on-battery 1
/xfce4-power-manager/lid-action-on-ac 1
/xfce4-power-manager/lid-action-on-battery 1
/xfce4-power-manager/lock-screen-suspend-hibernate true
/xfce4-power-manager/logind-handle-lid-switch false
/xfce4-power-manager/power-button-action 3
/xfce4-power-manager/presentation-mode false
/xfce4-power-manager/show-tray-icon false
/xfce4-power-manager/sleep-button-action 1
I'm hoping this is just a simple misconfiguration somewhere. Anyone else had this issue before?
Last edited by Kartoffelstolz (2024-02-24 22:09:51)
Offline
Well, I hope posting this reply won't break it, but I think I fixed it with a few simple commands:
cd .config/xfce4/xfconf/xfce-perchannel-xml
mv displays.xml displays.xml.bak
mv xfce4-power-manager.xml xfce4-power-manager.xml.bak
mv xfce4-session.xml xfce4-session.xml.bak
from: https://forum.xfce.org/viewtopic.php?pid=62973#p62973
Thanks ToZ!
EDIT: to avoid any weird conflicts, do this in another tty after having logged out of the XFCE session
Last edited by Kartoffelstolz (2024-02-24 22:16:44)
Offline
[ Generated in 0.009 seconds, 8 queries executed - Memory usage: 523.09 KiB (Peak: 523.93 KiB) ]