Unbale to shutdown or restart in KDE


every 1-2 week the issue occurs on my workstation when I’m unable to Shutdown or Restart. I click Start Menu -> Leave -> Shutdown - and nothing happens. I mean, menu closes as a confirm that the click happened, but confirmation to shutdown does not pop up and the shutdown process does not initiate. The same if I click shutdown icon in the taskbar.

Sleep and Switch user are working.

Here is the picture showing what icons exactly I’m clicking:


The only workaround yet is to log in into Terminal as root and execute command reboot.

My questions are:

  1. what could cause this issue?
  2. what are possible ways to investigate it?
  3. what could be a workaround to restart the machine without root privileges?

Thank you

openSUSE 11.3
Workstation AMD chipset based, onboard ATI graphics

Have you checked the System setings? There is an option in KDE4.6 to manage this and AFAIK there was something in the earlier versions.

All settings are default and I did not change anything
The freshly booted system has no problems with shutdown. The issue seems to appear after I suspend to RAM few times

Hello, this happens to me after every KDE update. After the updates are applied i run sudo /sbin/reboot/ to restart the PC. After this manual reboot if i use the options from the kde menu it reboots/shuts down as normal.

Could anybody provide me a way to restart computer without root permissions?

found this pretty nice tool: https://gist.github.com/988104


# Suspend, hibernate, restart or shutdown the computer without sudo!
# by Chris Wong
# Released to the public domain.


usage() {
    echo "Usage: $NAME suspend|hibernate|restart|shutdown"
    exit 42 # :D

if  $# -ne 1 ] ; then
THINGY_UPOWER="dbus-send --system --print-reply --dest=org.freedesktop.UPower /org/freedesktop/UPower"
    THINGY_CONSOLEKIT="dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager"
    case $1 in
            $THINGY_UPOWER org.freedesktop.UPower.Suspend
            $THINGY_UPOWER org.freedesktop.UPower.Hibernate
            $THINGY_CONSOLEKIT org.freedesktop.ConsoleKit.Manager.Restart
            $THINGY_CONSOLEKIT org.freedesktop.ConsoleKit.Manager.Stop

ok, i downloaded this tool (github), what should i do with it now?

You should save this text file as, for example, kderestart.sh. Then make it executable, for example chmod 777 kderestart.sh. And now run it from command line, for example ./kderestart.sh restart. This will restart the computer

On 2011-09-29 20:16, tosiara wrote:
> Could anybody provide me a way to restart computer without root
> permissions?

Try log-out of the session first.

If that fails too, then press ctrl-alt-backspace, twice. This will kill the
graphic session and return you to the login screen. There there is a button
to restart or shutdown.

Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

as I have written in the first post - Log off does not work, only Sleep and Switch user works.
But you are right, as a workaround I can use CTRL+ALT+BACKSPACE twise, CTRL+ALT+F1 and then CTRL+ALT+DEL, ALT+SysRq+R+E+I+S+U+B
I was looking for a KDE command that would allow me to restart the system gracefully and I found it

Also would like to inform everybody that after upgrading to 11.4 the initial issue does not occur anymore