using dbus-run-session....w/X server. how to get DBUS vars?

L A Walsh dbus at tlinx.org
Sat Nov 24 15:15:06 UTC 2018


when dbus-run-session runs a prog, it makes the session bus available to 
the
program, but the rest of the vars are deleted:

       The variables DBUS_SESSION_BUS_PID, DBUS_SESSION_BUS_WINDOWID,
       DBUS_STARTER_BUS_TYPE and DBUS_STARTER_ADDRESS are removed from the
       environment, if present.

So If I want to use starting my xserver as the start of my
session, how can I propagate those vars to other processes
using that desktop?




More information about the dbus mailing list