User`s manual

Installing and Using the Axel-VNCviewer 15
Copy
govnc.KDE22
from Axel supplied CD-ROM to /etc and rename to govnc.
Set execute permission by invoking
chmod +x /etc/govnc
.
For each VNC connection, add a line in /etc/inittab as shown below (the govnc
parameters are the DISPLAY number, the resolution and the number of
bits/pixel):
axv1:5:respawn:/etc/govnc 1 800x600 8 1>/tmp/axvnclog1 2>&1
axv2:5:respawn:/etc/govnc 2 800x600 8 1>/tmp/axvnclog2 2>&1
These modifications will take effect after invoking:
# init q
The following shows the govnc script:
DISPLAY=":"$1
PORT=`expr 5900 + $1`
GEOMETRY=$2
if [ "$3" = "8" ]; then
BPP="-depth 8 -cc 3"
else
BPP="-depth 16"
fi
/usr/local/bin/Xvnc $DISPLAY -ac -query localhost -once -geometry
$GEOMETRY $BPP -rfbwait 120000 -rfbport $PORT
These modifications will take effect after rebooting the Linux server.
The Axel-VNCviewer should display an X login. If not, check the access
restriction listed in
Xaccess
(generally any host is authorised). See Chapter 7.6.
b) KDE (kdm)
With KDE, X terminals are controlled through the
Xservers
file. The possible
locations are operating system dependent:
- /etc/xdm/X11: Red Hat, SuSE and Mandrake
- /etc/kdm/X11: Open Linux Caldera
- /usr/X11R6/config/kdm: Corel Linux