The solution I have implemented in lp:~robert-ancell/indicator- session/lp-861171 resolves this issue by changing the session indicator to disallow shutdown or restart if more than one session is open.
This resolves the greeter issue: old: Shutdown/restart silently failed. new: Information dialog appears "You need to close all sessions before restarting" This changes the session behaviour: old, non-administrator user: PolicyKit dialog appears prompting for administrator password, on authentication system is shutdown immediately, otherwise sessions is logged out. old, administrator user: Shutdown/restart occurs immediately without any warning new: Dialog appears saying "You need to close all sessions before restarting" and gives option to log out instead. This doesn't resolve the following issues: - Pressing the power button in the greeter doesn't show a dialog - Pressing the power button in the session doesn't warn about other sessions being open (this dialog is from gnome-session). The behaviour is the same as in the old, non-administrator user case above. - This means using the mouse you cannot do a system administrator override shutdown when multiple sessions are open. I don't see this as being a major problem as system administrators have other non-GUI methods of accessing this, you can still do this by pressing the power button (see above) or holding by power cycling. I think this change is a marked improvement on what we have, and we can continue to track improvements in other bugs. Given this I will close out the other bug tasks not related to this solution. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861171 Title: Shutdown from greeter does nothing when multiple accounts open To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-session/+bug/861171/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
