LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-26-2003, 11:03 AM   #1
talonnb
Member
 
Registered: Jul 2003
Posts: 30

Rep: Reputation: 15
Arrow Text Login instead of GUI - Urgent


I get a text login instead of the GUI, now I know why it did that because I am running VM ware and I only had 32 MB set aside for the OS to run with and it did the text installer. But now I have 128 set aside for the OS to run with and it uses text interface.


I would like to switch it to the GUI, but I am a complete newbie when it comes to Linux, so if you can help, could you go step by step what I do and type to make this work?




Last edited by talonnb; 07-26-2003 at 11:30 AM.
 
Old 07-26-2003, 11:05 AM   #2
talonnb
Member
 
Registered: Jul 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Redhat 8.0 by the way

Once again, I am a
 
Old 07-26-2003, 12:14 PM   #3
talonnb
Member
 
Registered: Jul 2003
Posts: 30

Original Poster
Rep: Reputation: 15
I mean the Text interface, not Gui sorry
 
Old 07-26-2003, 12:15 PM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Hi talonnb and welcome to LinuxQuestions!

To change from text to graphical login, go into /etc and edit the file called inittab. There's a line in there where it stands:

id:3:initdefault

Change it from 3 to 5 like this:

id:5:initdefault

Save and reboot. Next time you reboot you should be at the graphical login

Good luck
 
Old 07-26-2003, 12:18 PM   #5
talonnb
Member
 
Registered: Jul 2003
Posts: 30

Original Poster
Rep: Reputation: 15
But how do I get into /etc? That's my problem I guess
 
Old 07-26-2003, 12:28 PM   #6
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
you will type

cd /etc

You must be logged as root to change any configuration file + you need to know how to use any editor, such as vim/vi, pico, emacs. For a newcomer, you would like using Midnight Commander. It's (I believe, at least it was under RedHat 7.3 and 9.0) already shipped within your RedHat CD's. Try typing:

mc

At the command line to see if it's installed. It's a file manager and an editor. If you have ever used Norton/Windows Commander under Windows, you should be all set with this tool under Linux.

Good luck
 
Old 07-26-2003, 12:28 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,426

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
You need to log on in as root. Use a command line text editor like pico or vi to edit the file called inittab located in the /etc directory.

The console command to change directories is cd

cd /etc
 
Old 07-26-2003, 12:30 PM   #8
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Now that's what I call brain sync . Same time posting and pratically the very same message...ghehe
 
Old 07-26-2003, 12:35 PM   #9
talonnb
Member
 
Registered: Jul 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks guys, I try that and let you know if that works here in a second
 
Old 07-26-2003, 12:37 PM   #10
talonnb
Member
 
Registered: Jul 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Ok, I've got it in the proper directory logged in as root, now what can I type to make these changes you say I need to ?
 
Old 07-26-2003, 12:41 PM   #11
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
you could try typing mc to see if you have midnight commander. If you do, have it, you will see that you can edit a file with F4 key. If you don't, then you need to try with other editors as vi or pico. Try typing:

vi inittab

or

pico inittab

If nothing happens, try installing an editor. Again, I recommend Midnight Commander. It'd be at your RedHat CD's. It's homepage though is:

http://www.gnome.org/mc/
 
Old 07-26-2003, 12:43 PM   #12
talonnb
Member
 
Registered: Jul 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Ok, I've used to vi one and it comes up, but now the 3 to 5 thing you guys told me to do, it's already at five. Any suggestions?
 
Old 07-26-2003, 12:52 PM   #13
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Now that's odd. I'm with RedHat 9.0 here and 3 gives me text login and 5 gives me graphical login. I wonder if it was different in RedHat 8.0...
I've not found anything about it on google (just took a look now). Let's hope somebody has another idea .
 
Old 07-26-2003, 12:57 PM   #14
talonnb
Member
 
Registered: Jul 2003
Posts: 30

Original Poster
Rep: Reputation: 15
when I did the whole vi inittab
the selection beside 5 in comments was the interactive startup, I'm not sure if that is the graphical or not.

The rest of the choices are:
0 - Halt
1 - Single User Mode
2 - Multiuser mode
3 - Full multiuser mode
4 - unused
5 - X11
6 - reboot
 
Old 07-26-2003, 01:00 PM   #15
talonnb
Member
 
Registered: Jul 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Also, how do you save changes in the vi editor? what button do you push to get back to the command prompt?
 
  


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
Text Login to GUI Login stakhous Linux - Newbie 6 02-14-2005 10:11 PM
GUI login has icons but is missing all text - Fedora ghouliajoolia Linux - Newbie 4 02-23-2004 09:29 AM
GUI and text login eaa63 Linux - Newbie 2 11-03-2003 11:49 PM
GUI gone.. just text login mgbgt Linux - Newbie 4 06-16-2003 01:05 AM
How do I revert from Gui to text login?? jpflager Linux - Software 10 02-18-2003 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:27 PM.

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