Operating System - Linux
1752586 Members
4018 Online
108788 Solutions
New Discussion юеВ

Re: Start xwindows when boot up

 
SOLVED
Go to solution
juno2
Super Advisor

Start xwindows when boot up

I have just newly install the linux , but everytime when boot up the linux , it will go to xwindows automatically not the shell, how to disable it ? thx
4 REPLIES 4
Kjartan Maraas
Valued Contributor
Solution

Re: Start xwindows when boot up

This is set in /etc/inittab

change startup runlevel to 3 instead of 5 there and you'll get the console instead of X.
Caesar_3
Esteemed Contributor

Re: Start xwindows when boot up

Hello!

Just like Kjartan write, but you
can also when you up to xwindows press
and enter to terminal and
by pressing return back to xwin.

Caesar
Steven E. Protter
Exalted Contributor

Re: Start xwindows when boot up

There is a option at install time where you actually get to check a box and decide whether the box boots graphical or not.

There will be more system resources in text mode, which is why I suspect you posted the question.

If you rename the file /etc/rc5.d/S90xfs to anything that doesn't include an capital S at the beginning, the font server won't load and the system will not boot into X.

There is a specific and probably less kludgy way to fix this at http://www.tldp.org

SEP


Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jordan Bean
Honored Contributor

Re: Start xwindows when boot up


As previously stated, if you wish to disable X11 on startup, change the initdefault from 5 to 3 in /etc/inittab.


If you need to down X11 without rebooting, then change the "x" option from respawn to off in addition to the above change. After saving the changes, run `telinit q`.


A word of caution when switching between graphical and text consoles: Only do so at the X login screen. If done while logged into an X session, that session may crash hard and ugly. (Well it does on my Brio running RH8.)