LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to disable XWindow Login (https://www.linuxquestions.org/questions/linux-general-1/how-to-disable-xwindow-login-9725/)

sarmadys 12-06-2001 11:13 AM

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

acid_kewpie 12-06-2001 11:52 AM

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

unSpawn 12-06-2001 11:55 AM

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.

DavidPhillips 12-06-2001 09:33 PM

x:3:respawn:/etc/X11/prefdm -nodaemon


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