Connect to a VNC server and record to an output file