Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Howto: Change Graphical Login To Text, and vice-versa ..in Redhat & Fedora Core
miCRoSCoPiC^eaRt...
post Feb 9 2005, 04:41 PM
Post #1


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411



Hi all,
    [/tab]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.

[tab]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...

    [/tab]First and foremost you should be logged in as root.

[tab]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:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

    [/tab]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.

[tab]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.... smile.gif

All the best
Go to the top of the page
 
+Quote Post
qwijibow
post Feb 11 2005, 01:24 PM
Post #2


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,366
Joined: 14-September 04
From: Nottingham England
Member No.: 570



cool...

plus, to switch runmode without a re-boot you can run
CODE
telinit 3
or
telinit 5


Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post Feb 12 2005, 03:22 PM
Post #3


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411



Hey thanks for the runlevel tip. I didn't know that one..
Go to the top of the page
 
+Quote Post
iGuest
post Jul 3 2008, 05:23 PM
Post #4


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 0
Joined: 1-November 07
Member No.: 25,869



Hello,
I tried and did not work,still booting with X(I am running Red hat 5)
Any suggestions.Thanks ..Homa

-reply by Homa
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Howto: Domain Name Server On Linux(7)
  2. Howto: Change System Runlevel Of A Process(0)
  3. Configuring Apache On Fedora Core 3 For Userdir(2)
  4. Installing Photoshop 7 On Linux (fedora)(10)
  5. [mini] Howto Install Hp 1020 For Cups On Debian(0)
  6. Moving To Fedora 9(1)


 



- Lo-Fi Version Time is now: 12th October 2008 - 06:33 AM