VNC and webaccess

"Beerse, Corné" cbeerse "at" hiscom.nl
Fri Aug 23 10:06:02 2002


> -----Original Message-----
> From: Jacob de Leur [mailto:jacob.de.leur "at" dentaleye.com]
> I4ve used VNC for quite a while now and am very happy with 
> it. Excellent
> program.
> I4d like to know how to access a VNC-server through a 
> browser. Any specific

For vncserver to display remote-machine:2, browse to
http://remote-machine:5802/ . Every vncserver is equipped with a (tiny)
webserver. It provides a html page to start a java-vncviewer which is just
an alternate to the binary vncviewer and uses port number 5902 just as the
binary viewer does.

> html code I need for an index page?
> I haven4t been able to find any instructions in the 
> documentation. If anyone
> could help me out, I4d be grateful.

If it is for remote access trough a firewall or such, the html/java viewer
is harder to activate than the binary viewer: The binary viewer only uses
the 5902 port, the java viewer uses both the 5902 and 5802 port.

If you like to use an other webserver to serve the html/java page, get a
unix distro and extract the 'classes' directory. The *.vnc files in there
are the base for the html page, other files contain the java viewer.

Rember: java code can only access the remote site where it comes from. Hence
the html/java server must run on the same machine as the vncserver does.


CBee