I use ubuntu 11.10. I recently installed gnome shell. The problem I'm facing is that i'm not able to restart or shutdown from ubuntu. I clicked on restart or shutdown button and nothing happens. Just nothing.

I even try to login from my unity shell and still the problem persists. Even more funny, when I boot into linux, and seeing the login screen, Still even after clicking on shutdown, I won't happen.

What mistake have I performed?

But I'm able to perform reboot with the command "sudo reboot".

Any assistance please.

Thanks in advance.

  • Have you same problem in unity too?
    – Tachyons
    Feb 24, 2012 at 16:14

4 Answers 4


I found that someone had logged in to the guest account. Unity won't shut down when someone else is logged and it doesn't give you any indication that someone else is logged in. Logging the other user out solved my problem.

  • I just figured that out myself. It is very annoying.
    – peck
    Apr 11, 2012 at 3:52

Such post showed up here few times. It might be a bug. Simple workaround is to create an activator running reboot or shutdown script.


I agree with Misery on this one. Create a file in the directory (Create it if it doesn't exist.) /home/(your-username-here)/bin called power.sh

Insert the following code into the file:

# Program to manage the computer for shutdown/reboot.
# Created by Dominic Rodriguez (shymega).
# Declare Variables:
if [ "$1" = "$shutdown" ];
echo "Shutting down computer."
sudo shutdown -h now
elif [ "$1" = "$reboot" ];
echo "Rebooting Computer."
sudo shutdown -r now
echo "No Arguments were specified."
echo "Usage: power.sh shutdown/reboot"
echo "Thank you for using power.sh"

After inserting that code, right click on the file, and select Permissions. You should find a option saying 'Make this file executable.'. Tick that option. Then close the window.

Now whenever you want to shutdown, open the terminal and type 'power.sh shutdown or reboot.' (Without the quotation marks)

Good Luck!

-- sm


I used to have the same problem. Try running this on a terminal:

sudo poweroff

If you do that each time the issue occurs, it should start working.

Also see if there is a .Xauthority file in your home folder owned by root. If there is, log in a text console (Alt+Ctrl+F1) at the login screen, and then run

sudo rm ~/.Xauthority

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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