I've installed ubuntu 10.10 x86_64 desktop version, which defaults to Xorg login
I want to temporarily switch this machine to server mode, basically i "suspect" this entails setting to runlevel 3 and headless mode somewhere
what are the details of this? Also very important is how do i re enable desktop mode again?
AFAIK Ubuntu doesn't use the runlevel, in fact the
/etc/rc*.d
directory are the same. If your goal is to not run Xorg automatically just edit/etc/default/grub
and modify the line:in
then type:
to switch back delete "text" and re-run
sudo update-grub
If for headless or server mode you mean without graphical interface, it is sufficient to stop
gdm
:so that you remain only with virtual consoles.
To enable again the graphical login, start
gdm
:Be aware that this can make your network stop working.
To avoid this it is probably enough to set the connection as a System connection in network manager
Try running this command:
That'll make the system go to runlevel 3, if you want to get back to "normal" re-run the command like this: