LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to keep X from starting? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-keep-x-from-starting-18217/)

byersjlpa 04-10-2002 05:14 PM

How to keep X from starting?
 
I've had Red Hat 7.1 installed for awhile. When I installed it, I configured it to use a graphical login. How do I reconfigure my system so that it boots to a command line login instead of the graphical login? I've searched everywhere, but can't seem to find this information.

Thanks in advance.

isajera 04-10-2002 05:26 PM

you need to change the runlevel in the /etc/inittab file. different runlevels boot in various ways - into single user mode, into graphical mode, or into your regular login. the runlevels vary from distro to distro - but there's probably a comment in the inittab file that tells you what level you want. it's probably going to be 3 or 5... i can't remember offhand :).

DMR 04-10-2002 05:29 PM

...and the magic line in /etc/inittab would be:

id:5:initdefault:

In Redhat, changing the 5 to 3 will boot you to the command line.

byersjlpa 04-10-2002 07:24 PM

Thanks for the help. That's what I was looking for. Worked just as you said.


All times are GMT -5. The time now is 08:42 PM.