Bug 385829

Summary: On logout, kill all processes that were spawned during the session
Product: [Plasma] plasmashell Reporter: Aleksey Kontsevich <akontsevich>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dario, kde, nate, plasma-bugs
Priority: NOR    
Version: 5.11.0   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Aleksey Kontsevich 2017-10-16 20:42:58 UTC
Sound disappears on logout/relogin. Problem is in pulseaudio process which remains from previous login session. Killing it solves the problem - new instance start automatically then and sound plays again.
Comment 1 David Edmundson 2017-10-16 21:46:07 UTC
Then that's not a plasmashell problem.

Whether SDDM should clear up stray processes, is up for debate (on the SDDM tracker), but there's some complexities there.
Comment 2 Aleksey Kontsevich 2017-10-16 22:08:58 UTC
Referenced on SDDM tracker: https://github.com/sddm/sddm/issues/914
Comment 3 Aleksey Kontsevich 2018-01-20 12:53:34 UTC
Please di(In reply to David Edmundson from comment #1)
> Then that's not a plasmashell problem.
> 
> Whether SDDM should clear up stray processes, is up for debate (on the SDDM
> tracker), but there's some complexities there.

Please discuss this with SDDM developers directly here: https://github.com/sddm/sddm/issues/914#issuecomment-359153535 - they said it is a plasmashell problem:

>This doesn't happen with Liri for example, there the session manager launches 
>autostart programs (including /etc/xdg/autostart/pulseaudio.desktop) and 
>SIGTERM and SIGKILL if needed are sent to the process upon logout.

>@davidedmundson Plasma should just keep track of the processes it starts and 
>kills them on logout. Is it possible?
Comment 4 Nate Graham 2020-10-25 16:45:57 UTC

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