D-Bus User Bus

Havoc Pennington hp at pobox.com
Wed May 19 20:31:06 PDT 2010


Hi,

OK, if this is about ssh I think you'd have to step back and document
the expected behavior, and su also, before it even makes sense to
discuss how to implement it.

here is that bug:
https://bugs.freedesktop.org/show_bug.cgi?id=17970
a comment from me:
https://bugs.freedesktop.org/show_bug.cgi?id=17970#c26

I don't understand why forwarding DBUS_SESSION_BUS_ADDRESS is any more
or less OK than forwarding DISPLAY, fwiw. Though, it isn't clear to me
that forwarding either one is what's wanted.

The genesis of dbus, oversimplified, was something like: Bonobo and
gconf and stuff don't work, X does, why? "Copy X!"

So:
DISPLAY -> DBUS_SESSION_BUS_ADDRESS
X selections -> bus names
binary X protocol -> binary dbus protocol
auth via cookies in homedir -> auth via cookies in homedir
session bus lifetime matches X server lifetime
etc,

Unfortunately, the relationship of X to ssh and su is sort of a mess, too.

Havoc


More information about the dbus mailing list