Hello,

consider two vt sessions vt1, vt2. On vt1 handle-lid-switch is
inhibited. Now the lid is closed and than a vt switch takes place (e.g.
"sleep 10 && loginctl activate vt2"). Now the system suspends. I guess
this is because the new active session has no inhibitor lock on
handle-lid-switch and therefor retroactively reacts to the closed lid.

Is this intentional or could it be changed?

Background: There are screen locker, which use the display managers
login screen for unlocking the session; e.g. light-locker + lightdm.
Locking a session involves a vt switch to display the authentication
screen. If such a locker gets started while the lid is closed, the
system suspends, even if the original session inhibited the
handle-lid-switch.

Thanks
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to