Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

2 Answers

up vote 2 down vote accepted

This worked for me:

sudo apt-get install systemd-shim

and then restart

share|improve this answer
add comment

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
add comment

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.