LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   Disable GUI boot on Init 5 (https://www.linuxquestions.org/questions/linux-enterprise-47/disable-gui-boot-on-init-5-a-441752/)

rickylim 05-04-2006 11:09 PM

Disable GUI boot on Init 5
 
Dear all,

I am currently running linux enterprise 4 ES. Default login is init 5.

My questions is:-
1) How can i disable the GUI boot in init 5 without having to change to init 3. And when we type #startx only it will load GUI.

Please advice

Many Thanks

rgds.
Lim

raskin 05-05-2006 12:38 AM

What for?? Why not init 3? Try going /etc/rc.d/rc5.d (or similar?) and finding *xdm/*kdm/whatever boots to allow you graphical login and renaming it in order to not have S as a first letter of the symlink. You'll be left with text console after reboot, I hope.

reddazz 05-05-2006 02:12 AM

For what you want to do, setting the system to boot at init 3 seems a lot easier than finding some hack to stop the login manager.

Harry Seldon 05-05-2006 02:45 PM

Plus, if you set it at init 3, you should still be able to execute startx and fire up the GUI at your discretion.

LinuxGeek 05-30-2006 02:01 PM

As far as I remember, the GUI is started from /etc/inittab under RHEL. Open /etc/inittab and you should find that the last 1 or 2 lines in the file are the ones that start X in runlevel 5. It's the one that has the following in it: /etc/X11/prefdm Comment out the line(s) and then your system should boot without X. But, as suggested in the previous posts, it probably best you just go to runlevel 3. Or, if you really want to, you could customize runlevel 4 to do this.

Note:
The following link gives you detailed information about the RHEL boot process: http://www.redhat.com/docs/manuals/e...n-process.html


All times are GMT -5. The time now is 04:24 AM.