Skip to content

Instantly share code, notes, and snippets.

@rava-dosa
Last active December 1, 2017 14:48
Show Gist options
  • Save rava-dosa/15668a2ea1206932cd1868a52d8d1f4c to your computer and use it in GitHub Desktop.
Save rava-dosa/15668a2ea1206932cd1868a52d8d1f4c to your computer and use it in GitHub Desktop.
  • xauth list
  • For example add apoorva/unix:$DISPLAY(0,1) MIT-MAGIC-COOKIE-1 72c0f18181c1f08a06df2f5bbaa861cc
  • copy whole line
  • sudo docker run -i -t --privileged --net=host -e DISPLAY -v /tmp/.X11-unix apoorva/weed1 bash
  • in docker image
  • apt install auth
  • xuth add (paste cookie)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment