Skip to content

Instantly share code, notes, and snippets.

@gbzarelli
Created November 6, 2018 16:38
Show Gist options
  • Save gbzarelli/83b2579b0cef36b7b042060d5e8800e3 to your computer and use it in GitHub Desktop.
Save gbzarelli/83b2579b0cef36b7b042060d5e8800e3 to your computer and use it in GitHub Desktop.
Desabilitar / Hanilitar interface grafica no Debian

In order to make text boot the default under systemd (regardless of which distro, really):

systemctl set-default multi-user.target

To change back to booting to the GUI,

systemctl set-default graphical.target

I confirmed those work on my Jessie VM and Slashback confirmed it on Stretch, too.

PS: You don't actually need the X server on your machine to run X clients over ssh. The X server is only needed where the display (monitor) is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment