[nzlug] How to switch from desktop mode to server mode?
Nevyn
nevynh at gmail.com
Tue Aug 1 11:58:27 NZST 2006
On 8/1/06, Nevyn <nevynh at gmail.com> wrote:
> On 8/1/06, Craig Box <craig at dubculture.co.nz> wrote:
> > Sid Bachtiar wrote:
> > > Is there a way to turn on and off Ubuntu from desktop mode to server
> > > mode and back? (I installed Ubuntu 5.10 desktop then upgraded to 6.06
> > > desktop).
> >
> > You could uninstall all the desktop packages (hard), or you could just tell
> > it not to boot into desktop mode (easier). I don't remember how to set the
> > default runlevel off the top of my head, but if that is what you want, I'm
> > sure an answer is on its way.
> >
> > Craig
>
> Edit /etc/inittab and look for the line that says "default runlevel".
> 5 Will give you desktop and 3 will give you "server".
>
> Alternatively, edit grub/lilo (not sure which one Ubuntu uses) and add
> another entry using all the same options (except the name) - on one
> put init=3 and on the other put init=5.
>
> That way you can always just chose what you want at boot up.
Just had a look at the rest of the thread - if you go to /etc/rc.3 you
should see something along the lines of S99gdm or S99kdm (something
along those lines anyway) - remove this (it's a link - file is in
/etc/rc.d) and it should distinguish runlevel 3 from 5.
More information about the NZLUG
mailing list