[wplug] ubuntu install - dies on X

Rick Reynolds rick at rickandviv.net
Tue May 10 15:38:01 EDT 2005


Carl Benedict wrote:

>On Tue, 2005-05-10 at 13:16 -0400, Brian Sammon wrote:
>  
>
>>>Unlike RH/Fedora, Debian/Ubuntu doesn't use the runlevel to determine
>>>whether or not to start X; it simply uses the presence of the gdm (or
>>>      
>>>
>>Actually, Debian _does_ tie it to runlevel.   It's just that it's configured 
>>by default to do it at _every_ runlevel.
>>It doesn't do it through /etc/inittab like other distributions.  But if you 
>>want to turn off gdm for a particular runlevel, go to /etc/rc2.d (for runlevel 
>>2; replace 2 with the appropriate number for other levels) and rename the gdm 
>>file there to something starting with K.
>>
>>    
>>
>
>I don't know much of anything about Debian, but Ubuntu does
>use /etc/inittab to determine runlevel.  I've never seen a Linux
>implementation that doesn't use /etc/inittab to do this.  If I change
>the line:
>
>id:2:initdefault:
>
>Which is default in Ubuntu (Hoary)
>to:
>
>id:1:initdefault:
>
>I'm definitely presented with a single-user root shell.
>  
>

Debian respects the inittab setting just fine, it's just that upon 
installation runlevels 2-5 are all the same.  You can change that if you 
like.  I've got runlevel 3 setup to not run X, for example.

Thanks,
Rick Reynolds
-- 
 Proper treatment will cure a cold in seven days, but left to itself, a 
cold will hang on for a week. -- Darrell Huff



More information about the wplug mailing list