Skip to content

Instantly share code, notes, and snippets.

@aptivate
aptivate / README
Created July 13, 2011 17:16
README to go with fabfile for VNC connections - https://gist.github.com/1080774
These are files to make it easy to set up VNC connections.
QUICK GUIDE TO GETTING GOING
============================
The person who starts the connection should do:
fab startvnc
Anyone else wanting to join who has this fabric script can do:
@aptivate
aptivate / fabfile.py
Created July 13, 2011 17:13
Fabric script to manage ssh
# fabfile to set up a VNC server and connection
#
# Requires xtightvncviewer to be installed, but that appears to be part of
# the default ubuntu install.
#
# There are two use cases:
#
# * start vnc server on remote end, set up a ssh tunnel, and start vnc viewer
# using the server and ssh tunnel set up.
# * set up a ssh tunnel and connect vnc viewer to existing vnc server