! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
inconsistent settings for lock screen between xfce4-session and xfce4-power-m...
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-session
Component:
General

Comments

Description scar 2012-06-16 08:38:52 CEST
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
Comment 1 Yves-Alexis Perez editbugs 2012-06-16 14:03:50 CEST
Did you try “lock screen before sleep” in the last tab of xfce4-session settings?
Comment 2 scar 2012-06-17 00:10:32 CEST
Thank you, it did the trick.
Sorry for lamenting.
Comment 3 Yves-Alexis Perez editbugs 2012-06-17 10:23:36 CEST
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
Comment 4 Jarno Suni 2014-01-04 01:06:37 CET
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.
Comment 5 Chris Bainbridge 2014-06-03 03:44:50 CEST
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
Comment 6 Netrix 2014-09-04 01:11:03 CEST
It still does not work in version 4.10.1.

I've tested it with checkbox checked and unchecked in xfce4-session.
Comment 7 Jarno Suni 2014-10-12 11:39:55 CEST
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).
Comment 8 Jarno Suni 2014-10-12 11:41:06 CEST
(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?
Comment 9 Simon Steinbeiss editbugs 2014-12-07 01:48:53 CET
This bug has indeed been fixed via xfce4-power-manager >=1.3.0 and the two settings are in sync now.

Bug #9030

Reported by:
scar
Reported on: 2012-06-16
Last modified on: 2014-12-07

People

Assignee:
Xfce Bug Triage
CC List:
7 users

Version

Version:
4.10.0

Attachments

Additional information