kscreenlocker kicks out user sessions
Hi,
I have faced an issue with kscreenlocker: session may be aborted on
attempt to unlock it. I am unsure if some package is missed in my case
(I am trying to avoid applications that I have never used) or the bug
may be reproduced by others.
- Plasma X11 login
- Activate screen locker
- Switch to another user
- Select the same user in the desktop manager.
I have tried SDDM and LightDM with lightdm-gtk-greeter.
- Type password
In my case the created earlier session is terminated and desktop manager
screen appears again. The following line appears in logs:
kscreenlocker_greet[2446]: pam_unix(kde:auth): authentication failure;
logname= uid=1001 euid=1001 tty= ruser= rhost= user=test
If the password typed incorrectly then the display manager reports an
error and control is not passed to kscreenlocker.
Session may be successfully unlocked from kscreenlocker.
Session may be unlocked from the display manager if kscreenlocker has
not activated yet. E.g. "switch user" action from krunner sends directly
to the display manager, so success of unlock depends on switch to the VT
where the session is running.
I have noticed the issue on my laptop and to find exact conditions I
have used a qemu VM. Set of packages are not identical, but still quite
similar.
Debian 12 bookworm.
There is a similar to some extent bug
https://bugs.debian.org/858596
but .xsession-errors is rather small in my case.
I have never bitten by this bug on Kubuntu-20.04 and lightdm-gtk-greeter
on another laptop despite temporary switching to another user is routine.
Reply to: