miCRoSCoPiC^eaRthLinG 0 Report post Posted February 9, 2005 Hi all, This article shows you how to switch between Graphical and Text based Login Screens that are made available to you when you boot into either Redhat or Fedora Core Systems. This will work for Redhat 9.x and both Fedora Core 2 & 3. I've two servers in my office - one of Fedora Core 2 and one on Redhat Enterprise Linux AS 3. I'd set the Redhat Server to boot into text login but missed out that option in Fedora. As a result it always started off in a X-Windows based login - which was pretty inconvenient. Linux users will know for sure how a GUI can impede your work flow specially on a Linux system which involves editing & modifying millions of config files to get all the services running according to your needs. Naturally, I started feeling very stifled as the FC Server was meant to be my primary internal LAN server and I was always playing around with the settings to get more out of it. So I had to finally give up on being lazy and went ahead and did the little tweak that changed it back to text login...Here's how... First and foremost you should be logged in as root. The /etc folder on these Linux installations contain a file named inittab - mind you no extensions to the filename. This file contains lots of important parameters & runlevel configurations that the kernel reads while booting and configures the system accordingly. Open this file in your favourite editor and scroll down just a little bit say, till the 18th-20th line (usually) till you find something similar to this: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # 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: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= As you can see the last line id:5:initdefault: specifies WHAT MODE (Graphical/Text/MultiUser etc) to boot the system into. The number "5" here, according to the Commented out options above tells the system to boot straight into X11 (X-Windows) i.e. the Graphical Mode. Change this value to "3" - which according to the options - is Full multiuser mode - involving all the networking features of Linux, but in a non-graphical environment. That's it. We are done. Save the file and quit. Reboot your system for the setting to take effect. WARNING: When you are editing these critical system files in Linux, be absolutely sure of WHAT you are editing. One SINGLE MISTAKE can render the whole system non-bootable. These are as dangerous as (if not more) Windows Registry. So there.... All the best Share this post Link to post Share on other sites
qwijibow 0 Report post Posted February 11, 2005 cool...plus, to switch runmode without a re-boot you can run telinit 3 ortelinit 5 Share this post Link to post Share on other sites
miCRoSCoPiC^eaRthLinG 0 Report post Posted February 12, 2005 Hey thanks for the runlevel tip. I didn't know that one.. Share this post Link to post Share on other sites
iGuest 3 Report post Posted July 3, 2008 Hello,I tried and did not work,still booting with X(I am running Red hat 5)Any suggestions.Thanks ..Homa-reply by Homa Share this post Link to post Share on other sites
iGuest 3 Report post Posted November 27, 2008 Hi!Have you tried the post at the top? It should work out for you.Or maybe you can try to press <Ctrl><Alt><F1> to get a console login (up to <F6>). <Ctrl><Alt><F7> to get back to X Window. Hello,I tried and did not work,still booting with X(I am running Red hat 5)Any suggestions.Thanks ..Homa-reply by Homa Share this post Link to post Share on other sites
wutske 0 Report post Posted November 27, 2008 cool...plus, to switch runmode without a re-boot you can run telinit 3 ortelinit 5 I just use init 3 or init 5 without rebooting , or do you mean without terminating the X-session ? (btw, I only switch to runlevel 3 if X is acting up and I need to kill it , Share this post Link to post Share on other sites
yordan 10 Report post Posted November 29, 2008 And, of course, this is mainly useful for people wanting to stop the X-Windows graphical display because they have a small system, with slow cpu or few memory.If you don't have any lack of cpu or memory, you can simply leave the graphical display as it is, and switch to the graphical login window. The key tu push is slightly different depending from the Linux distro you use, but it something like Shif-F1 to switch to the first ascii terminal, Shift-F2 for the second one, etc... I love this because you can edit in one display, compile in the second one, remote login in the third one, being consttantly in full-text full-window mode. On other distros it's something like shift-control-F1 Share this post Link to post Share on other sites