Console Mode

Levander levander at mindspring.com
Sat Jul 30 05:32:17 UTC 2005


dipankar das wrote:

>Hello Friends
>
>Usually, in other Linux distros, editing the '/etc/inittab' allows me to boot 
>in console mode, and then go X when i want with 'startx' or something like 
>that. 
>
>But, here, in Ubuntu, the init is already 2 in default, so is there any 
>possible way to boot without X? I made 3 as init-default and that made the 
>system a bit unpredictable during the boot and then boot into X. 
>
>  
>
So you're default runlevel in your /etc/inittab file is N.  Then, all 
scripts that start with an 'S' in the /etc/rcN.d directory get run on 
bootup with the argument start. The ones that start with a 'K' get run 
with the argument stop or something like that.

There's a script in /etc/rc2.d that starts with an 'S' that starts 
X-windows. From looking quickly on my machine, I think it's S13gdm.  
Change the name of that script to K13gdm.  Then, X-Windows won't be 
started when you boot.

-Levander




More information about the ubuntu-users mailing list