How to set up TightVNC Java viewer index.html on web server?
- by penyuan
I've got the Java TightVNC viewer applet set up with the provided index.html on my Mac OS X 10.6.3 with web sharing enabled.
Using a remote computer I was able to get to the webpage but I only see a white box with an X (for error?) that represents where the viewer is supposed to be. Any ideas on how to get this to work?
I've tried to set the port (in index.html) to 5900 and 5901, none worked. Are any of these the default VNC port for Mac OS X 10.6.3?
Also, I've activated Screen Sharing and Remote Login in System Preferences, allowing VNC viewers to connect.
Here is the code for my index.html:
<HTML>
<TITLE>
TightVNC desktop
</TITLE>
<APPLET CODE="classes/VncViewer.class" ARCHIVE="classes/VncViewer.jar"
WIDTH="1440" HEIGHT="900">
<PARAM NAME="PORT" VALUE="5900">
<PARAM NAME="Scaling factor" VALUE="50">
</APPLET>
<BR>
<A href="http://www.tightvnc.com/">TightVNC site</A>
</HTML>
Again I can get to this page, but the applet doesn't seem to work, the Java console also doesn't say anything.
Thanks in advance for your help!