[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: Connecting dbus to web app - Access environmental vars
From:       Curtis Maloney <cmaloney () cardgate ! net>
Date:       2009-06-03 23:38:50
Message-ID: 4A27098A.9000601 () cardgate ! net
[Download RAW message or body]

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@cardgate.net

_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic