l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 16:57

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Redhat graphic login
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Redhat graphic login

>   I just installed Redhat 6.2 with the graphic login enabled. I know that
> we can use the command line login prompt to login as that's how the Linux
> boxes work on some computers in my school. My question is, how could I
> change the graphic login to command line login? I hope I don't need to
> reinstall Linux... ;-)

First off, you can easily jump to one of the text login consoles by
hitting [CTRL]+[ALT]+[Fn], where [Fn] is a Function key, [F1] through [F6].
(By default, a normal Linux installation has 6 virtual text consoles).
Use [F7] to get back to graphics.

Now, to actually _answer_ your question, you'll want to edit your system's
"inittab" file, usually stored in "/etc/".  You can find it easily by

  locate inittab

In that configuration file (open it with something like the "vi" editor
while logged in as 'root'), there's a line that'll look like this:

# The default runlevel.

On a RedHat box, 5 is the "X login by default" runlevel.
You'll want to change the '5' to a '3', which is the "normal" runlevel.
(5 and 3 are the same, except 5 runs XDM or GDM or KDM, the login and
display manager - ie, X is running when you boot up :))

You can then reboot to try it out... Or, to switch back and forth between
runlevels (BE CAREFUL!), you can issue the command:

  # telinit 3


  # telinit 5

as root.  After running one of these, wait a few moments for the system
to catch up (switch completely) before trying "telinit" again. ;)


LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!