Skip to content

Instantly share code, notes, and snippets.

@albertohm
Created July 2, 2012 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save albertohm/3033991 to your computer and use it in GitHub Desktop.
Save albertohm/3033991 to your computer and use it in GitHub Desktop.
Start Xnc
# Start the Xvnc server whatever happens
( ( nc -z -w 1 localhost 5900 || Xvnc4 -geometry 1680x1080 -SecurityTypes None) & ) &>> /tmp/xvnc4.log
export DISPLAY=:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment