dbus failure to connect to the session bus
shawn.t.rutledge at gmail.com
Tue Apr 8 06:19:08 CEST 2008
On Mon, Apr 7, 2008 at 1:15 AM, Chia-I Wu <olv at openmoko.org> wrote:
> 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.
proctology eh? :-) But I don't want to depend on openmoko-today to
be running, either.
I modified cat /etc/X11/Xsession for now:
echo "$DBUS_SESSION_BUS_ADDRESS" > /tmp/dbus-session
IMO there must be some way to discover this DBUS address.
More information about the openmoko-devel