! 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 !
no lock when multiple display used
Status:
RESOLVED: MOVED
Product:
Xfce4-power-manager
Component:
General

Comments

Description Yves-Alexis Perez editbugs 2012-03-29 10:36:17 CEST
Hey,

this one is not exactly a bug, more an not so documented feature, which some people might find questionable. As it is somehow security related, it's wise to have it documented and maybe think about it.

Downstream bug is at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666061 but basically a summary is that, when multiple screens are used, xfce4-power-manager won't lock the screen on lid close even though the setting is set to “Lock screen”.

I guess (as I said on dowstream bug) the rationale is that people do it when they use their laptop docked with an external screen and external mouse/keyboard. Then they only use the external screen, and close the display. In this case, they might not want to lock the screen.

Note that the behavior is not consistent with the suspend case: when xfpm is configured to suspend on lid close, it'll happily do it even though an external screen is plugged in, so I'm not sure the rationale really holds.

Some way to fix it would be to add another option, maybe an hidden one, and to document the behavior somehwere.
Comment 1 Yves-Alexis Perez editbugs 2012-03-29 10:36:30 CEST
Adding Nick on CC:
Comment 2 Yves-Alexis Perez editbugs 2012-03-29 10:36:42 CEST
And adding downstream url
Comment 3 Yves-Alexis Perez editbugs 2013-07-25 07:41:31 CEST
Nick, any idea on how to move forward on this?
Comment 4 Simon Steinbeiss editbugs 2014-05-29 11:57:52 CEST
*** Bug 9251 has been marked as a duplicate of this bug. ***
Comment 5 Eric Koegel editbugs 2014-08-12 19:46:11 CEST
This one is difficult now since we also try to support LoginD. If it handles the lock on lid close, it has the same hardwired logic in it's code:
http://cgit.freedesktop.org/systemd/systemd/tree/src/login/logind-action.c#n72

And there's no way for us to inhibit that, so a setting from us wouldn't always work. Leaving it as it is now at least keeps it consistent.
Comment 6 Eric Koegel editbugs 2014-08-16 19:39:57 CEST
Someone filed an upstream feature request to SystemD https://bugs.freedesktop.org/show_bug.cgi?id=82485
Comment 7 Git Bot editbugs 2020-05-27 01:36:38 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-power-manager/-/issues/2.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #8607

Reported by:
Yves-Alexis Perez
Reported on: 2012-03-29
Last modified on: 2020-05-27
Duplicates (1):
  • 9251 xfpm intentionally does not lock on lid close when multihead_connected

People

Assignee:
Ali Abdallah
CC List:
3 users

Version

Version:
1.0.10

Attachments

Additional information