Bug 430299 - Unable to disable screenlock greeter when switching user.
Summary: Unable to disable screenlock greeter when switching user.
Status: CLOSED INTENTIONAL
Alias: None
Product: kscreenlocker
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-12 14:19 UTC by Jelle Haandrikman
Modified: 2021-06-16 17:20 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jelle Haandrikman 2020-12-12 14:19:04 UTC
SUMMARY
We both use the same desktop at our home. Therefore we need to switch user quite often. At this moment, the screenlock greeter is always present when switching user. It's not possible to disable this behaviour via the "Screen locking" preferences. 

STEPS TO REPRODUCE
1. Login as a user
2. Open a new session
3. Switch back to the previous user. 

OBSERVED RESULT
The screenlock greeter for the session is presented. There is no option to turn this off. 

EXPECTED RESULT
Able to switch of the screenlock when switching user. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Debian Linux/Testing,
(available in About System)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-12-17 05:23:01 UTC
Do both of your users have passwords set, or either or both of them passwordless?
Comment 2 Jelle Haandrikman 2020-12-17 08:14:31 UTC
We both have a unique password set when we first log in.
Comment 3 Nate Graham 2020-12-17 15:08:26 UTC
Then this is intentional :) 

Password-protected user accounts are subject to the security of the lock screen. The system has no way of knowing that you trust the people in your household enough to want to bypass user account passwords when switching users.

If you really have that much trust, a better solution might be to use passwordless accounts, but set a disk password to secure the entire system outside of individual account passwords.
Comment 4 Panagiotis Lampropoulos 2021-06-16 08:18:28 UTC
As a workaround to this intentional behaviour, you could use the TTY switching behaviour (described in https://bugs.kde.org/show_bug.cgi?id=407767) to switch back and forth between user sessions without having to re-enter your passwords.
Comment 5 Jelle Haandrikman 2021-06-16 17:19:52 UTC
I already created my own shell script using loginctl. It works quite good. But I think I once used a magical D-bus setting that disables the screenlock. So It might not work. 

You can find it here: 
https://github.com/jhaand/loginctl_switch
Comment 6 Jelle Haandrikman 2021-06-16 17:20:48 UTC
I think it's better to close this, since it is intentional behaviour.