Skip to content

Instantly share code, notes, and snippets.

@easycodesnipper
Last active July 28, 2023 02:40
Show Gist options
  • Save easycodesnipper/63f0a4807f3c0586ecc88a9e3ba79acd to your computer and use it in GitHub Desktop.
Save easycodesnipper/63f0a4807f3c0586ecc88a9e3ba79acd to your computer and use it in GitHub Desktop.
Enable/Disable GUI startup
# Get default startup target
sudo systemctl get-default 

# Enable GUI startup
sudo systemctl set-default graphical.target

# Disable GUI startup
sudo systemctl set-default multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment