[848] in SIPB_Linux_Development

home help back first fref pref prev next nref lref last post

Re: White Screen/Zephyer

daemon@ATHENA.MIT.EDU (svalente@MIT.EDU)
Mon Dec 12 20:56:58 1994

From: svalente@MIT.EDU
Date: Mon, 12 Dec 94 20:56:48 -0500
To: Erik Nygren <nygren@MIT.EDU>
Cc: linux-dev@MIT.EDU
In-Reply-To: "[1260] in linux-help"


Erik writes (on linux-help):

	This is a known bug in the combination of XFree86 3.1 and Athena dm
	which is caused by Athena dm restarting the server too quickly.
	I have the inittab entry:
	x1:4:respawn:/etc/athena/startdm
	and where /etc/athena/startdm is <a shell script>.

Since I've actually since this in use (it's used on Limekiller), I
don't like it.  I depend on the command "telinit 5" to shut down and
keep down the X server.  Using this script, "telinit 5" kills the
script, but X keeps running, since X wasn't started by init.

I can think of two solutions to this problem:

a) Make the shell script trap the TERM signal and kill the X server
when it gets it.

b) Fix dm.c so that it sleeps for a couple of seconds in the
appropriate places, so that it doesn't have to be run through a shell
script.

The second seems like a much better solution, and I'll do it when I
get around to it.

Have a nice day.
-Sal.

home help back first fref pref prev next nref lref last post