Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 0 down vote accepted

You have to set the DISPLAY variable, first. Most likely, your X server runs on display 0, so this one should work:

$ export DISPLAY=:0.0
$ kstart plasma-desktop
share|improve this answer
    
Hm, I tried this, but it tells me: "kstart: cannot connect to X server :0.0" –  K B Jan 12 '12 at 11:09
    
Is X server running on any display? If not, run one. –  choroba Jan 12 '12 at 13:18
    
@KB you can start one with $ X :0 –  artistoex Jan 12 '12 at 19:04

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.