I am looking to run Ubuntu/Xubuntu in a complete non-GUI mode. Like, when the system starts it needs to log in into console. That is all, no loading of any display manager, x server, GUI-based app support, nothing in the background either for GUI.
|
What you want is can be achieved by installing Ubuntu Server Edition which does not has a display manager, X server etc. But if you do have an Ubuntu or a Xubuntu installation in your computer and want to work in a non-GUI environment, you can use virtual consoles which are called tty.
To restart GUI, And you are ready to work in an environment as you described in your post. Another workaround you can use to remove a lot of packages to obtain "pure Ubuntu" as described in this blog post. For Xubuntu, the command that will leave you with "pure Ubuntu" is
I removed the last command, which is |
|||||||||||||
|
|
You can simply disable X from startup. Install rcconf:
Run it with sudo:
And search for the entry x11-common, disable it and select OK. Then reboot.
If you ever change your mind, Xorg will be still installed, but it won't load on startup so you just need to re-run rcconf and re-enable x11-common. |
|||||||||||||
|
|
Actually it is easy to do but it would be little risky for beginners. Also it would not be the best way but you can easily achieve this. I'm posting the way to make Ubuntu to run without GUI mode also how to revert: Make Ubuntu to run without GUI You have to un-install the only display manager installed to your system. It would be
Then restart your system. Your system will start in CLI mode. You may have to press Ctrl+Alt+F1 to go to CLI Revert Back to GUI Mode Again install the display manager to get the display. Use following command to do so:
and restart your system with:
That's it. Reply if you need any help or something goes wrong. |
|||||||||||||||||
|
|
With Ubuntu 15.10, I had to:
The |
||||
|
|
|
Updating grub file's parameters worked for me. First backup original grub file.
If for some reason you want to revert to original settings, just run command below in terminal:
Now edit the grub file
Finally run grub update and restart the system. Next time it will come up with terminal mode.
As explained here. |
|||||||||||||||||
|
|
To ensure a complete non-GUI mode boot on Ubuntu without installing or uninstalling anything, do the following:
Now, every time you boot your system, you'll boot into a terminal.
|
||||
|
|
