A little bit about how the sevices are started.

In /etc/rc[1-6S].d are some files that start with S or K and a number.
The 'S' means start and the 'K' means kill.  When the system enters
a runlevel n, it goes to rcn.d and steps through the files starting with
S from lowest to highest.  Some runlevels lead to others.  You can enter
a runlevel with init n.  That is usually used to shut down or go to or from
single user mode.  The same thing happens with the K's, the system steps
through script.

The stepping through is actually executing it with stop or start option,
which is why so many of them are symlinks to files in /etc/init.d.

So, to take something out of startup, like xdm, find xdm in whichever
rc* directories it is in, and rename Snnxdm to snnxdm, which should
make those files be overlooked.  Do the same with the killfile, unless
you're planning to start it manually.

Caveats: Other Unixes, including other distros sometimes organize
their rc file differently.  Also, I saw a debian-specific answer poster
by Mr. Self...I'd use that...this is just in case you care.

rick


On Sat, Dec 09, 2000 at 10:36:44PM -0800, kmself@ix.netcom.com wrote:
> on Sun, Dec 10, 2000 at 12:05:33AM -0200, Estêvão Becker ([EMAIL PROTECTED]) 
> wrote:
> >   Hi, I have another problem: How do I do for the X DON'T start when I
> >   start my Linux? What file do I have to edit and where is it?
> 
> One-time fix:
> 
>     $ /etc/init.d/xdm stop
> 
> To prevent xdm startup:
> 
>     $ update-rc.d -f xdm remove
> 
> To prevent running xdm on console, edit /etc/X11/xdm/Xservers and
> comment out local displays.
> 
> You may need to substitute gdm, wdm, or another X display manager for 'xdm' in
> the above.  Look for symlinks matching:
> 
>     $ ls /etc/rc2.d/S*dm
> 
> Cheers.
> 
> -- 
> Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
>  Evangelist, Zelerate, Inc.                      http://www.zelerate.org
>   What part of "Gestalt" don't you understand?      There is no K5 cabal
>    http://gestalt-system.sourceforge.net/        http://www.kuro5hin.org


Reply via email to