Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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 killed KDE's plasma-desktop on a openSUSE 11.2 machine, because it was eating too much CPU. How can I restart it via SSH or another tty session? On the affected computer there is only shown a blinking cursor on the screen, but I cannot type anything.

If I try "kstart plasma-desktop" over SSH the error message of course is "kstart: cannot connect to X server", because I haven't enabled X11-forwarding. But nevertheless "kstart plasma-desktop" is not the completely correct, because I want to start plasma-desktop on a desktop session and not over SSH on my computer.

I hope I have been somewhat clear. I am looking forward to your help!

share|improve this question

migrated from serverfault.com Jan 12 '12 at 11:46

This question came from our site for system and network administrators.

On the machine (not ssh) do alt-F2 then kstart plasma-desktop – Ali Jan 12 '12 at 16:09

If you see a blinking cursor that means you're on the wrong vty or the X server isn't running at all. Killing plasma-desktop probably took it down with it. plasma-desktop obviously needs an X server to connect to, so try restarting your X server. One of these should work:

  • /etc/init.d/kdm restart
  • /etc/init.d/xdm restart
  • /etc/init.d/?dm restart
  • startkde (If you're not using a login manager)
share|improve this answer
"/etc/init.d/xdm restart" worked, but "startkde" gave an error message. – K B Jan 12 '12 at 11:37

Also you can do it without restarting whole X. Just export DISPLAY variable before your command to tell where is your X server and display:

export DISPLAY=:0

or what is your DISPLAY and then run your command. Or even just put variable before command:

DISPLAY=:0 kstart plasma-desktop

should work.

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.