I want to permanently switch from GUI mode to text mode interface in Ubuntu 16.04.
I tried editing the configuration in /etc/default/grub as follows:
- Adding
#
beforeGRUB_CMDLINE_LINUX_DEFAULT="quite splash"
- Adding "text" in
GRUB_CMDLINE_LINUX="text"
- Removing
#
beforeGRUB_TERMINAL=console
- And at last running
update-grub
.
But it didn't work. So what should I do to permanently switch to command line/text interface in Ubuntu?
Best Answer
You need to disable display-manager service since ubuntu 16.04 moved to systemd.
After a reboot it will boot into text mode. Be cautious however, some hardware driver combinations have dead virtual consoles...if that happens, add
nomodeset
into your kernel parameter to boot the system, it will boot with default graphic settings from boot loader.