fixed vnc function for bash and fish