Skip to content

Instantly share code, notes, and snippets.

@lukewpatterson
Created December 4, 2012 21:15
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 lukewpatterson/4208765 to your computer and use it in GitHub Desktop.
Save lukewpatterson/4208765 to your computer and use it in GitHub Desktop.
Enable VNC-published virtual X session on that Travis box
$ sudo apt-get install x11vnc vnc-java xterm openbox
$ export DISPLAY=:99.0
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16
$ openbox-session &
$ x11vnc -display :99 -httpdir /usr/share/vnc-java -httpport 5800 -loop &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment