Skip to content

Instantly share code, notes, and snippets.

@jamesrr39
Created March 15, 2016 16:09
Show Gist options
  • Save jamesrr39/4073d72c2864d32d6cd0 to your computer and use it in GitHub Desktop.
Save jamesrr39/4073d72c2864d32d6cd0 to your computer and use it in GitHub Desktop.
Running GUI applications as another user

For running GUI applications as another user

otheruser=<username>
xhost +SI:localuser:$otheruser
su $otheruser
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment