I was wandering if it is possible to access the DBUS session bus from within an upstart script.
The background is this:
I am running an upstart task in user mode and replaced the Upstart.conf
dbus configuration file with the one from the upstart bzr repository.
Now it would like to access the gnome keyring within that tasks script using gkeyring, which needs to access the users upstart session bus. By default, I just get the Gnome keyring not available
.
When I try to export DBUS_SESSION_BUS_ADDRESS=...
within the upstart script, the script/initctl
command just hangs, no output anywhere.
This leads me to believe that since upstart uses DBUS as well, using the session bus is problematic. Does someone have an idea to resolve this?
Best Answer
this might work for you ?...
hope it helps ?