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 am using Ubuntu 11.10 and I am unable to shutdown via shutdown option. If I issue a shutdown the system goes back to the login prompt. I can shutdown the system only via terminal using sudo shutdown -h now. Let me know how to resolve this issue.

share|improve this question
First use sudo shutdown -P now instead of -h. Next try sudo shutdown -P now and again turn the computer ON. Now, try shutting it down using the GUI. – green Apr 9 '13 at 11:17
no it wont works out @green7 – blue Apr 10 '13 at 4:45
@green7- itried with that command. but it doesn't works out – blue Apr 16 '13 at 9:27
I'm looking into it. Will get back with some solution. :) – green Apr 16 '13 at 9:37
Do you have rabbitmq installed? Also please attach your ~/.xsession-errors file. – green Apr 16 '13 at 10:25
up vote 0 down vote accepted

The problem might be due to rabbitmq being installed on your machine.

See this bug report:

Remove rabbitmq using:

sudo apt-get purge rabbitmq-server
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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