Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm not sure whether this is a bug (in which case I'll submit a report) or I'm doing something silly!

My problem is that I cannot restart or shutdown my computer from the LightDM login screen, this problem occurs if I go through the following steps:

  • Log in
  • Lock the screen either through inactivity or selecting "lock screen"
  • At the password entry screen select "Switch User"
  • Click the power symbol at the top right of the LightDM login screen and select "restart" or "shutdown"

When I do this nothing happens, the computer does not restart or shutdown and neither is there any error messages, I would have assumed that if I'm not supposed to be able to select these options then I'd at least get a warning message?

So does anyone know if this is a bug or something dumb I'm doing!?

I filled a bug-report on launchpad for this a while ago:

share|improve this question

closed as off topic by fossfreedom May 22 '12 at 19:13

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. 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 reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

I have the exact same trouble. The impact is only effective after some time of use (logged into unity and used unity). If I ask to shutdown or restart soon after starting the computer it does shutdown or restart. I use unity-2d. If someone has the solution please post it here. Maybe this bug is the start of the trouble : Best regards. – Antoine Rodriguez Feb 22 '12 at 18:58
@AntoineRodriguez Neither of those bug reports sound quite like this problem, IMO. – Christopher Kyle Horton Feb 22 '12 at 19:32
It's a known bug and has been around for a long time. Hopefully this will sometime become addressed. The only workaround that I know of is to log back in then try to shutdown. Unfortunately even that doesn't always work. The only way I have been able to successfully shutdown Ubuntu using a GUI is to install Cairo-dock. Others are suggesting to use a terminal screen and run sudo shutdown -r now or sudo shutdown -h now for reboot or shutdown. You can get to a terminal console by hitting alt-ctl-F1. – L. D. James Jul 26 '15 at 12:47
up vote 2 down vote accepted

If you are already logged into another user account, then try to restart or shut down without logging out of all accounts first, the machine may prevent shutdown from occurring in order to protect the possible loss of those users' data. I agree it should offer a dialog with some explanation, however.

You should try filing a bug that thoroughly describes the current behavior and how to reproduce it, as well as what you might have expected to happen instead. (You can easily do this if you have a Launchpad account by running ubuntu-bug lightdm in the terminal.)

Also, don't forget to edit a link to the bug back into your question so future visitors can locate it easily and mark themselves as affected.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.