User`s manual

Installing and Using the Axel-VNCviewer 41
Note
: the RunScriptVNC parameters are the screen number, the resolution, the
number of colours (bits/pixel) and the dedicated application (absolute pathname
and parameters).
6.5.2 - Internet Terminal: Automatically Running Netscape
Instead of running the Netscape binary, it's better to run a script which performs
the following operations:
- running a window manager (twm). As Netscape generally creates
windows whilst browsing a windows manager is required.
- setting environment variables to allow Netscape to use different locations
for its resources (cache, historic files, etc.) according the display number.
In this case the following users are created: axel1, axel2, axel3, etc.
This is the runNS script (two parameters are needed, the screen number and
the resolution):
#!/bin/sh
MYUSER="axel"$1
HOME=/home/$MYUSER
LOGNAME=$MYUSER
USER=$MYUSER
USERNAME=$MYUSER
DISPLAY=":"$1
export DISPLAY
### IMPORTANT: add these 2 parameters in /usr/lib/X11/twm/system.twmrc
### RandomPlacement
### UsePPosition "on"
/usr/bin/X11/twm -display $DISPLAY &
/usr/bin/netscape -display $DISPLAY -geometry $2+0+0 http://www.axel.com
This script is run through
/etc/inittab
. Example:
axv1:5:respawn:/etc/RunScriptVNC 1 800x600 8 /usr/local/bin/runNS 1
800x600 1>/tmp/axvnclog1 2>&1
6.5.3 - Windows Terminal: Automatically Running Rdesktop
Note
: rdesktop is a Unix/Linux "RDP 4" client. The rdesktop source code is
available at
http://www.rdesktop.org
. This software allows a Unix/Linux client