I can't think of terribly elegant ways to check for a running ubuntu gnome-session as root apart of looking at process list; concerning dbus you can read the needed env from something like .dbus/session-bus/$(cat /var/lib/dbus/machine-id)-$DISPLAY[2]
-- GUI does not exit on reboot after install on armel https://bugs.launchpad.net/bugs/357101 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
