We use a hack in Ubuntu to stop the D-Bus daemon when the greeter quits [1] which probably cleans up most hangers-on. Logind is supposed to do a better job of this, but I'm not sure if we should be calling Terminate() in logind to force the session to clean up (GDM doesn't appear to do this).
We use a hack in Ubuntu to stop the D-Bus daemon when the greeter quits [1] which probably cleans up most hangers-on. Logind is supposed to do a better job of this, but I'm not sure if we should be calling Terminate() in logind to force the session to clean up (GDM doesn't appear to do this).
[1] http:// bazaar. launchpad. net/~lightdm- team/lightdm/ trunk/view/ head:/debian/ lightdm- greeter- session