environment of activated services

Colin Walters walters at verbum.org
Thu May 8 07:09:56 PDT 2008


On Thu, May 8, 2008 at 9:56 AM, Matthias Clasen
<matthias.clasen at gmail.com> wrote:
>
> Some cube discussion made it clear that I am a bit confused here.
> At least for SESSION_MANAGER, the problem here is that the session bus
> is not actually running inside the session, so the daemon doesn't have
> that variable in its environment either. Whats really needed here is
> some way to selectively pull some parts of the callers environment
> into the environment of the activated service.

I think it might be easier to have gnome-session, immediately after
being launched, inject the crucial environment variables into the
session bus.  Say org.freedesktop.DBus.SetEnvironment(a{ss})


More information about the dbus mailing list