Bug 439775

Summary: User not completely logged out in multi-user environment
Product: [Plasma] plasmashell Reporter: Axel Braun <axel.braun>
Component: generalAssignee: Axel Braun <axel.braun>
Status: RESOLVED FIXED    
Severity: normal CC: kde, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.22.3   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: process list

Description Axel Braun 2021-07-12 07:59:27 UTC
I have various users configured on my laptop.
I log in as User A, and log out after some time
Afterwards I log in as user B, and want to hibernate the machine.
The system asks for the root password, as 'another user is logged into the system'

no, the user A is not logged in anymore. 
Obviously there is some process in the background that still refers to user A.

Expected result: Once user is logged out, all remaining processes for this user should be stopped

Operating System: openSUSE Tumbleweed 20210702
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Comment 1 David Edmundson 2021-07-12 09:18:32 UTC
Please include output of "ps aux"
Comment 2 Axel Braun 2021-07-12 10:07:18 UTC
Created attachment 140010 [details]
process list

logged-off user: docb
currently logged-in user: gast
Comment 3 Axel Braun 2021-07-19 08:39:11 UTC
The parameter that drives the behaviour:

/etc/systemd/logind.conf

[Login]
KillUserProcesses=yes

-> so not KDE related
Closing, sorry for the noise