## ## Configuration of the TurboVNC Server. ## ## This file uses Perl syntax, although only one-line assignments ## are allowed. Assignments can be applied to the following variables: ## ## $geometry -- desktop geometry, WIDTHxHEIGHT or ## W0xH0+X0+Y0[,W1xH1+X1+Y1,...,WnxHn+Xn+Yn] ## $depth -- color depth in bits per pixel (between 8 and 32) ## $desktopName -- X desktop name ## $vncUserDir -- path to TurboVNC user directory (session information, ## VNC passwords, and log files are stored here) ## $fontPath -- X font path ## $securityTypes -- comma-separated list of security types to enable ## (passed to Xvnc in the -securitytypes argument) ## $generateOTP -- 1 to generate an initial one-time password. (OTP ## authentication must be enabled and permitted) ## $wm -- the window manager to use (for instance, "mate" or "2d".) ## This variable is ignored if $xstartup or $noxstartup is ## specified. ## $useVGL -- 1 to run the window manager using VirtualGL. This variable ## is ignored if $xstartup or $noxstartup is specified. ## $autokill -- 1 to automatically kill the TurboVNC session when the ## X startup script finishes or 0 to leave it running ## $noVNC -- directory containing noVNC ## $passwdFile -- path to VNC password file to use with VNC Password ## authentication ## $x509CertFile -- path to X.509 signed certificate file (in PEM format) to ## use with X.509 encryption ## $x509KeyFile -- path to X.509 private key file (in PEM format) to use with ## X.509 encryption ## $xstartup -- path to alternative X startup script ## $noxstartup -- 1 to start the TurboVNC session with no X startup script ## $serverArgs -- additional arguments to pass to Xvnc (refer to the Xvnc man ## page for a list of accepted arguments) ## $useUDS -- listen on a Unix domain socket rather than a TCP port for ## connections from VNC viewers ## ## These settings are the default. Uncomment and edit to change. # # $geometry = "1240x900"; # $depth = 24; # $desktopName = "TurboVNC ($ENV{USER})"; # $vncUserDir = "$ENV{HOME}/.vnc"; # $fontPath = ""; # $securityTypes = "TLSVnc, TLSOtp, TLSPlain, X509Vnc, X509Otp, X509Plain, VNC, OTP, UnixLogin, Plain"; # $generateOTP = 0; # $wm = ""; # $useVGL = 0; # $autokill = 1; # $noVNC = ""; # $xstartup = "${exedir}xstartup.turbovnc"; # $noxstartup = 0; # $serverArgs = ""; # $useUDS = 0; ## Here is an example of setting the font path: # # $fontPath = "/usr/lib/X11/fonts/misc/" # $fontPath = "$fontPath,/usr/lib/X11/fonts/75dpi/"; ## You might wish to create the TurboVNC user directories under /tmp, to ## ensure that VNC passwords are always kept on the local filesystem. To do ## that, uncomment the line below. Note that in this case, Xvnc will search ## for the .Xauthority file in this same directory by default. # # $vncUserDir = "/tmp/$ENV{USER}-vnc"; ## These settings are the default. Uncomment and edit to change. # # $passwdFile = "$vncUserDir/passwd"; # $x509CertFile = "$vncUserDir/x509_cert.pem"; # $x509KeyFile = "$vncUserDir/x509_private.pem";