dbus failure to connect to the session bus

Chia-I Wu olv at openmoko.org
Mon Apr 7 10:15:00 CEST 2008


On Mon, Apr 07, 2008 at 12:40:10AM -0700, Shawn Rutledge wrote:
> so I don't understand why the same user (root) would not be able to
> connect to the same daemon from a different shell.
You need to know the address of the session bus to connect, which is
available in the DBUS_SESSION_BUS_ADDRESS environment variable.

This is what I do:

$ cat /proc/<pid of openmoko-today>/environ
(extract DBUS_SESSION_BUS_ADDRESS and...)
$ export DBUS_SESSION_BUS_ADDRESS=blah

Don't know if there is a better way.

-- 
Regards,
olv



More information about the openmoko-devel mailing list