Unfortunately init will not detect a loop if it does not happen fast enough.

In my 2 stations, I sometimes messup with X config and the x entry then 
crashes repeatedly but slowly enough not to be detected by init. So my 
station becomes uncontrollable. ALT-Fx or CTRL-ALT-Fx do not work since X 
starts and switch console too fast to let me have a text console.

CTRL-ALT-DEL works fine :)   I wonder if it is not possible to program another 
key sequence in order to set an init 3  in case of problem ?? That would be a 
solution.

Pascal



Le Samedi 10 Ao�t 2002 22:01, Devin B. Hedge a �crit :
> This is still an interesting thread. I appreciate all the great insight.
>
> Would you characterize this as something a end user should be required to
> deal with?
>
> Catch my point?
>
> Devin.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ben Reser
> Sent: Saturday, August 10, 2002 1:45 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Cooker] Request for the X login screen
>
> On Sat, Aug 10, 2002 at 11:32:25AM -0500, allen wrote:
> > What is the stuff that kicks off the graphical login ?  How does that
> > work exactly ?  I'm happy to figure it out if someone just points me
> > at the starting thing that I can trace through... source if necessary.
> >
> > Something in the initrd ?  I hate that...
>
> No... it's in the /etc/inittab:
> # Run xdm in runlevel 5
> # xdm is now a separate service
> x:5:respawn:/etc/X11/prefdm -nodaemon
>
> And init will detect if it's looping and it supposed to stop trying to
> load it.
>
> If you just want to totally disable this you just need to change this
> line in your inittab:
> id:5:initdefault:
> to:
> id:3:initdefault:


Reply via email to