Linux: Frozen game with input focus == reboot?

jitspoe

Senior member
Mar 20, 2002
287
0
0
Ok, this is getting really old. I'm trying to debug a 3D game based off of Quake2. The problem is, all the input is going to the game -- mouse, keyboard, everything. When the game crashes, and gdb waits for me to do something, I can't. I can't alt-tab, I can't click on another window, I cant ctrl-alt-f1, nothing. The computer isn't locked up, but my input is. So far, the only thing that I've found that responds is the power button, which initiates a proper shutdown, but it sucks having to reboot every time this happens, not to mention, it makes it very difficult to debug. There has to be a way around this.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
One option would be to run the game via screen and when it dies ssh in from another machine and run 'screen -dr' to attach to that screen session.
 

jitspoe

Senior member
Mar 20, 2002
287
0
0
For some reason when I try to ssh to it, I get this:
Server responded "No further authentication methods available.".

This seems like kind of a bass ackwards approach. What if I don't have it hooked to the network or another computer available to ssh to it?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I'm not saying it's the best approach but as I have no idea how X I/O works it's the best I can come up with. =)
 

jitspoe

Senior member
Mar 20, 2002
287
0
0
Well, thanks for the input. If I could get SSH working, it would suffice. I wish developing on linux didn't always end up being such a miserable experience. I always end up loathing every moment of it.
 

sourceninja

Diamond Member
Mar 8, 2005
8,805
65
91
Just checking because you didn't say it explicitly. Did you try ctrl-alt-backspace?
 

jitspoe

Senior member
Mar 20, 2002
287
0
0
sourceninja: ctrl-alt-backspace doesn't work, either.
n0cmonkey: I'll get back to you on that -- don't have the machine on at the moment.