How do I enable ctrl-alt-backspace using console? I have problems with X.org and often server gets stuck with black screen. I'm trying to solve this issue, but I can't find a way to kill X. ctrl-alt-F(n) does not switch to a terminal.

link|improve this question

73% accept rate
2  
Ctrl+Alt+Backspace is deprecated, use Alt+Print+K instead. You could also try kilall X. – Bobby Jul 4 '10 at 18:19
I'll try with Alt+Print+K. Unfortunately, my problem is that I don't have terminal access when I start X so I can't use kilall X . – AndrejaKo Jul 4 '10 at 18:33
@Bobby It's working. Post this as an answer, so I can tick it. – AndrejaKo Jul 4 '10 at 18:51
feedback

1 Answer

up vote 1 down vote accepted

Ctrl+Alt+Backspace is deprecated, use the Magic SysRq Key for restarting X instead, which is Alt+Print+K.

Alternately, if you can switch to the tty consoles, you could try to use sudo killall X for killing off X.

Sidenote: Be aware that the killall command kills all processes with the given name only under Linux. Under BSD f.e., it will kill all processes...which is a rather bad thing to do.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.