[VNC] Java VNC screen size

Edric Bulalacao egb "at" tonesoft.com
Fri, 24 Aug 2001 14:54:09 +0000


I don't quite understand what you're trying to accomplish...please explain
further.  Just FYI, I've got my server accepting connections at these
resolutions: 640x480, 800x600, 1024x768 (I can add more if I wanted to).
Basically, I'm running xvnc through inetd.  Port 5950 for 640x480, 5951 for
800x600, and 5952 for 1024x768.  In my main html file, there are three
buttons...one for each resolution.  The user will go to this main page and
would then press a button to select his desired resolution...another page
would launch that executes the Java VNC viewer in the desired resolution.




- ----- Original Message -----
Date: Thu, 23 Aug 2001 13:00:04 -0400
From: "Ryan Casey" <scfiead "at" hotmail.com>
Subject: Re: [VNC] Java VNC screen size

Is there any way to pass width and height at load using a querystring?

Ryan

- ----- Original Message -----
From: "Edric Bulalacao" <egb "at" tonesoft.com>
To: <vnc-list-digest "at" uk.research.att.com>
Sent: Thursday, August 23, 2001 10:21 AM
Subject: Re: [VNC] Java VNC screen size


> Put this into your html file to specify desired resolution.
>
> <APPLET CODE=vncviewer.class ARCHIVE=vncviewer.jar
>         WIDTH=800 HEIGHT=620>
> <param name=PORT value=5951>
> </APPLET>
>
> In this example, I'm using 800x600.  The reason why I've got 620 instead
of
> 600 for the HEIGHT is that the buttons above the VNC screen (DISCONNECT,
> SEND CTRL-ALT-DEL, etc.) take up an additional 20 pixels in height.  So
> whatever resolution you choose, add 20 for the HEIGHT value.
>
> Substitute your desired WIDTH, HEIGHT, and VNC PORT value.
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------