LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Changing from graphical login screen to text (http://www.linuxquestions.org/questions/linux-newbie-8/changing-from-graphical-login-screen-to-text-382098/)

thinkpadbk 11-11-2005 07:58 AM

Changing from graphical login screen to text
 
Hi there,

I have installed a distro of Redhat on my notebook PC. Unfortunately, i have choosen to use graphical login screen while i want to use text instead. Can you show me how to change (switch) between them?

Thanks, I am an absolute newbie

kbflamelet 11-11-2005 08:23 AM

The default runlevel is specified in /etc/inittab. If you change the 5 to a 3 (on one of the first few lines), you should be set. ;)

Ahmed 11-11-2005 08:41 AM

Go to the file /etc/inittab as root:

Code:

# 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)
#
id:5:initdefault:

Change the last line to

Code:

id:3:initdefault:
If you want to go into the graphical interface, type the command "startx"

Good luck

-A

thinkpadbk 11-11-2005 07:18 PM

Oh, I got it. Thanks guys!


All times are GMT -5. The time now is 06:23 PM.