<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Mike,<br>
<br>
Mike Bean wrote:
<blockquote
cite="mid:CAKuUP=eyakf7ZFz78ahZSMsMzz8=VR3LtcAD7sZmTTzohtSLiQ@mail.gmail.com"
type="cite"><span class="Apple-style-span"
style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">So,
I've been getting some X hangs lately. I didn't think much of the
first two, but I'm starting to think I need to pay attention. I
suspect it's browser/flash issue, but I don't know how I'll ever prove
that.
<div><br>
</div>
<div>Anyway - I have a couple questions.</div>
<div><br>
</div>
<div>1. Is there a better way to recover from application hang then
just zapping the X server? cntrl-alt-backspace?</div>
<div>I know that if I've got a working terminal window I can
theorhetically kill the offending process, but what if I don't have a
working terminal?</div>
<div>2. I wonder if there's a log somewhere I need to be reading when
these happen so I can avoid setting off the same landmine twice? It's
a system hang, (unresponsive to mouse and keyboard), I suspect X, I
could go to /etc/X11, but I don't see a logs directory; besides,
logically speaking X could be innocent. I see this kind of behavior in
windows, you usually just respond with the 3 finger salute and kill the
"not responding" process in task manager.</div>
<div><br>
</div>
<div>Anyway, guidance/suggestions are appreciated.</div>
<div>My distro is:</div>
<div>
<div>DISTRIB_ID=LinuxMint</div>
<div>DISTRIB_RELEASE=11</div>
<div>DISTRIB_CODENAME=katya</div>
<div>DISTRIB_DESCRIPTION="Linux Mint 11 Katya"</div>
</div>
<div><br>
</div>
<div>thanks and regards,</div>
<div><br>
</div>
<div>Mike Bean</div>
</span></blockquote>
Are you sure your video card/GPU and PC hardware are all solid?<br>
<br>
When your box stops responding on the tty running the X server, do the
NumLock and other keyboard lights still work? Can you ping & ssh
into the box? If you can ssh in (or use a serial console, if you're
old school and have one set up) can you use the chvt command to change
virtual consoles? chvt # at any shell command prompt does the same
system call as if you could press CTRL-ALT-F# on the keyboard. Also
obviously as others have stated you could kill X when logged in via ssh
or another terminal.<br>
<br>
If you want to debug it you could try starting X with authentication
off, or else before it crashes type "xhost +" then you can try to
connect to the X server with other X clients and see if it is
responding or what the nature of the problem might be. X is a
complicated beast and can be hard to troubleshoot so good luck.<br>
<br>
Jim<br>
<pre class="moz-signature" cols="72">--
Jim Ockers, P.Eng. (<a class="moz-txt-link-abbreviated" href="mailto:ockers@ockers.net">ockers@ockers.net</a>)
Contact info: <a class="moz-txt-link-freetext" href="http://www.ockers.net/msi.html">http://www.ockers.net/msi.html</a>
</pre>
</body>
</html>