Connecting dbus to web app - Access environmental vars from browser
Curtis Maloney
cmaloney at cardgate.net
Wed Jun 3 16:38:50 PDT 2009
pete-c wrote:
> Ok, I've sorted it out now - earlier I had just set $DISPLAY with putenv(),
> but when I set $DBUS_SESSION_BUS_ADDRESS instead, it works! :D
I wouldn't go relying on DISPLAY -- in fact, you don't need it at all (well,
I haven't got it).
AIUI, it would only be used to query your X session for the dbus session
address... I don't know about you, but I don't run X on my servers.
The _only_ env var I've needed to set to use session buses is
DBUS_SESSION_BUS_ADDRESS.
--
Curtis Maloney
cmaloney at cardgate.net
More information about the dbus
mailing list