I've marked this bug major, as it causes a user-defined security setting's failure. I've a full xfce install on Arch Linux, and I've noticed the following: In xfce4-power-managers settings I've checked the lock screen after resume fom sleep/hibernate option, and when I hibernate or suspend from the power managers tray icon, it follows my settings. However, I think the REAL way of quitting your desktop is by design, tradition, logic and whatever, is by the xfce4-session-logout dialog. And this one DOES NOT RESPECT the power managers settings. So, on a laptop, if I suspend it, everyone can resume and use my machine without any password checking. I think this is a really serious issue. Tested: GUI (suspend/hibernate) xfce4-session-logout CLI xfce4-session-logout ( with --suspend and --hibernate options) Does not work. So there's an inconsistency between the two utilities, and I thionk, because Xfce is a Desktop Environment, its elements should respect each others settings. And I think the one that has to be modified is Xfce-session-logout, because the power manager works correctly. package: xfce4-session 4.10.0-3
Did you try “lock screen before sleep” in the last tab of xfce4-session settings?
Thank you, it did the trick. Sorry for lamenting.
No problem. I'm retitling and adjusting severity. I think there might already be a bug for the same thing, which I think is planner (or even already fixed) for 4.12
As for inconsistency, they use different methods for launching suspend and hibernate: you can notice that, if you have lock-on-sleep unchecked for both, and use gnome-screensaver daemon or light-locker: if you suspend by xfce4-session, it will lock, but not if you suspend by xfce4-power-manager.
This issue is already fixed in xfce4-power-manager according to https://bugs.launchpad.net/xfce4-session/+bug/1101982 and http://git.xfce.org/xfce/xfce4-power-manager/commit/?id=bed10b8068d549bf0dd59542c90dec9f6b576e64
It still does not work in version 4.10.1. I've tested it with checkbox checked and unchecked in xfce4-session.
What if system does not have xfce4-session installed? Does xfce4-power-manager let you change the setting in its own UI then? (In my Ubuntu Studio 14.04 the option is dimmed and can not be used there; same thing with Hibernate and Suspend.) As for xfce4-session-logout and Action Buttons on panel, I think the clearest and most flexible way would be to add (optional) items for both suspend and suspend with lock (and same thing for hibernate, if that has not been dropped off).
(In reply to Netrix from comment #6) > It still does not work in version 4.10.1. > > I've tested it with checkbox checked and unchecked in xfce4-session. What version of xfce4-power-manager did you use?
This bug has indeed been fixed via xfce4-power-manager >=1.3.0 and the two settings are in sync now.