The 4.0b3 java sources are now available for download from http://www.realvnc.com/4.0b3-download.html
Cheers Tristan ----- Original Message ----- From: "Tristan Richardson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, August 01, 2003 10:30 AM Subject: Re: version 4.0b applet doesn't work > No, sorry, there's no documentation as yet. The new java viewer is designed > to be as similar as possible to the native viewers. It doesn't display the > desktop inside the browser window, instead it pops up a new window of the > correct size for the desktop (this can now change dynamically too). So the > $WIDTH, $HEIGHT, etc parameters in the HTML aren't of any use - only the > $PORT parameter is of any use. There's no $PASSWORD parameter, either. > > I'll let you know when I get round to packaging up the java source > distribution - until then, if you're having trouble running it as an applet, > try it from the command-line first, and see if you can get that working. > Just run: > > java -jar vncviewer.jar > > It has been tested as working with: > - IE6 and the MS JVM > - Netscape 4.61 on linux > - jre1.2.2 and 1.4.1_03 on linux > > However, every version of Java, particularly the AWT implementation, and > especially the image drawing, has its own special bugs, making it > impossible to write code which works everywhere. Write once, run anywhere? > Yeah right... > > Cheers > > Tristan > > ----- Original Message ----- > From: "David West" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, August 01, 2003 9:20 AM > Subject: version 4.0b applet doesn't work > > > > -------- Original Message -------- > > Subject: version 4.0b applet doesn't work > > From: "David West" <[EMAIL PROTECTED]> > > Date: Thu, July 31, 2003 5:32 pm > > To: <[EMAIL PROTECTED]> > > > > To repeat an earlier posting - *is there any doc for this applet?* - as > > I've been trying to make it work for a few days now. Please answer! > > > > I would prefer not to use .vnc files, but I've had no luck with anything > > else... > > > > Pointing my browser at http//myvncserver:5800/my.vnc displays the page - > > which is nice, including correct width and height - the applet starts > > with a logo and prompts me for a vnc server (default = myvncserver:0) - > > why bother with this prompt as it's the only server applets are allowed > > to connect to? Accepting the default server value, I click OK and > > nothing happens, alas. > > > > Here's the source of /usr/share/vnc/classes/my.vnc (apologies if this > > renders as html) - i've tried disabling the password and Show Controls > > parameters, with the same result... > > > > <!-- my.vnc - . On any file > > ending in .vnc, the HTTP server embedded in Xvnc will substitute > > the following variables when preceded by a dollar: USER, DESKTOP, > > DISPLAY, APPLETWIDTH, APPLETHEIGHT, WIDTH, HEIGHT, PORT. Use two > > dollar signs ($$) to get a dollar sign in the generated html. --> > > > > <HTML><head><TITLE>$USER's $DESKTOP desktop ($DISPLAY) > > </TITLE></head></body><center> > > <APPLET CODE=vncviewer/VNCViewer.class ARCHIVE=vncviewer.jar > > WIDTH=$WIDTH HEIGHT=$HEIGHT> > > <param name=PORT value=$PORT> > > <param name=PASSWORD value="???"> > > <param name="Show Controls" value="No" > > </APPLET><hr><input type=button onclick=window.close(); value="Close > > Window" > > title="Tip: you can also press Alt+Tab to switch > > windows"></center></body> > > </HTML> > > > > (This was adapted from an older version of the following - btw it would > > be nice to include the mime type in the response header... > > > > [EMAIL PROTECTED] vnc]$ telnet myserver 5800 > > Trying 10.0.0.23... > > Connected to myserver. > > Escape character is '^]'. > > GET / HTTP/1.0 > > > > HTTP/1.0 200 OK > > > > <HTML> > > <HEAD> > > <TITLE> > > VNC viewer for Java > > </TITLE> > > </HEAD> > > <BODY> > > <APPLET CODE=vncviewer/VNCViewer.class ARCHIVE=vncviewer.jar > > WIDTH=400 HEIGHT=250> > > <PARAM name="port" value="5900"> > > </APPLET> > > </BODY> > > </HTML> > > Connection closed by foreign host. > > > > ) > > > > Has anyone out there got the new applet working, or am I missing > > something obvious? > > > > Thanks for giving this your attention, > > > > [EMAIL PROTECTED] > > [EMAIL PROTECTED] > > > > > > Thanks for giving this your attention, > > > > [EMAIL PROTECTED] > > [EMAIL PROTECTED] > > _______________________________________________ > > VNC-List mailing list > > [EMAIL PROTECTED] > > To remove yourself from the list visit: > > http://www.realvnc.com/mailman/listinfo/vnc-list > _______________________________________________ > VNC-List mailing list > [EMAIL PROTECTED] > To remove yourself from the list visit: > http://www.realvnc.com/mailman/listinfo/vnc-list _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
