Modes need be given as string as otherwise they will be treated as non-octals.
Make sure the .vnc directory exists for Jenkins.