dbus failure to connect to the session bus

Shawn Rutledge shawn.t.rutledge at gmail.com
Mon Apr 7 19:47:24 CEST 2008


On Mon, Apr 7, 2008 at 1:15 AM, Chia-I Wu <olv at openmoko.org> 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...)
>  $ export DBUS_SESSION_BUS_ADDRESS=blah

Thanks, I will try that.



More information about the openmoko-devel mailing list