From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 12520 invoked from network); 26 Oct 1999 21:22:20 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 26 Oct 1999 21:22:20 -0000 Received: from riemann.math.twsu.edu (root@riemann.math.twsu.edu [156.26.12.62]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA07079 for ; Tue, 26 Oct 1999 17:22:17 -0400 Received: from chaos.math.twsu.edu (CHAOS.MATH.TWSU.EDU [156.26.12.253]) by riemann.math.twsu.edu (8.9.3/8.9.3) with SMTP id PAA21555 for ; Tue, 26 Oct 1999 15:35:22 -0500 From: Mark Arrasmith Reply-To: arrasmith@math.twsu.edu Organization: WSU Mathematics To: axp-list@redhat.com Subject: Re: Locking X-Windows Date: Tue, 26 Oct 1999 16:15:50 -0500 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <99102613332401.00940@chaos.math.twsu.edu> <99102613573802.00940@chaos.math.twsu.edu> <19991026122706.B78984@toxic.magnesium.net> In-Reply-To: <19991026122706.B78984@toxic.magnesium.net> MIME-Version: 1.0 Message-Id: <99102616234001.01130@chaos.math.twsu.edu> Content-Transfer-Encoding: 8bit On Tue, 26 Oct 1999, Ron Farrer wrote: > Mark Arrasmith (arrasmith@math.twsu.edu) wrote: > > > > The keyboard doesn't respond to anything. (Of course I need to cause a > > crash now to make sure it doesn't) > > I think this example might take out most people's X server. If you have kedit open it and type some stuff. Now close it without saving the file. This should lock X. At least it does for me every time. This seems to be an application problem. In that it seems to be the same ones that take X out. Anyideas on how I can go about approaching this? > I supposed if you can't fix it, you could write a script that checks > to make sure X isn't eating 100% of the cpu for a certian amount of > time and if it is kill it... Not real safe, but might work ok as a > short term work around. I've made some really bad X programs that call for a redraw WAY to often that take X to 100%. Lately a script like that would restart X about 5 times a day. :) - mark