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

Re: Help! How not to start X ?



MallarJ@aol.com said:
> I believe a more accurate statement would be that Debian doesn't use the same 
> run levels as RedHat when determining whether or not to start X up at boot 
> time.  Please correct me if I'm wrong (I don't have my Debian machine in 
> front of me at the moment) but a runlevel of 1 (and possibly 2?) will not 
> start X.

Well, OK...  You got me there...  Runlevel 1, being single-user mode, doesn't
start X (or anything else non-essential).  Runlevels 2-5, however, all start
X (or, more accurately, xdm/wdm/etc.).  (Runlevels 0 and 6 don't start X
either, but they don't count (RL0 is system halt and RL6 is system reboot).)

Debian normally uses 2 as the default runlevel in my experience, although I
once installed something that changed the default to 3.  Given that (on my
machine, at least) runlevels 2 and 3 are identical, this didn't actually do
anything...  Runlevels 4 and 5 are identical to 2 and 3 with the exception
that (according to /etc/inittab) they only set up 1 VT instead of 6.

Anyhow, to correct my original statement:

Debian does not use runlevels as the primary method of controlling which
services run, unlike some other distributions.  You can manually set services
to run only at certain runlevels (either by editing symlinks in /etc/rcN.d or
using update-rc.d), but the default is to run identical sets of services in
all multi-user runlevels.

-- 
Geek Code 3.1:  GCS d- s+: a- C++ UL++$ P+>+++ L++>++++ E- W--(++) N+ o+ !K
w---$ O M- !V PS+ PE Y+ PGP t 5++ X+ R++ tv- b++ DI++++ D G e* h+ r++ y+


Reply to: