The original plan a couple of years ago to fix this properly was to have a new shutdown API in Consolekit which the sessions of all logged in users could interact with to ensure a clean shutdown for all users, and allow other sessions to inhibit shutdown if the user had unsaved work or etc (and also provide a way for system jobs such as software updates to inhibit shutdown). This never materialized though, and I guess that there is little motivation for fixing this in consolekit / gnome-session now with all these being eventually replaced by systemd.
Some background info: http://mail.gnome.org/archives/gdm-list/2009-June/msg00007.html https://bugs.freedesktop.org/show_bug.cgi?id=24493 ** Bug watch added: freedesktop.org Bugzilla #24493 http://bugs.freedesktop.org/show_bug.cgi?id=24493 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-session in Ubuntu. https://bugs.launchpad.net/bugs/855556 Title: "Restart" and "Shut Down" don't work if anyone else is logged in To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/855556/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs