-------- 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

Reply via email to