Skip to content

Instantly share code, notes, and snippets.

@henriquegogo
Created May 7, 2019 02:42
Show Gist options
  • Save henriquegogo/8dc80400d0f7b99072f60b77ed09a16c to your computer and use it in GitHub Desktop.
Save henriquegogo/8dc80400d0f7b99072f60b77ed09a16c to your computer and use it in GitHub Desktop.
Run startx after login
# ...
# Run startx on boot
if [[ ! $DISPLAY && XDG_VTNR -eq 1 ]]; then
exec startx
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment