[VNC] Java VNC screen size

Ryan Casey scfiead "at" hotmail.com
Fri, 24 Aug 2001 16:00:24 +0000


Sorry...I was confusing issues.  I keep on hoping someone will tell me how
to get the Java viewer to resize to a particular resolution or percentage,
similar to the VNCViewer 'Scale By' option.  I don't think it supports this,
but I am not sure why not...seems fairly straightforward (if only I could
catch up on my C and java programming).  I was reading into this post.

That said, I will be using this for my Soalris boxes, it is an excellent
method for simplifying the choice of ports.

I currently use
  59XY
    X is [5...8] specifying the screen size (5=640x480, 6=800x600, etc)
    Y is [0...4] specifying the color depth (0=8bit, 1=16bit, etc)

This is sometimes hard for the users to remember :)

Ryan
----- Original Message -----
From: "Edric Bulalacao" <egb "at" tonesoft.com>
To: <vnc-list-digest "at" uk.research.att.com>
Sent: Friday, August 24, 2001 9:51 AM
Subject: Re: [VNC] Java VNC screen size


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