Leaking autolaunched busses

Havoc Pennington hp at redhat.com
Sat Dec 16 16:12:47 PST 2006

John (J5) Palmieri wrote:
> The autolaunch code is pretty useful for when you log into another user
> in a terminal and run an app that requires D-Bus.  Unfortunately all of
> these busses are tied to the X session so if you log in as 100 users you
> get 100 busses and logging out of that user does not close them.
> Autolaunched busses should be smart enough to close themselves on a
> timeout if there are no apps attached to it (apps like gnome-vfs should
> be smart enough to know no one is talking to it and exit after a timeout
> so they don't block the bus).  It is not a huge issue but we should fix
> it at least in the development version.

I'm not sure I understand what's happening - the autolaunched bus should 
be an X client. If it gets disconnected, then it should exit.

Are you saying that if user A logs out, their X clients can remain 
connected? What am I missing?


More information about the dbus mailing list