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.

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.

share|improve this question
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
add comment

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.

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.