Howto: Change Graphical Login To Text - and vice-versa ..in Redhat & Fedora Core

free web hosting
Free Web Hosting > Computers & Tech > How-To's and Tutorials > OS > Linux

Howto: Change Graphical Login To Text - and vice-versa ..in Redhat & Fedora Core

miCRoSCoPiC^eaRthLinG
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

 

 

 


Reply

qwijibow
cool...

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



Reply

miCRoSCoPiC^eaRthLinG
Hey thanks for the runlevel tip. I didn't know that one..

Reply

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

-reply by Homa

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. red hat 5 text login code - 10.25 hr back. (2)
Similar Topics

Keywords : howto, change, graphical, login, text, vice, versa, redhat, and, fedora, core

  1. Moving To Fedora 9
    Tutorial on how a newbie can move to using this fantastic OS Fedora 9, (1)
  2. [mini] Howto Install Hp 1020 For Cups On Debian
    (0)
    Hello! My howto is here . After 3 hours of google search, and self research...
    eureka!!!, then I want to share my "howto". Maybe you will have problems installing
    CUPS. Any questions please reply here. Blessings!....
  3. Installing Photoshop 7 On Linux (fedora)
    Needs windows installation (10)
    Hi, well I've tried coping with The GIMP but could never get it to make smaller compressed file
    sizes, so I had to cheat and use Adobe Photoshop 7, however, I use to switch over to Windows to do
    this, and it was only for compressing the file, so I thought, how about getting Adobe Photoshop 7
    working with Linux (no, I am not kidding!), well here's my steps on how to do this. (tested
    and verified that it works, not completely tested though). Also working off by memory so I do
    apologise if some things aren't correct, but I know it's near enough that you....
  4. Configuring Apache On Fedora Core 3 For Userdir
    Please SELinux, without turning it off! (2)
    This might be a short tutorial in my case, but I'm currently writing a book on setting up your
    own servers (FTP, HTTP, DNS, BitTorrent, CVS, etc) and during the process, I sometimes get the urge
    to splurt out some things, because I get annoyed when I see "bad suggestions". This book has no
    expected date, I'm not a technical writer, so it may take a lot longer than expected, I am not
    offering parts of it till it is finished and has been thoroughly tested, sorry for that, but I will
    provide tutorials that I feel are important to not have quick answers for, th....
  5. Howto: Change System Runlevel Of A Process
    & assign multiple runlevels to processes (0)
    Hi, This tutorial will be as short and sweet (hopefully) as the one on Changing Graphical Login
    to Text Based . Those who are using Linux regularly would have definitely come across the system
    runlevels and all the cryptic looking boot-up messages associated with different runlevel.
    Here's a short description of RunLevels from Linux Man Pages. QUOTE RUNLEVELS       A 
    runlevel is a software configuration of the system which allows only       a selected group of
    processes to exist.  The processes spawned by  init       for each of these runlevels are defined....
  6. Howto: Setup Your Own DHCP Server On Linux
    And have it to allot IPs dynamically (0)
    Howto: Setup a DHCP Server on Linux in Few Simple Steps Hi all, I'm back again with a new
    turorial - this time we're going to deal with another aspect of Linux/Windows networking - the
    DHCP Server . I'm sure all of you must have come across the term DHCP - anyone who connects to
    the internet has to come across it every now and then. You see the term even on the small setup
    instructions leaflets that accompany the dial-up internet packages from most of the ISPs. DHCP is
    what allots you a unique IP address everytime you dial out to your ISP. Here's ....
  7. Howto: Setup Windows NT/2K Domain Using SAMBA
    and make Windows 2000 Logon to Linux (9)
    Howto: Setup and emulate a Windows NT Domain on Linux and make Windows 2000/XP log on
    =========================================================================== HI all, I'm
    back with another Tutorial in the Linux series. This time we're going to with an issue that is
    very common in everyday networking and is implemented almost everywhere in some form or the other.
    The primary issue here is to make two DIFFERENT Operating Systems talk to each other over the
    network and synchonize and share files without letting off any hint about the complex protocols i....
  8. Howto: Domain Name Server On Linux
    DNS for your Intranet (or Internet) Serv (7)
    HOWTO: Setup a Local Domain Name Server (DNS) for your Intranet
    ==================================================================== Experimentation Platform:
    ------------------------- Intel P4 3.0Ghz (Intel MB) 1 GB RAM 2 x 80 GB HDD on RAID 1 (Disk
    Mirroring) - alloted entirely to Linux OS: ------------------------- Linux - Redhat Enterprise AS
    Server v3 Note: a. I was trying to setup the system so that later on when my server goes
    online, I don't have to modify much to make my nameservers work with the internet - so I used my
    registered domain "mi....

    1. Looking for howto, change, graphical, login, text, vice, versa, redhat, and, fedora, core

Searching Video's for howto, change, graphical, login, text, vice, versa, redhat, and, fedora, core
advertisement




Howto: Change Graphical Login To Text - and vice-versa ..in Redhat & Fedora Core



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE