LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-06-2001, 11:13 AM   #1
sarmadys
Member
 
Registered: Nov 2001
Distribution: Solaris, Redhat AS, SUSE
Posts: 52

Rep: Reputation: 16
How to disable XWindow Login


Hello

I use RedHat 7.2 (with gnome).

If I forget to choose Text Login as default then how can I disable it after installation? (it starts XWindow Login by default)

Thank you,
Mac

Last edited by sarmadys; 12-06-2001 at 11:15 AM.
 
Old 12-06-2001, 11:52 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
there's probably a pretty way to do it, but the easiest way is to edit the /etc/inittab file and change the id:5:initdefault line to 3 rather than 5. i think that's what the line says.. it's pretty obviosu in the file tho when you look at it
 
Old 12-06-2001, 11:55 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Its in /etc/inittab.
Find the line that sez "default" , which has a 5 in it, 5 is the runlevel Xdm starts in. Change the 5 to read 3 and you'll have the text-based login.
 
Old 12-06-2001, 09:33 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
x:3:respawn:/etc/X11/prefdm -nodaemon
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
After login, Xwindow refuses to boot juanjavier_xxx Linux - Newbie 2 08-26-2004 04:35 AM
unable to go to xwindow and login prompt x2000koh Linux - Software 7 07-15-2003 10:12 PM
Disable XWindow on Startup Dijeeh Linux - Newbie 2 03-22-2003 02:47 PM
Xwindow login prompt crashes uglykid Linux - Software 3 07-25-2001 08:38 AM
Xwindow login prompt problems uglykid General 1 07-20-2001 07:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration