GNOME Bugzilla – Bug 643551
dialog does not go away at session end
Last modified: 2011-03-01 15:45:15 UTC
Created attachment 182155 [details] [review] patch We run polkit-gnome-authentication-agent-1 in the gdm login session. When the user logs in, that is the sole gdm process lingering. The reason is that the agent does not register as a session client, and does not open a connection to the session bus. So it doesn't get killed by gnome-session and does not go away when the session bus dies. And we don't restart the X server between the login session and the user session. Here is a patch that makes the agent connect to the session bus, which is enough to get it killed at the right time.
Comment on attachment 182155 [details] [review] patch Hmm, I agree this is a problem, but - we probably shouldn't run the agent in the gdm session at all - gnome-session should probably take care of killing processes when the session terminates (systemd?) - could be gdm should stay around to do other things - it probably should play the role of system compositor Either way, please commit the patch. Btw, I'm planning to do a release this week...
Thanks, committed.