Some general guidelines (I've done it on unix with apache)

Get a unix distro (preferably a tar or tgz distro) and extracth the classes
directory from it. It contains files like 'index.vnc' and 'vncviewer.jar'
and 'vncviewer.class' and more '*.vnc' files.

The *.vnc files are html files that are normaly updated by the
Xvnc-webserver. You need to update them yourself and preferably rename them
to *.html (hence index.vnc becomes index.html). You can see the html source
of a working webbrowser-java-vnc session for some guidelines. Fill out all
'vnc'-variables to create proper html code. The java-viewer needs the
rfb-portnumber not the vnc-display number hence use 5900, not :0.

Put all files in your webserver in the same directory.

Point your browser to the index.vnc file in the directory (trough the
webserver of cource)

If you get errors like "cannot find vncviewer....", update the html files so
the urls to viewer.jar and viewer.class point to the proper location.

Detail: due to the nature of java in a browser, both the vncserver and the
webserver need to run at the same ip-address.



CBee


--
C. Beerse
mailto:[EMAIL PROTECTED]
talkto:+31(71)5256660


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: woensdag 12 februari 2003 12:04
> To: [EMAIL PROTECTED]
> Subject: Accessing JAVA based viewer from webserver
> 
> 
> Hi, Can anybody tell me how to run the JAVA based WinVNC via another 
> webserver. I have currently modified the JAVA class files and 
> recompiled 
> and by using an index.html page similar to the one VNC uses, 
> I am able to 
> access my modified JAVA screen from the files that I have put 
> into the 
> webserver. However when I try to connect to the VNC via the 
> webserver the 
> authentication evetually times out and I get the error.
> 
> JAVA.io.EOFexception
> 
> I have copied all of my files to the webserver which is the omnihttp 
> webserver. I have also tried to use a variety of ports 
> including port 80, 
> 5800, 5900, and 5920. According to other people who have 
> tried to do this, 
> they say that it is only nessesary to place the JAVA classes, 
> the JAR file 
> and Index file into the target directory of the webserver. If 
> anyone has 
> any idea's why i'm getting the exception error, i'd be happy to know.
> 
> Many Thanks
> DM
> _______________________________________________
> VNC-List mailing list
> [EMAIL PROTECTED]
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to