dbus failure to connect to the session bus

Michael 'Mickey' Lauer mickey at openmoko.org
Mon Apr 7 13:15:58 CEST 2008

On Monday 07 April 2008 10:15:00 Chia-I Wu wrote:
> 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...)
> Don't know if there is a better way.

Most distributions configure dbus to get the addresses through X properties. 
In OE, we disable this, since we don't want dbus to link against libX11. For 
OM we might want to change that.


More information about the openmoko-devel mailing list