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 have noticed that some of my machines do not switch off (since the upgrade to Precise) when I choose "Shutdown..." from the menu in the upper right corner of Unity. If the system is powered down or not is a kind of random. However, whenever I use the Terminal to sudo shutdown -h now it will switch off the machine reliably. After having read this answer, I wonder what command Unity issues to initiate the shutdown (and power off) of the system?

share|improve this question

Ubuntu's session indicator relies on dbus calls, for example the equivalent command in terminal would be this:

qdbus com.canonical.Unity /com/canonical/Unity/Session com.canonical.Unity.Session.Shutdown

As for whether or not some of the machines don't shutdown, I would assume either a bug or dbus calls are being blocked by something

share|improve this answer

Your Answer

 
discard

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.