Killing the systemd user session on logout

Bernie Innocenti bernie at codewiz.org
Sat Jul 11 16:14:49 BST 2020


I'm trying to fix this longstanding bug where there are dangling user 
processes after the desktop session exists:

   https://bugs.kde.org/show_bug.cgi?id=359651

This is reproducible every time on multiple distributions and KDE 
versions. It also causes subsequent logins to fail or behave 
surprisingly due to the presence of extraneous dbus services, pulseaudio 
clients, etc.

I looked into plasma-workspace/startkde, and there's no hint of it 
starting "systemd --user" directly. There's this cli tool called 
"kde-systemd-start-condition" (which appears to be unused), and a few 
other mentions of logind and systemd, but nothing really relevant.

Am I looking in the wrong place?

-- 
_ // Bernie Innocenti
\X/  https://codewiz.org/


More information about the Plasma-devel mailing list