[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I messed up my resolution.



-----BEGIN PGP SIGNED MESSAGE-----

On Fri, 22 Oct 1999, Ethan Benson wrote:

> On 22/10/99 Brad wrote:
> 
> > > Boot from your rescue flop, edit your /etc/inittab  file and
> > > change the line:
> > > id:5:initdefault:
> > > to:
> > > id:3:initdefault:
> >
> >I don't believe this will work on a Debian system by default, since Debian
> >by default doesn't make any differences between runlevels 2-5. Are you by
> >any chance a RedHat user (RedHat does set up these differences)? ;)
> 
> not only that debian does not start xdm through init but rather 
> through an initscript in /etc/init.d

RedHat doesn't start xdm through init either, but uses a script in
/etc/rc.d/init.d. RedHat is set up so that xdm will only start in runlevel
5 (although you could always run it by hand in any runlevel if you felt
like it). The change Onno posted would set the default runlevel from 5 to
3, which would cause a default RedHat setup not to run xdm. The only thing
init has to do with it in either distro is setting the runlevel and
evaluating the proper rc?.d directory based on that.

Depending on how you look at it, either both distros start xdm through
init (because init executes all scripts in the /etc/rc?.d directory) or
they don't (because init doesn't directly spawn the process).


- -- 
  finger for PGP public key.


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBOBEF9b7M/9WKZLW5AQFAPAQAjc1ErL6JZZxM54F0SnhDQSBF7XhdbwbY
8dP6Uk8iSvjA1ovCs0IgszmxdNAApS0/qqrLJk3j7YUZx50X2H+MvarojvKzacmu
5pj45EQyn2cM+vHPFNryqpyV5PUQOLNM9N5p4oNRZpeRtM80M+UiJxdEBSiaHpqB
rwY55zo9w88=
=nO5y
-----END PGP SIGNATURE-----


Reply to: