#896925 light-locker: unable to unlock screen if allow-user-switching=false in lightdm.conf

Package:
light-locker
Source:
light-locker
Description:
simple screen locker for lightDM display manager
Submitter:
sungazer
Date:
2026-04-19 17:33:03 UTC
Severity:
important
Tags:
#896925#5
Date:
2018-04-25 23:28:07 UTC
From:
To:
I am the only user of my system, so set allow-user-switching=false in /etc/lightdm/lightdm.conf expecting it to cause light locker to no longer ask for a login/password combination when unlocking the screen, but instead to only allow entry of my password.

Instead, the screen remains blank and unresponsive (e.g. wiggling mouse, typing etc causes no change) and there is no way to unlock my session again.

Setting allow-user-switching=true fixes the problem, allowing entry of login/password to unlock my screen.

#896925#10
Date:
2022-10-02 11:39:28 UTC
From:
To:
Control: tags -1 sid confirmed
Control: found -1 1.8.0-3

If you're the sole user, you don't have to change
'allow-user-switching'. You can achieve what you want without touching
this key. This is true for light-locker 1.8.0-3 and lightdm 1.26.0-8.

With that said, I suspect the problem might be with lightdm and not
light-locker.

The output of light-locker in debug mode is attached. Manually calling
SetActive() and SimulateUserActivity() methods with `dbus-send` has no
effect (similar log messages are output).

#896925#23
Date:
2026-04-19 17:31:15 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***