User`s manual

Installing and Using the Axel-VNCviewer 43
6.6 - USING (X)INETD WITH KDE 2.2
Under a Linux KDE 2.2 environment, the installation method described in
Chapter 3.3.1 is based on /etc/inittab. But Xvnc daemons can also be run
through inetd (or xinetd).
The configuration shown below enables 2 VNC connection ports:
- 5950 for 800x600 and 256-colour terminals,
- 5952 for 1024x768 and 256-colour terminals.
This allows all the 800x600/256-colour terminals to open a VNC connection on
the same TCP port (5950). Similarly 1024x768/256-colour terminals can be
configured to use port 5952).
The main differences between the 'inittab' method and the '(x)inetd' method are:
/etc/inittab (x)inetd
Number of Xvnc daemon
run at the Linux boot-up
one per terminal none
TCP Ports one per terminal the same of all
Display Numbers fixed dynamic
In event of incident
(Terminal power loss)
graphical context can
be retrieved
graphical context is lost
(come back to login)
Sharable session yes no
Note
: installing Xvnc through inetd can be compared with the server telnet
daemon: a telnet daemon is only run when a telnet connection is established, tty
are dynamically allocated and the context (screen) is lost in event of incident.
The inetd method is a three-step installation:
- updating the inetd or xinetd environment,
- checking access rights,
- enabling XDMCP.
6.6.1 - Updating the inetd or xinetd Environment
The first operation is modifying the file
/etc/services
. Add the following lines at
the end of the file: