• Advertisement

Archived

This topic is now archived and is closed to further replies.

Ooops!

This topic is 5775 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m not perfect, so maybe every once in a while I freeze my computer. In Windows, all it''d take was a CTRL+ALT+DEL and I could kill my runaway game. But in Linux, I don''t know how! I try CTRL+ALT+ESC, CTRL+ALT+BACKSPACE, and CTRL+ALT+DEL and nothing seems to work. It''s stuck. Do I have to reboot Linux every time my game crashes or freezes? What can I do?

Share this post


Link to post
Share on other sites
Advertisement
Ctrl+Alt+Backspace will kill X (unless X is overloaded, i.e. it can''t get input, which does happen). Ctrl+Alt+1 will bring you to the first terminal from X, where you can type something like this:

ps -A | grep the name of your program
kill -9 the number next to the name of your program from the previous command

Or you can automate that like this:

`ps -A | grep the name of your program | awk ''{print "kill -9 "$1}''`



Share this post


Link to post
Share on other sites
Oh, another thing, if you have another computer on a network with yours: even if X does get overloaded, you can login to your system with ssh and kill it. Then you just restart X, and everything''s fine. I''ve had to do this once or twice, it works very well.

Share this post


Link to post
Share on other sites
ah, ok!

But once I get to the terminal and kill that sucker, how do I get back into X?

Share this post


Link to post
Share on other sites
quote:
Original post by BradDaBug
But once I get to the terminal and kill that sucker, how do I get back into X?

For me it is Alt+F7 (the Ctrl is only needed in X). Your setup might put X elsewhere (it''ll be Alt+F? though).

Share this post


Link to post
Share on other sites

  • Advertisement