Creating and changing password files to be used with vnc
Usage
vncpasswd [file]
Overview
vncpasswd should be used to create and change passwords for the Virtual Network Computing (VNC) server authentication.
Examples
vncpasswd
Invoke vncpasswd and create or change the default password file.
vncpasswd /tmp/foo
Invoke vncpasswd and create or change the password in file /tmp/foo.
Overview
Xvnc is a free X server that can be used to display and control X sessions platform independent over the network. To connect to a VNC X server, the client viewer will request a password from the user. This password will be compared with the password in the file specified with the -rfbauth option to the VNC server.
The password has to be longer than five characters. Only the first eight characters are significant. If the password is too short or if the password file can't be opened for writing, the program will abort and exit with error code 1.
Defaults
vncpasswd without a command line argument will look for a $vncPasswdFile variable in /etc/vnc.conf and in ~/.vncrc. If this is found, the password in the specified file will be changed.
If not, the password file to be changed or created will default to ~/.vnc/passwd.
Options
file
The password file to create or change.
Files
/etc/vnc.conf, ~/.vncrc
This files will be scanned for $vncPasswdFile. The last occurence specifies the password file to create or change. If no variable with this name is found and no filename on the command line specified, the default name will be used (see above).