Nov 23, 2009

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

free web hosting
Open Discussion & 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,
    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.... smile.gif

All the best

 

 

 


Comment/Reply (w/o sign-up)

qwijibow
cool...

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

Comment/Reply (w/o sign-up)

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

Comment/Reply (w/o sign-up)

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

-reply by Homa

Comment/Reply (w/o sign-up)

ergoxsx
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.



QUOTE(iGuest-Homa @ Jul 4 2008, 01:23 AM) *
Hello,
I tried and did not work,still booting with X(I am running Red hat 5)
Any suggestions.Thanks ..Homa

-reply by Homa


Comment/Reply (w/o sign-up)

wutske
QUOTE(qwijibow @ Feb 11 2005, 02:24 PM) *
cool...

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


I just use init 3 or init 5 without rebooting rolleyes.gif , 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 cool.gif ,

Comment/Reply (w/o sign-up)

yordan
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

Comment/Reply (w/o sign-up)


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*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

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, (2)
  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 sho....
  4. Configuring Apache On Fedora Core 3 For Userdir
    Please SELinux, without turning it off! (3)
    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 defi....
  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'....
  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

See Also,

*SIMILAR VIDEOS*
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

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com