DBUS outside of the traditional desktop; user bus; RFC

Daniel Reed djr at redhat.com
Mon Jan 31 15:47:46 PST 2005


On 2005-01-31T18:33-0500, Havoc Pennington wrote:
) I think it's important to note that we can only realistically do a
) (user,machine) tuple bus, not strictly speaking a user bus.

And for much the same reason we can only actually do a (session,machine) bus 
for the session bus, despite any non-machine-isolated definitions of a 
session!

Since org.freedesktop.DBus.User can store DBUS bus addresses in free form, 
any support to forward session busses can also be used to forward the user 
bus.

So, for example, if you can forward access to a bus through SSH, and can 
address it in a DBUS-accepted form (perhaps as tcp:127.0.0.1:1234), you can 
use the forward address as your user bus address when you log in and, if it 
makes sense (if access to the forwarded bus will survive your login shell 
exitting) store it using org.freedesktop.DBus.User for processes that might 
be run outside of your login shell.

-- 
Daniel Reed <n at ml.org>	http://people.redhat.com/djr/	Desktop CMC


More information about the dbus mailing list