To activate/deactivate the GUI when running:
sudo systemctl isolate graphical
sudo systemctl isolate multi-user
and to do this at boot
sudo systemctl set-default multi-user.target
sudo systemctl set-default graphical.targetTo activate/deactivate the GUI when running:
sudo systemctl isolate graphical
sudo systemctl isolate multi-user
and to do this at boot
sudo systemctl set-default multi-user.target
sudo systemctl set-default graphical.target