Bug 426980 - Switch User sessions aren't being cleaned up entirely
Summary: Switch User sessions aren't being cleaned up entirely
Status: RESOLVED DUPLICATE of bug 355920
Alias: None
Product: ksmserver
Classification: Unclassified
Component: general (show other bugs)
Version: 5.12.8
Platform: openSUSE RPMs Linux
: NOR minor (vote)
Target Milestone: ---
Assignee: David Edmundson
Keywords: regression
Depends on:
Reported: 2020-09-26 03:15 UTC by Stephen Poole
Modified: 2021-06-21 22:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:

Picture of the described behavior after switching user, then logging out (45.79 KB, image/jpeg)
2020-09-26 03:15 UTC, Stephen Poole

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Poole 2020-09-26 03:15:14 UTC
Created attachment 131944 [details]
Picture of the described behavior after switching user, then logging out


When creating an additional session with KMenu -> Power/Session -> Switch User, when I complete the other user's session and logout, I am returned to my main login desktop (as expected). When I click Power/Session -> Switch User to log in again as a different user, there is an "unused" icon appearing in the choices. If I create additional sessions; logout; and create yet still newer additional sessions and logout; eventually, the "Switch User" screen becomes filled with these "unused" icons. Clicking on "unused" does nothing.

This is new behavior that began occuring in OpenSuse Leap 15.1 (which I use at home), but is still present in Leap 15.2 (which I use at work).

Not a show stopper. After a few "New User" sessions and logouts, I just restart the computer. But since this is new behavior, the only reason I report it is because of the possibility of unreleased system resources/memory leak/etc.


1. Using autologin (which I do), go into your main, personal KDE desktop. 
2. Click KMenu -> Power/Session -> Switch User, select New Session, then login as a different user. Do some work, then log out.
3. If you then try to switch users again, there will be an "unused" icon next to the "Switch User" icon.

Extra icons each time I switch user, then log out, then attempt to switch again.


This only started happening with OpenSuse Leap 15.1; something has changed.

Linux/KDE Plasma: OpenSuse Leap 15.1
(available in About System)
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.55.0
Qt Version: 5.9.7


Again, this is not a critical bug, and should not be treated as such. But as I said, there is a possibility that some system resources aren't being released when the additional "new" users are logged out.
Comment 1 Nate Graham 2020-09-26 15:55:52 UTC

*** This bug has been marked as a duplicate of bug 407305 ***
Comment 2 Stephen Poole 2020-09-26 17:03:37 UTC
Ah. Sorry for the duplicate.
Comment 3 Nate Graham 2020-09-26 17:05:23 UTC
No problem. "Number of duplicates" can serve as a useful proxy for "how important is it for us to drop everything and fix this? " :)
Comment 4 Nate Graham 2021-06-21 22:46:15 UTC

*** This bug has been marked as a duplicate of bug 355920 ***