Batch Connect VNC Options
All the options in Basic Batch Connect Options apply in addition to what's listed below.
batch_connect: template: "vnc" conn_params: - host - port - password - spassword - display - websocket websockify_cmd: "/opt/websockify/run" vnc_passwd: "vnc.passwd" vnc_args: nil name: "" geometry: "" dpi: "" fonts: "" idle: "" extra_args: "" vnc_clean: "..." websockify_heartbeat_seconds: 30
- websockfiy_cmd (String, "/opt/websockify/run")
 the command to start
websockify.- Default
 The
/opt/websockify/runcommand.websockfiy_cmd: "/opt/websockify/run"
- Example
 The
/usr/bin/websockifycommand.websockify_cmd: "/usr/bin/websockify"
- vnc_passwd (String, "vnc.passwd")
 the file
vncserverwill read for a password- Default
 a file named
vnc.passwd.vnc_passwd: "vnc.passwd"
- Example
 a file named
my-other-vnc.passwd.vnc_passwd: "my-other-vnc.passwd"
- vnc_args (String, "")
 VNC arguments to use instead of the specific options
name,geometry,dpi,fonts,idleandextra_args.- Default
 no arguments
vnc_args: ""
- Example
 Only specify the
xstartupoption.vnc_args: "-xstartup /opt/vnc/startup.sh"
- name (String, "")
 the desktop name
- Default
 do not specify name,
vncserverdefaults tohost:display# (username)name: ""
- Example
 boot
vncserverwith-name ood-$USER-$DISPLAYargument.name: "ood-ood-$USER-$DISPLAY"
- geometry (String, "")
 the geometry size of the VNC desktop
- Default
 do not specify geometry, TurboVNC defaults to
1240x900geometry: ""
- Example
 boot
vncserverwith-geometry 1920x1080argument.geometry: "1920x1080"
- dpi (String, "")
 the dots per inch setting of the VNC desktop
- Default
 do not specify dpi
dpi: ""
- Example
 boot
vncserverwith-dpi 96argumentdpi: "96"
- fonts (String, "")
 the font path for X11 fonts
- Default
 do not specify
-fpoptionfonts: ""
- Example
 boot
vncserverwith the-fp unix/:7100argument.fonts: "unix/:7100"
- idle (String, "")
 the idle timeout setting for the
vncserver.- Default
 do not specify
-idletimeoutoptionidle: ""
- Example
 boot
vncserverwith-idletimeout 3600argumentidle: "3600"
- extra_args (String, "")
 any extra arguments to pass into
vncserver.- Default
 do not specify extra arguments
idle: ""
- Example
 set the color depth of the
vncserverto 32, in addition to any other specific argument given aboveextra_args: "-depth 32"
Warning
These items below should not be set by users. They are given for completeness only. It's likely they'll cause errors if overridden.
- conn_params (Array<String>,
 - ['host','port','password','spassword','display','websocket'])
 the connection parameters that will be written to the
conn_file- Default
 host,port,password,spassword,displayandwebsocket.conn_params: - 'host' - 'port' - 'password' - 'spassword' - 'display' - 'websocket'
- Example
 The API to connect to can change in the
script.sh.erbbased off of something that can only be determined during the job (for example an environment variable in a module).conn_params: - the_connect_api
- websockify_heartbeat_seconds (Integer, 30)
 The duration in seconds
websockifywill wait to send heartbeats to the client.- Default
 websockifywill send heartbeats every 30 seconds.websockify_heartbeat_seconds: 30
- Example
 Have
websockfiysend heartbeats every 10 seconds.websockify_heartbeat_seconds: 10