Unlock dialog doesn't show up when locking screen while monitor is detached (e.g. via KVM switch)

Bug #1842504 reported by Jakob Lell
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
light-locker (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When there is no monitor attached while locking the screen with light-locker, the screen will be locked but the unlocking dialog does not show up. Instead, the system shows a black screen with the message "This session is locked. You'll be redirected to the unlock dialog automatically in a few seconds." (sometimes this message is only visible after going to another virtual console and back to [CTRL]+[ALT]+[F7]), but the unlock dialog never shows up. In that state, the session can only be unlocked using "sudo loginctl list-sessions" and then "sudo loginctl unlock-session ..." from a virtual console/SSH connection.

This issue can easily be reproduced by running a command like "sleep 30; light-locker-command --lock" and then detaching the VGA/DVI/HDMI monitor cable (and reconnecting it after the screen is locked).

The same also happens when using a KVM switch and switching over to another machine directly after triggering the screen lock. Since light-locker typically takes a couple of seconds from triggering the screen lock until the unlocking dialog shows up, it will frequently happen when switching to another system right after locking the screen.

Please note that this issue does not happen on a laptop since the integrated screen is always attached.

The problem has been verified with a default installation of XUbuntu 18.04 and 19.04.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in light-locker (Ubuntu):
status: New → Confirmed
Revision history for this message
Kanehekili (jentiger-moratai) wrote :

And 4 years later nothing changed. So I refrained from using Debian related distros. Old white men...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.