[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Boot Debian to a command line and prevent X from starting on boot



Robert Menes wrote:
> Hi folks, I have a Debian lenny-stable install that I need a little
> memory refresher with.
>
> I need to boot and go straight to a terminal, and not start X on
> bootup. I know there was a
> way of doing so, but I forgot (I'm a little rusty and need to not be rusty).
>
> Can someone tell me how to just boot and land on the command line,
> bypassing X? Thanks!
>
> --Rob
>   
What I would do is deactivate [x|w|g|k]dm by editing the appropriate
/etc/init.d/[?]dm script and adding a single line:

exit 0

as the first executable line of that script.

There are a dozen ways of doing what you want to do; this is probably
the method I'd use.

-- 
Kent West     <*)))><
http://kentwest.blogspot.com


Reply to: