On Thu Jun 07, 2007 at 11:00:05AM +0200, L.M. wrote:

> Hello,
>
> Could someone give me a little clue (or a complete explanation)... ?
>
> - I am using the web-based VNC viewer.
> - It type http://<vnc_server_ip_address>:5800/ in my web browser.
> - A little dialog box appears which features are the following:
>             title = "VNC viewer : Connection details"
>             two inputs = "Server" and "Encryption"
>             four buttons = "About...", "Options...", "OK" and "Cancel"
>   Do you see what dialog box I am talking about?
>
> OK.
> - The source code is:
> ======================================================
> <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>
> ======================================================
>
> - I am not familiar with Java applets...
>
> - My question is about the "CODE" and "ARCHIVE" options:
> CODE=vncviewer/VNCViewer.class
> ARCHIVE=vncviewer.jar
>
> - Where are the above ".class" and ".jar" files located?
>       I can find these files
>       - neither on the machine running the VNC server (the machine which IP
> address is "<vnc_server_ip_address>"),
>       - nor on the client machine I use to connect to the VNC server...
>
> According to me, these files should be located on the VNC server machine
> since http://<vnc_server_ip_address>:5800/ tells me that:
> - the resources I want are located on the machine which IP address is
> "<vnc_server_ip_address>"
> - and that requests for the resources have to be send on port 5800 on this
> same machine...
> Am I wrong?
>
The vncviewer.jar file is located on the server - on Windows it's
embedded in the winvnc4.exe application itself (I'm not sure if the same
is done on Linux/UNIX systems).  The .class file will be within the .jar
file (the .jar file is just an archive containing numerous .class
files).  Since there's only a single page + code to serve then there's
no need for anything like a full-fledged web server - embedding all the
bits into the application should reduce the complexity of the
implementation.

If you need to get to the files themselves then they should be contained
within the source code (or built from .java files within that anyway),
which can be downloaded from the realvnc website.

HTH,
        Robin

--
     ___
    ( ' }     |       Robin Hill        <[EMAIL PROTECTED]> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

[demime 1.01d removed an attachment of type application/pgp-signature]
_______________________________________________
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