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

For the past month or so I've been unable to shut down or reboot my PC from GNOME-shell. I am running 3.8 from the staging PPA which is otherwise working beautifully. When I attempt to shut down or reboot it gets as far as stripping the themes from applications and then goes no further. In order to shut down I have to open a terminal emulator and sudo shutdown -h now.

Running gnome-session-quit --power-off does not yield any terminal output.

share|improve this question
Try running gnome-session-logout in a terminal, and see what the output is. I'm not sure if that's the right command, but it'll autocomplete with gnome-session-<tab>[-<tab>]. – strugee Jun 3 '13 at 8:01
up vote 2 down vote accepted

This worked for me:

sudo apt-get install systemd-shim

and then restart

share|improve this answer

Until someone comes up with a proper fix, you could create an icon on your Desktop which would run your command without having to open terminal first.

Step 1

Using ALT+F2 type

gnome-desktop-item-edit --create-new ~/Desktop

This will launch the old GUI Dialog and create a launcher on your Desktop:

enter image description here

Step 2

fill in the details with your command line of sudo shutdown -h now and you are ready to shut down with a single(or double) click of your mouse.

Hope this helps

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.