I want my Ubuntu 16.04 to not start GUI on boot and show command line console only. I have tried the following recipies but none of them are for version 16.04 and so they do not seem to work — GUI starts anyway:
Ideally I also want to be able to start GUI by typig a command.
Best Answer
You could disable the display manager service with
systemctl
. For example if your display manager islightdm
then run:This will prevent the service from starting at boot.
Edit:
I forgot to mention how to start the GUI. It is as simple as starting the systemd service: