Skip to content

Instantly share code, notes, and snippets.

@debuglevel
Created August 10, 2016 18:33
Show Gist options
  • Save debuglevel/a292f494b4b5599b549a657ea417ab9f to your computer and use it in GitHub Desktop.
Save debuglevel/a292f494b4b5599b549a657ea417ab9f to your computer and use it in GitHub Desktop.
grant sudo user rights to use current DISPLAY in SSH X11 forwarding
# run as non-privileged user
xauth extract - $DISPLAY | sudo xauth merge -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment