LightDM does not kill child processes on logout

Bug #1503114 reported by Alex Ozer
6
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-daemon.

Tags: cleanup logout
Revision history for this message
Robert Ancell (robert-ancell) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.