User`s manual

18 Installing and Using the Axel-VNCviewer
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
HOST=`hostname`
/usr/local/bin/Xvnc $DISPLAY -ac -query $HOST -once -terminate -geometry
800x600 -depth 8 -rfbwait 120000 -rfbport $PORT -fp unix/:-1 -cc 3 -co
/usr/lib/X11/rgb
IMPORTANT
: The
-fp unix/:-1
option requires a font server to be available. If
the font server is not enabled, the Xvnc daemon will terminate. To check the X
resources, invoke
'xset -q'
. The
font path
section lists the font information. Use
the same information for the Xvnc -
fp
option. For more information, refer to
Chapter 7.2.
Note for SuSE:
if the keyboard management is not correct (i.e. unable enter the
username through the X login box), the
/etc/X11/xdm/Xsetup
file must be
modified. For the TCP/IP connections, remove all lines related to the
xmodmap
command from this file:
if test -x $xmodmap ; then
if test -z "${DISPLAY%:*}" ; then
# local connection
test -r $sysmodmap && $xmodmap $sysmodmap
else
# TCP/IP connection (remote or local)
### NOT NEEDED FOR VNC
### test -r $defmodmap && $xmodmap $defmodmap
### test -r $hostmodmap && $xmodmap $hostmodmap
fi
fi