> -----Original Message----- > From: David Colliver [mailto:[EMAIL PROTECTED]] > Oh dear, now my thoughts are running away with me... > > What is to say that this won't work. > > in services.inetd I oculd put a number of lines for the web > part of VNC. Something like...
I should not do that. The webserver only serves the files in the classes directory and it needs to do that alwasy at the same port. By starting the webserver from inetd, it gets a new port on about every call. Better to have 1 server running all the time. > > vnc-800x600x8 5951/tcp (in fact, I already have this line and similar > lines.) > > In the vncserver.inetd I could have something like... > > vnc-800x600x8 stream tcp nowait nobody /usr/local/bin/Xvnc > Xvnc :99 -httpd > /usr/share/vnc/classes -httpport 8080 -query localhost -once -geometry > 800x600 -depth 8 STOP. do NOT mix the current sourcecodecorner setup with my new Xvnc-html-server setup! The Xvnc-html-server relies on the current setup! It is better to start 1 (one) vncserver-for-Xvnc-html-server at boot (in the init config at /etc/rc.d/... in most unix distro's) I'm currently thinking/working on a linux server setup with Xvnc at console (replacing XFree86!) > > (all on one line) and possibly substituting the $ values > required by the old > index.vnc. I would have one line for each httpd that I need > to serve. (for > RH6.2 I would change /usr/share/vnc/classes to suit the path I have > mentioned) You cannot use Xvnc as html server in the inetd and services as you try to: Xvnc -init put's the RFB communication on the port it gets from inetd. You need a webserver that puts the http communication on the port it gets from inetd. It can be a minimal http server as long as it serves the entire classes directory and defaults to index.vnc, or rename index.vnc to the default file of your server. (apache: index.html) > > Can anyone help me to get this right. I am familiar with > linux, but far from > an expert. I think in theory, this should all work. I just > think we need to > enhance it, so that it will work the same way. > > Could someone explain what :99 does? By default Xvnc goes to :0 on which it fails since XFree is at :0. The :99 is just to put it aside, away from other usage. Any other number will do as long as it does not twiggle with others: 5900+## for other vncservers and 6000+## for other Xservers. > > Regards. > Dave Colliver. CBee --------------------------------------------------------------------- To unsubscribe, mail [EMAIL PROTECTED] with the line: 'unsubscribe vnc-list' in the message BODY See also: http://www.uk.research.att.com/vnc/intouch.html ---------------------------------------------------------------------
