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

Possible Duplicate:
I can’t shut down nor reboot without console

Title says all. When I choose shut down or hibernate if my computer has been on a while, it just goes to the log-in screen. If I choose the shut down option there, it does nothing.

It only happens if I leave it on for a while. I do not have auto login enabled. I am running 11.10 ( with all the latest updates). I can shut down using the terminal.

share|improve this question

marked as duplicate by con-f-use, Eric Carvalho, gertvdijk, Eliah Kagan, qbi Feb 3 '13 at 10:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Welcome to Ask Ubuntu! We need more hardware information to help you, can you look at this question and then edit your question adding the information? – Jorge Castro Jan 15 '12 at 18:11

Used to have the same problem, run this on a terminal:

sudo poweroff

The problem get fixed by itself after several times i had to do that.

Also check if theres a .Xauthority file in your home folder owned by root.
Log in a text console (Alt+Ctrl+F1) at the login screen, and then run

sudo rm ~/.Xauthority

Hope it helps. (:

share|improve this answer
Thanks! I will see if this works. Also, is it safe to do the terminal command even if you do not see that file, and do you mean do the sudo power off command when I have the problem, or run it several times in a row. – Rocket101 Jan 8 '12 at 23:17
1. Yes it is Safe, if the file doesn't exists, it will show you a message like "the file doesn't exist" or something like that. 2. I mean do the sudo poweroff command when you have the problem only once (It will be enough) – iLQ Jan 10 '12 at 2:18
it didn't work for me, the file exists, but removing it didn't change anything. – TheBronx Oct 7 '15 at 19:07

This is a known problem. Here is the associated bug report:

share|improve this answer

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