Bug 458269

Summary: Logging into an unused session with kscreenlocker cause SDDM not able to start
Product: [Unmaintained] kscreenlocker Reporter: klarnorbert
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: bshah, klarnorbert, nate
Priority: NOR Keywords: regression
Version First Reported In: 5.24.6   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=458169
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description klarnorbert 2022-08-24 19:16:03 UTC
SUMMARY
When switching users, choosing Unused session instead of a new session cause the system to drop you to an empty tty without graphical interface.


STEPS TO REPRODUCE
1.  Switch user with kscreenlocker
2.  Log into an unused session(you can have these if you switched user with a new session then log out)
3.  You get a tty without graphical interface where you can login and type 'startx' to start X11
4. If you log out from this "corrupted" session, you can't switch back to an another user

OBSERVED RESULT
Linux tty without X11 started

EXPECTED RESULT
Seeing SDDM login window

SOFTWARE/OS VERSIONS
Linux: Linux locknload 5.15.60-1-MANJARO
KDE Plasma Version: 5.24.6
KDE Frameworks Version:  5.96.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
This is somehow related to my previously reported bug https://bugs.kde.org/show_bug.cgi?id=458169
Comment 1 Nate Graham 2022-08-25 13:37:21 UTC
Seems like it's related indeed, yeah.
Comment 2 Nate Graham 2022-11-04 21:38:49 UTC
KScreenlocker is actually not involved here; all the logic happens in SDDM. Can you re-file this at https://github.com/sddm/sddm/issues? Thanks!