Red Hat Bugzilla – Bug 506847
gnome-screensaver does not work with xfce
Last modified: 2015-01-14 18:23:07 EST
Description of problem:
gnome-screensaver does not work as desired on xfce sessions; it simply does not blank/lock the screen. This happens since I yum upgraded from F10 to F11.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Login to xfce4 session
2. Preferences => Screensaver
3. choose 1 minute as "Regard computer as idle after", make sure "Activate screensaver when compute is idle" and "Lock screen when screensaver is active" are enabled both
5. Wait more than 60 seconds
Screen is blanked and locked
It works fine under GNOME. Further, even on a xfce session, gnome-screensaver-command --lock works just fine. And, even on a xfce session, the display seems to go to sleep after some time (but not 1 minute); however, after it has done so, no password is requested on activity.
This bug is different from #505915, because it describes a situation (without mentioning session type) where only locking fails and blanking works fine.
I can reproduce it even with a newly created user that didn't exist yet before the upgrade.
This is also true on a clean install of Fedora 11 xfce spin.
problem persists in f12
As mentionned in the Gnome Bugzilla , I've had the same problem with my simple Fvwm-based environment and ended up writing a Python script which impersonates the Gnome SessionManager, and does the XIDLE detection for Gnome ScreenSaver. It's available from , and the code is documented at .