User`s manual

34 Installing and Using the Axel-VNCviewer
6.1 - VNC AUTHENTICATION
The VNC protocol makes the AX3000 "stateless". If a user disconnects from a
given server and subsequently reconnects to that same server, the state of the
user interface is preserved. Furthermore, a different client (terminal) can be
used to connect the same VNC server.
This feature has many useful aspects, but also can have security implications.
To provide security in this situation authentication can be enabled: ie a password
is required when the VNC connection is opened.
Note
: this password is independent from the Unix log-on password
To create (or modify) a VNC password invoke
vncpasswd
. (The only
vncpasswd requirement is the /$HOME/.vnc directory exists). vncpasswd stores
the password (and only one password) in the /$HOME/.vnc/passwd file.
Before using vncpasswd, check the /$HOME/.vnc directory exists. If not, create
one:
# mkdir /$HOME/.vnc
Creating one or more VNC passwords:
Invoke vncpasswd. The password must be entered twice (6 characters at least).
This password is stored in /.vnc/passwd.
If several VNC passwords are needed, copy /.vnc/passwd to /.vnc/passwd1
(/.vnc/passwd2, /.vnc/passwd3…). Then invoke again vncpasswd to enter
another password.
Modifying the Xvnc command line:
To enable the VNC authentication, add the
-rfbauth
option in the Xvnc
command line. This option must be followed by the password file.