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 would like to know the procedure of the GUI shutdown from the cog. This is because I have one 11.10 that will shutdown from the cog and shutdown button but, I have another that if I use the cog and the shutdown button I only loose the side menu. The background stays and the computer will not shut off. I want to learn how the GUI process for shutdown works so I can learn and compare the two. I have googled for two days with no success.

share|improve this question

The command that should be run when it's clicked seems to be: qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout 0 2 2

See if that works on its own? If not, something's likely wrong with your dbus.

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.