The steps below should be sufficient ...

0.  The Debian packages for vnc work flawlessly out-of-the-box.
    If you have trouble, try experimenting with another distro
    until you figure out what your problems are due to.

1.  You need to tell /etc/services what the port number does.
    To do this, add a line to the end that looks like this:
vnc 5900/tcp # VNC automatic allocation

2.  You need to tell inetd what to do with the incoming connection.
    To do this, add a line on the end of /etc/inetd.conf like this:
vnc stream tcp nowait root /usr/sbin/tcpd /root/dovnc 0

3.  I also support non-inetd the same way for maintainability.
    I've added lines to the end of /etc/inittab like this:
V1:2:respawn:/root/dovnc 1
V2:2:respawn:/root/dovnc 2

4.  Copy the attached script to /root/dovnc and modify the bits
    you don't like to something sensible before going further.

5.  As root, run the "dovnc 1" command from the command line.
    Connect from a vnc client and make sure everything works right.
    When the client exits, the shell prompt should be returned to you.
    Fix any problems that occur before proceeding further.

6.  Now that it seems to be working properly, tell the daemons
    that their configuration files have been changed.  Lazy way ...
killall -HUP inetd
telinit q

[demime 0.97b removed an attachment of type application/octet-stream which had a name 
of DOVNC]
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to