Abbreviated:
For me:
…
ReuseSession=true
…
I added the line to /usr/local/etc/sddm.conf.d/kde_settings.conf (you might find the file already present), however it's not effective. We're probably bitten by something like the bugs below (ignoring the systemd aspect).
ReuseSession does not work · Issue #917 · sddm/sddm
Hi, ReuseSession set to true, does not allow user to log in back after logout. Oct 20 01:15:27 localhost.localdomain systemd[1]: Started User Manager for UID 981. Oct 20 01:15:27 localhost.localdom...github.com
– and following <https://github.com/sddm/sddm/pull/1273#issuecomment-665747662> (2020-07-29):
ReuseSession=true is broken for multiple sessions · Issue #1281 · sddm/sddm
If sddm decides to reuse a session after successful authentication by unlocking and activating it, there are three processes competing for the VT switch: systemd-logind is told to activate the targ...github.com
SDDM doesn't quit the greeter gracefully with reuseSession=true · Issue #1282 · sddm/sddm
On successful logins, sddm doesn't tell the greeter to quit, it just kills the X server it is connected to while the greeter is about to quit already. This confuses it and it crashes.github.com
Testing can be a little ugly, in that it becomes impossible to use the GUI to log out. We can e.g.service sddm restart
, but I don't like pulling the rug so abruptly.
… user switching is functional except for reuse. …
For me:
- sddm-greeter crashes too easily (1282 above; <https://github.com/sddm/sddm/issues/1282#issuecomment-1089517976>)
- the screen locker breaks, requiring root use of
ck-unlock-session
at a different tty - commands such as Log Out, Restart and Shut Down become ineffective.