session dbus for root user.
René J.V. Bertin
rjvbertin at gmail.com
Wed Aug 15 09:42:18 UTC 2018
On Wednesday August 15 2018 14:48:31 deepan muthusamy wrote:
>Why echo $DBUS_SESSION_BUS_ADDRESS prints nothing for root user?
>
>How to start session dbus at boot time for root user ?
Why run a full desktop session for the root user? That's not really good practice (understatement), and it seems more and more GUI applications refuse to run as root.
If that's not what you're doing but you have problems connecting to a session dbus when using sudo, try to figure out how to preserve the DBUS_SESSION_BUS_ADDRESS variable through the sudo call, and if that's good enough for your purposes.
More information about the dbus
mailing list