Bug 385829 - On logout, kill all processes that were spawned during the session
Summary: On logout, kill all processes that were spawned during the session
Status: RESOLVED DUPLICATE of bug 422322
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.11.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-16 20:42 UTC by Aleksey Kontsevich
Modified: 2020-10-25 16:46 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***