Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Locking X-Windows
@ 1999-10-26 18:28 Mark Arrasmith
  1999-10-26 18:40 ` Ron Farrer
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Arrasmith @ 1999-10-26 18:28 UTC (permalink / raw)
  To: axp-list

I remember people talking about this here before, but I couldn't find a
solution (if there is one) in the archives.  Every now and then when I
close an application X will "lockup".  No keyboard or mouse, just X
running at 100% cpu.

I can log in and kill X which will bring the system back.  But, if a
user isn't hooked up to a network it is basically necessary to reboot
the computer.

Why does closing an app cause this and is there anything I can do to
prevent it?  Besides killing every app rather than closing it.  (which
I do for applications that seem to do this more than others)

- mark arrasmith


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Locking X-Windows
  1999-10-26 18:28 Locking X-Windows Mark Arrasmith
@ 1999-10-26 18:40 ` Ron Farrer
  1999-10-26 18:53   ` Mark Arrasmith
  0 siblings, 1 reply; 5+ messages in thread
From: Ron Farrer @ 1999-10-26 18:40 UTC (permalink / raw)
  To: Mark Arrasmith; +Cc: axp-list

Mark Arrasmith (arrasmith@math.twsu.edu) wrote:

> I remember people talking about this here before, but I couldn't find a
> solution (if there is one) in the archives.  Every now and then when I
> close an application X will "lockup".  No keyboard or mouse, just X
> running at 100% cpu.
> 
> I can log in and kill X which will bring the system back.  But, if a
> user isn't hooked up to a network it is basically necessary to reboot
> the computer.
> 
> Why does closing an app cause this and is there anything I can do to
> prevent it?  Besides killing every app rather than closing it.  (which
> I do for applications that seem to do this more than others)
> 

What's wrong with switching to another VC to kill X?


Just curious,

Ron
-- 
=========================
= Ronald Burnett Farrer =
=========================
------------------------------------
- "mailto:rbf@magnesium.net"       -
- "http://www.magnesium.net/~rbf/" -
------------------------------------
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! If you let Windows dominate, expect the worst: !
! "WORLD.SYS is corrupt, reboot UNIVERSE Y/n"    !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
???????????????????????????????????????????????????????
? "How could this [Y2K Bug] be a problem in a country ?
? where we have Intel and Microsoft?" -- Al Gore      ?
???????????????????????????????????????????????????????


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Locking X-Windows
  1999-10-26 18:40 ` Ron Farrer
@ 1999-10-26 18:53   ` Mark Arrasmith
  1999-10-26 19:27     ` Ron Farrer
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Arrasmith @ 1999-10-26 18:53 UTC (permalink / raw)
  To: axp-list

On Tue, 26 Oct 1999, Ron Farrer wrote:
> Mark Arrasmith (arrasmith@math.twsu.edu) wrote:
<snip>
> > close an application X will "lockup".  No keyboard or mouse, just X
> > running at 100% cpu.
</snip>
> 
> What's wrong with switching to another VC to kill X?
> 

The keyboard doesn't respond to anything.  (Of course I need to cause a
crash now to make sure it doesn't)

- mark arrasmith


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Locking X-Windows
  1999-10-26 18:53   ` Mark Arrasmith
@ 1999-10-26 19:27     ` Ron Farrer
  1999-10-26 21:15       ` Mark Arrasmith
  0 siblings, 1 reply; 5+ messages in thread
From: Ron Farrer @ 1999-10-26 19:27 UTC (permalink / raw)
  To: Mark Arrasmith; +Cc: axp-list

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 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.


JMHO,

Ron
-- 
=========================
= Ronald Burnett Farrer =
=========================
------------------------------------
- "mailto:rbf@magnesium.net"       -
- "http://www.magnesium.net/~rbf/" -
------------------------------------
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! If you let Windows dominate, expect the worst: !
! "WORLD.SYS is corrupt, reboot UNIVERSE Y/n"    !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
???????????????????????????????????????????????????????
? "How could this [Y2K Bug] be a problem in a country ?
? where we have Intel and Microsoft?" -- Al Gore      ?
???????????????????????????????????????????????????????


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Locking X-Windows
  1999-10-26 19:27     ` Ron Farrer
@ 1999-10-26 21:15       ` Mark Arrasmith
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Arrasmith @ 1999-10-26 21:15 UTC (permalink / raw)
  To: axp-list

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-10-26 21:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-26 18:28 Locking X-Windows Mark Arrasmith
1999-10-26 18:40 ` Ron Farrer
1999-10-26 18:53   ` Mark Arrasmith
1999-10-26 19:27     ` Ron Farrer
1999-10-26 21:15       ` Mark Arrasmith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox