Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

On Ubuntu 10.04, at least, using gdm and gnome 2, if one would try to shutdown/restart the computer from the GUI, and if, at this time, another session is running on the same computer (SSH, tty), she was given a dialog telling why her computer won't restart/shutdown, showing a list of other connected users and asking for an admin password to force this action.

On Ubuntu 12.04 (lightdm, unity), one can't shutdown its computer in the same manner but there is nothing to tell her why. This is confusing.

So, is there a way to show a similar dialog within unity and/or lightdm ?

Just found a opened bug for this : https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/861171

share|improve this question
Until there is a solution you may consider to switch back to GDM: askubuntu.com/questions/97961/…. – Takkat Sep 19 '12 at 11:34
Yes. I'll try that. – Christophe Drevet Sep 19 '12 at 15:47
Since this is a bug, this is off-topic for Ask Ubuntu site – Anwar Sep 19 '12 at 17:31
I know this is a bug. I'm looking for a workaround, though. As suggested by Takkat, I'll try to use GDM. – Christophe Drevet Sep 20 '12 at 8:13
Well, trying GDM does not quite solve this question: it does allow to restart/shutdown computer from the greeter, but without warning that other users are connected. And in a Unity session, it does not restart/shutdown, but put back the greeter. I guess I'll continue to use lightdm for now but will allow users to restart/shutdown their computer even when others use it. Thanks for your comments. – Christophe Drevet Sep 20 '12 at 9:06

closed as off topic by Takkat, Amith KK, Anwar, Mitch, ObsessiveSSOℲ Sep 19 '12 at 19:05

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.