I will try the Alt-SysRq-K option and/or the Ctrl-Alt-SysRq-B combos next
time but...
I am not certain that even this will do anything since when Terminus goes
down, it appears that keyboard and mouse input are no longer accepted - a
really major X crash. I am not even able to do a Ctrl-Alt-F2, etc, to get to
a new login and try to fix things from there, which has been a method I am
able to use often with non-game-related crashes.
In this extreme case, the system itself is still functional, however, since I
am able to ssh into it and get a list of runnning processes with top. At
this point, I have run "killall terminus" but the system response is "no such
process" so it appears that terminus goes down and takes X with it without
leaving any trace of itself running - thus I rather doubt the Alt-SysRq-K
option would do much if the system does accept that key combo (this sort of
lockup has made me question the whole utility of enabling the SysReq keycombo
when compiling a kernel - so far, every time my system has bitten it due to a
game, keyboard input of any kind has been impossible, including any SysRq
input).
What I really wish I could do is send a command that does an X restart like
the KDM button for shutdown allows - reboot or restart X. There must be a
way to do this from an ssh/telnet connection? What is the actual command
sent to the system when one selects "Restart X"? Perhaps I can try just
killing all things KDE, thus ending my particular X session and, maybe, get
bumped back to KDM(?) Is there a simple command that would kill kde or do I
need to kill every little process spawned by starting kde one-by-one?
On Monday 02 July 2001 06:27 am, Andre LABBE wrote:
> HI
>
> If you run some software which you know will hang X, One thing work
> really well for me is to enable the telnet server. In case of problem I
> connect through telnet and I can kill the proccess or restart X.
> Now for the DIY people there is an Hw/Sw solution. THis solution date
> back from OS/2 when it was first out (developers used it, I got it from
> them). We use The serial port, in normal use all connectors are open.
> Now if the console hung, with a switch you close 4-5 or 6-8. For the
> software we need to run a little script every x minutes. This script
> will check the RS232 Level and in case off level change you can run what
> ever you like, restart X or else.
> Now If the PC is hung (ex ping doesn't reply) there is nothing to do but
> the reset button.
>
> I hope that will help someone
>
> Andre