Skip to content

Instantly share code, notes, and snippets.

@frankzhao
Last active August 29, 2015 14:19
Show Gist options
  • Save frankzhao/c2a8bfcb9acb2c1e206f to your computer and use it in GitHub Desktop.
Save frankzhao/c2a8bfcb9acb2c1e206f to your computer and use it in GitHub Desktop.
VNC currently active desktop

sudo apt-get install x11vnc

Set password x11vnc -storepasswd password /path/to/passfile or x11vnc -storepasswd to use ~/.vnc/passwd

x11vnc -display :0 -auth .Xauthority -rfbauth /path/to/passfile

or

x11vnc -usepw to automatically use your ~/.vnc/passwd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment