Re: DBUS Startup Question



On Thu, 05 Oct 2006 11:23:18 -0400, Joseph E. Sacco, Ph.D. wrote:

> In order for an app to use the session DBUS, it must be able to find the
> dbus session socket. The dbus-launch command sets two environment
> variables:
> 
>         * DBUS_SESSION_BUS_ADDRESS
>         * DBUS_SESSION_BUS_PID
> 
> These env variables must be set in all shells.
> 
> 
> -Joseph

Ah!
after eval `dbus-launch --exit-with-session`

bash-3.1$ set |grep ^D
DBUS_LAUNCH='/opt/gnome/2.16.1/bin/dbus-launch --exit-with-session'
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-noA7livpDS,guid=99012545bd80d2b86877310386fbf600

these are the only dbus variables set. That explains the problem.

I just checked on a non-slack distro, and it's the same. Thanks for the
follow up!

-- 
Peter




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]