User bus?

Patryk Zawadzki patrys at
Fri Feb 15 17:38:04 PST 2008

On Feb 16, 2008 2:28 AM, Brian J. Tarricone <bjt23 at> wrote:
> Patryk Zawadzki wrote:
> > Would it make sense to have a per-user bus aside from the session bus?
> The session bus *is* per-user.  Well, assuming the user is only logged
> in once, which is probably a safe assumption, no?  The desktop
> environment/X init script/whatever is responsible for starting it when X
> is started.

Actually it's per session and in case your session dies (should not
happen but does) or in case where one client goes frenzy and does not
exit you end up with 10 or so dbus instances. Having it started by
ConsoleKit would remove the burden of having to start it in Xinit and
would allow CK to notify dbus when the number of client sessions
changes (so it only dies if there are no connected clients and no
active sessions). This would allow new scenarios like logging in
remotely using ssh and checking the printing queue that was started
before leaving or using remote graphical login to fiddle with some
other user service that was already started.

Patryk Zawadzki
PLD Linux Distribution

More information about the xdg mailing list