Skip to content

Instantly share code, notes, and snippets.

@akiatoji
Created August 8, 2020 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akiatoji/3885ef3684534f84c70b4110e22848d2 to your computer and use it in GitHub Desktop.
Save akiatoji/3885ef3684534f84c70b4110e22848d2 to your computer and use it in GitHub Desktop.
Ubuntu headless disable power management and X startup
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
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