LightDM does not kill child processes on logout
Bug #1503114 reported by
Alex Ozer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
New
|
Undecided
|
Unassigned |
Bug Description
In my ~/.profile script, I spawn several scripts like this:
script1&
script2&
These scripts don't terminate on their own, and thus must be terminated when lightdm logs out. Unfortunately, these backgrounded processes continue to run even when lightdm is terminated, and are thus duplicated on each login. The same occurs can occur for other processes, such as redshift and gnome-keyring-
To post a comment you must log in.
Unfortunately there's no easy way for LightDM to kill child processes - it can only kill the main session process. logind provides some functionality for this, but it's not clear the best way to link this up.