LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Newbie, making linux boot to text instead of GUI (https://www.linuxquestions.org/questions/linux-software-2/newbie-making-linux-boot-to-text-instead-of-gui-59820/)

Irongut 05-14-2003 04:06 PM

Newbie, making linux boot to text instead of GUI
 
This might be simple for a pro, so here goes.

I am running Redhat 7.3, and when I installed it I set it to use a graphical login (where it allows me to select default, KDE,GNOME, FAILSAFE). I haven't found an option to allow me to change this so the system boots right to a text promt instead, so I don't have to load up the X Windows.

Is there anyway to change the process so that the system boots to prompt?

david_ross 05-14-2003 04:09 PM

Edit /etc/inittab and change the initdefault line:
id:5:initdefault:

to:
id:3:initdefault:

From /etc/inittab:
Quote:

# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)

Proud 05-14-2003 04:11 PM

Open /etc/inittab and it should start with something like:
Quote:

#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# Default runlevel. The runlevels used by Mandrake Linux are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:
Change the 5 to a 3, and use startx to start X once you log in. :)

Irongut 05-14-2003 04:15 PM

That did the trick, thanks :)

TexasDex 05-14-2003 06:00 PM

Note: It may be nessescary to start the XFS (Xwindow Font Server) before using the startx command when in Text Mode. In RedHat the startup script is /etc/rc.d/init.d/xfs start

That should be all you need.


All times are GMT -5. The time now is 01:22 AM.