Thanks Matthew, some questions for you: - should something warn you that other users are logged in before doing the restart or shutdown? - should non-admin user be allow to shutdown the machine when other sessions are active? - what should happen if the user who wants to shutdown is not authorized the close other user sessions?
** Changed in: gnome-session (Ubuntu) Status: New => Confirmed ** Changed in: gnome-session (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Desktop Packages, 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 Status in “gnome-session” package in Ubuntu: Confirmed Bug description: gnome-session 3.1.91-0ubuntu2, lightdm 0.9.7-0ubuntu1, indicator- session 0.3.5.1-0ubuntu1, Ubuntu 11.10 beta 1. Start up the computer. 2. At the login screen, choose "Restart", and confirm it. 3. Log in. 4. From the device menu, choose "Restart", and confirm it. 5. Log in again. 6. Switch to a guest session. 7. Switch back to your user account. 8. From the device menu, choose "Restart", and confirm it. 9. From the login screen, choose "Restart", and confirm it. What happens: 2. The computer restarts. 4. The computer restarts. 8. Ubuntu returns to the login screen. 9. Nothing at all. What should happen: 2. The computer restarts. 4. The computer restarts. 8. The computer restarts. 9. The computer restarts. The same problem happens with "Shut Down". At a terminal, "sudo reboot" and "sudo shutdown" work as expected. See also bug 838792, where "Restart" logs out with no-one else logged in (that bug does not occur for me). While testing this bug I also triggered bug 740382. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/855556/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp