It appears that sudo systemctl disable gdm3 && sudo systemctl disable gdm
do not work in 18.04 to disable the windowing system at bootup. What's the method for doing this now?
It appears that sudo systemctl disable gdm3 && sudo systemctl disable gdm
do not work in 18.04 to disable the windowing system at bootup. What's the method for doing this now?
To disable GUI on boot, run:
To enable GUI again issue the command:
To start Gnome session on a system without a current GUI just execute:
To answer @nurp's comment
update your
/etc/default/grub
accordingly:run
sudo update-grub
.References
To shutdown gdm once started manually..
You simply execute:
In answer to the:
Not appearing to do anything commented by binarymelon
I can only assume you are doing this in the command line interface outside of the GUI... and you are receiving no response because the GUI service is already closed.
Alternatively, (what took many hours to learn and much longer to understand)...
I have found that everything depends on what you have done... for instance, installing
lightdm
with no “core
” or whatever will result in faulty "GUI-ness"...If you are indeed running the above command line interface instruction from a terminal within the GUI it will most certainly do something...
Mind you, this is my experience in 18.04.
If you are using
gdm3
then it will close and be just a (what I call an old-timey) cursor in the top left... and if you aren’t usinggdm3
then it will say:Note and helpful hint:
If u find yourself having stopped the service and still have no command line interface to type new commands on, try: CTRL + ALT + F3.
This is your one-stop shopping for the killing/shutdown of the GUI that is loaded no matter what it is... even if your password isn’t being accepted.
I know this to be true because if you attempt to restart the GUI “too soon” a.k.a while it is still in the process of closing/stopping, service/shutting down the GUI, then, in my experience the CLI will alert you to this fact and ask you to try again in a bit.