X starting at startup

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jon K
Date:  
Subject: X starting at startup
He could, but it would be easiest for him to type:

$ cd /etc/rc2.d
$ mv S99xdm K99xdm


On Thursday 24 October 2002 05:10, Robert Rogers wrote:
> I've haven't tried Debian yet but couldn't he just change the runlevel
> to 3 in the /etc/inittab file?
>
> KevinO wrote:
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >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

> >
> >Take a look in the directory '/etc/rc2.d' for a file called 'S99xdm'.
> >
> >This file will be a symbolic link to a file in '/etc/init.d' called 'xdm'.
> >
> >When your box boots, the file '/etc/inittab' is configured to bring the
> > system up into runlevel 2. This means that scripts in the rc2.d directory
> > that begin with a capital S will be started. (Or scripts linked to from
> > there, where the link begins with a captial S)
> >
> >Removing the file '/etc/rc2.d/S99xdm' will prevent X from starting up as
> > part of the boot process, and can be done as follows:
> >
> ># rm /etc/rc2.d/S99xdm
> >
> >To put it back the way that it was you will have to recreate the link
> > again:
> >
> ># cd /etc/rc2.d
> ># ln -s /etc/init.d/xdm S99xdm
> >
> >Note that the '#' number sign denotes that you have the root prompt and
> > are executing these commands as the /superuser/.
> >
> >Please take a look at your system to make sure of these file names and
> > adjust them if necessary. I do not have access to a deb box to double
> > check them right now ;-)
> >
> ># ls -l /etc/rc2.d/S99xdm
> >lrwxrwxrwx 1 root root 18 Oct 12 01:58 /etc/rc2.d/S99xdm ->
> > ../init.d/xdm - --
> >KevinO
> >
> >Matz's Law:
> >        A conclusion is the place where you got tired of thinking.

> >
> >
> >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> >PLUG-discuss mailing list -
> >To subscribe, unsubscribe, or to change you mail settings:
> >http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9t1zjzFstip5OIqgRAsQSAKC0t4tK6xqdrUdB7UH1cr6zRFD16gCeNeRI
yCC3Kce/l/wlWGMJl77Cya4=
=WlC8
-----END PGP SIGNATURE-----