X starting at startup

George Toft plug-discuss@lists.plug.phoenix.az.us
Wed, 23 Oct 2002 08:03:33 -0400


MCR wrote:
> 
> I have recently installed Debian on a box that I am
> using as a server.  I would rather not have X start
> every time I restart the server.  I would perfer to
> manually started as it is needed.  However, I do not
> recall how to configure it so it does not start up.  I
> would like to have the command line login, rather than
> graphical.  Could someone be so kind as to remind me
> how to go about this?
> 
>                          mike
> 
> __________________________________________________
> Do you Yahoo!?
> Y! Web Hosting - Let the expert host your web site
> http://webhosting.yahoo.com/
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


/etc/inittab controls your default run level.  Find the lines that look
like this:
# The default runlevel is defined here
id:5:initdefault:

and change the 5 to a 3.  Save the file, and issue the command 
	# init 3 
and you will be good to go.

George

-- 
        __     __   ___   __   __   __  ___    ___
       |  |   |  | |   \ |  | |  | |  | \  \  /  /
  -o)  |  |   |  | |    \|  | |  | |  |  \  \/  /   (o-
  /\\  |  |__ |  | |  |\    | |  |_|  |  /  /\  \   //\
 _\_v  |_____||__| |__| \___| \_______| /__/  \__\  v_/_

Don't Fear The Penguins