Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-03-2003, 09:30 PM   #1
LQ Newbie
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
text login help

I messed up and selected login as text and want to get to the graphical interface. how do I do this?
Old 11-03-2003, 09:38 PM   #2
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
I don't know if this is for all distributions or just Red Hat, but I assume its all across the board. In /etc there should be a file called inittab, if you do

$ more /etc/inittab

youll see something like this

[ynadji@localhost etc]$ more inittab
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
# Author: Miquel van Smoorenburg, <>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes

# 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)
If you change the id:5:initdefault: to id:3:initdefault: this will make your computer boot into the console.
Old 11-03-2003, 09:40 PM   #3
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 418Reputation: 418Reputation: 418Reputation: 418Reputation: 418
As su or root, fire up a text editor like pico and open up your /etc/inittab file. Find the line that looks like this:


and change it to


Save and exit

When you reboot, it should start up with one of the graphical login managers.

On further though, if you want to keep the text login, but just want to get into a graphical environment, you can always type startx

Last edited by Hangdog42; 11-03-2003 at 09:43 PM.
Old 11-03-2003, 10:11 PM   #4
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
Hey cool I was right! Weehee!


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
Text Login to GUI Login stakhous Linux - Newbie 6 02-14-2005 10:11 PM
Graphical login fail, text login works livewire98801 Linux - General 2 10-11-2004 07:09 PM
login to a text login not graphical applelinuxman Linux - Games 1 10-30-2003 01:16 AM
Graphical Login/Text Login genoa Linux - Newbie 11 07-09-2003 02:37 PM
Gnome Graphical Login -> Text Login, how? Furtzi Linux - Newbie 1 03-09-2002 09:32 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:03 PM.

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