RE: stop booting to gui?
The correct answer is sudo update-rc.d gdm remove this will remove gdm (which starts X) from startup. I love the rich number of options to do anything under Linux. This answer from Nick above (with -f flag) was the one that worked for me in the end. Thanks everyone, Bryce Stenberg. DISCLAIMER: If you have received this email in error, please notify us immediately by reply email, facsimile or collect telephone call to +64 3 9641200 and destroy the original. Please refer to full DISCLAIMER at http://www.hrnz.co.nz/eDisclaimer.htm
Re: stop booting to gui?
Nick Rout wrote: sudo update-rc.d gdm remove this will remove gdm (which starts X) from startup. You may also be interested in the package sysv-rc-conf, a nice ncurses-based tool for futzing with the startup scripts (whatever they're called). --Aidan
Re: stop booting to gui?
Just add NOX to the end of the startup line in the grub config file. Your machine will then boot to a login: screen. 2009/9/25 Aidan Gauland wgsil...@no8wireless.co.nz: Nick Rout wrote: sudo update-rc.d gdm remove this will remove gdm (which starts X) from startup. You may also be interested in the package sysv-rc-conf, a nice ncurses-based tool for futzing with the startup scripts (whatever they're called). --Aidan -- Sincerely etc. Christopher Sawtell
Re: stop booting to gui?
sudo /etc/init.d/gdm stop ( or kdm - I think =- if you're one of those strange people who prefer KDE (: ) Remove the symbolic link /etc/rc2.d/Sxxgdm and it won't start automagically. On Fri, 2009-09-25 at 14:35 +1200, Bryce Stenberg wrote: Hi, Can someone please give me a quick pointer to where I stop my machine booting to the gui? I installed Ubuntu server. Then also installed Ubuntu-desktop to get a gui when I want one. But now I can’t find where to tell it not to use the gui until I type ‘startx’ or something along those lines. Being an older machine and setting it up as a server, I only want to use the gui when I don’t know how to do something easily from the command line. I’ve been googling for it but seem to only keep finding people wanting it the other way round, as in how to start the gui…. TIA. Regards, Bryce Stenberg IT Department Harness Racing New Zealand Inc DISCLAIMER: If you have received this email in error, please notify us immediately by reply email, facsimile or collect telephone call to +64 3 9641200 and destroy the original. Please refer to full DISCLAIMER at http://www.hrnz.co.nz/eDisclaimer.htm -- Steve Holdoway st...@greengecko.co.nz http://www.greengecko.co.nz MSN: st...@greengecko.co.nz GPG Fingerprint = B337 828D 03E1 4F11 CB90 853C C8AB AF04 EF68 52E0 signature.asc Description: This is a digitally signed message part
Re: stop booting to gui?
On Fri, 25 Sep 2009 14:35:07 Bryce Stenberg wrote: Hi, Can someone please give me a quick pointer to where I stop my machine booting to the gui? I installed Ubuntu server. Then also installed Ubuntu-desktop to get a gui when I want one. But now I can't find where to tell it not to use the gui until I type 'startx' or something along those lines. Being an older machine and setting it up as a server, I only want to use the gui when I don't know how to do something easily from the command line. Got to your terminal and type: sudo gedit /etc/inittab This should give you a blank editor window to work with Type into it: id:3:initdefault and then save If it is not blank find the line: id:5:initdefault and change the five to a three. The part about using the sudo command I'm not so sure about since I don't use Ubuntu much. If it doesn't work check the manual using: man sudo -- Quote of the login: Real Users never use the Help key.
Re: stop booting to gui?
On Fri, Sep 25, 2009 at 2:59 PM, steve st...@greengecko.co.nz wrote: On Fri, 2009-09-25 at 14:55 +1200, Ryan McCoskrie wrote: Got to your terminal and type: sudo gedit /etc/inittab This should give you a blank editor window to work with Type into it: id:3:initdefault and then save If it is not blank find the line: id:5:initdefault and change the five to a three. ... unfortunately, Ubuntu is debian based, and for some unknown reason, they use runlevel 2 for multiuser work by default - text or graphical. Steve The correct answer is sudo update-rc.d gdm remove this will remove gdm (which starts X) from startup.
Re: stop booting to gui?
On Fri, 25 Sep 2009 15:11:51 Nick Rout wrote: The correct answer is sudo update-rc.d gdm remove this will remove gdm (which starts X) from startup. What he said. You may need a -f in there too? hads -- https://nicegear.co.nz VoIP and Open Source Hardware