Turn on / off Ubuntu 20.04 graphical interface

Close the graphical interface

sudo systemctl set-default multi-user.target

Restart to take effect

sudo reboot

 
Open the graphical interface

sudo systemctl set-default graphical.target

Restart to take effect

sudo reboot

 


Read More: