On 06/15/2010 11:20 AM, Josselin Mouette wrote:
No, dbus-launch will pass the environment to the session. From
dbus-launch(1):

        With  no  arguments, dbus-launch will launch a session bus instance and
        print the address and pid of that instance to standard output.

        You may specify a program to be run; in  this  case,  dbus-launch  will
        launch  a  session  bus instance, set the appropriate environment vari‐
        ables so the specified program can find the bus, and then  execute  the
        specified  program,  with the specified arguments.

Okay, I was confused about the Xsession.d scripts. I thought x-session-manager would run them (as gnome-session seems to), but I guess it is the other way around -- they are meant to run x-session-manager. If I run /etc/X11/Xsession instead of x-session-manager, then dbus-launch starts before x-session-manager (instead of after) and passes the environment variables to it.

-- John



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to