LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-14-2003, 05:06 PM   #1
Irongut
LQ Newbie
 
Registered: May 2003
Posts: 2

Rep: Reputation: 0
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?
 
Old 05-14-2003, 05:09 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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)
 
Old 05-14-2003, 05:11 PM   #3
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
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.
 
Old 05-14-2003, 05:15 PM   #4
Irongut
LQ Newbie
 
Registered: May 2003
Posts: 2

Original Poster
Rep: Reputation: 0
That did the trick, thanks
 
Old 05-14-2003, 07:00 PM   #5
TexasDex
Member
 
Registered: Feb 2003
Location: The Attic. Nowhere near Texas.
Distribution: Gentoo, Kubuntu, formerly LFS, SuSE, and RedHat
Posts: 133

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
change the option to boot from gui to text boyd98 AIX 3 01-12-2005 11:16 AM
changing boot option from gui to text buffed317 Fedora 1 07-06-2004 06:21 PM
text/GUI installer for gnu/linux distro darkRoom Programming 2 04-22-2004 07:33 AM
Boot to text (instead of GUI) helios22 Debian 3 04-11-2004 08:31 PM
Problem making Linux-WLAN driver, newbie needs help. sabaka Linux - Wireless Networking 1 09-09-2003 07:22 PM


All times are GMT -5. The time now is 04:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration