Skip to content

Instantly share code, notes, and snippets.

@commondatageek
Created May 15, 2017 17:52
Show Gist options
  • Save commondatageek/f8acb6e80c83f57c0bd0511f718a54e1 to your computer and use it in GitHub Desktop.
Save commondatageek/f8acb6e80c83f57c0bd0511f718a54e1 to your computer and use it in GitHub Desktop.
Ubuntu toggle between text and graphical boot modes
# From https://askubuntu.com/a/870226
# Tested on Ubuntu 17.04 on 2017-05-15
# To boot Ubuntu Desktop without X one time, add systemd.unit=multi-user.target to the linux command line in GRUB.
# To make this the default, use:
sudo systemctl set-default multi-user.target
# To return to default booting into X, use:
sudo systemctl set-default graphical.target
# To see the current default target:
sudo systemctl get-default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment