Negotiating server screen size
Corne Beerse
cbeerse at gmail.com
Mon Sep 14 14:01:45 BST 2009
Christophe Lohr wrote:
> Hi,
> Is it possible for the client to negotiate server screen size?
>
Yep, but keep in mind that the terms client and server might have a
different location than you think. And then, it might even not. To avoid
problems with the terms, its better to use the terms viewer and service.
> Of course, while connecting to a running server there may be nothing to
> negotiate...
>
Some current display systems can change the resolution on the fly hence,
something might be possible here. For example msWindows remote desktop
pointing to a remote XP system can change the resolution on the fly.
> However, while connecting to a pending server (e.g. in inetd mode), it
> could be pleasent for the client to choose the screen size, isn't it?
>
If you are speaking of a inetd implementation of vnc, there it is
possible to pick the resolution (and colordepth) since ages. The first
configuration of vnc in combination with inetd I have seen (over 10
years ago) already provided this choice. There it was the portnumber
that set the resolution and colordepth. By head it was (roughly) as follows:
The inetd configuration has a line to start Xvnc for the next combinations:
port 5950 starts xvnc with 640x480, 8 bits color
port 5951 starts xvnc with 640x480, 16 bits color
port 5952 starts xvnc with 640x480, 24 (or 32?) bits color
port 5960, xvnc 800x600, 8 bits
port 5961, xvnc 800x600, 16 bits
port 5962, xvnc 800x600, 24 bits
Or use the next scheme
8 bits:
5950 640x480
5951 800x600
5952 1024x768
5953 1200x1024
16bits:
5960 640x480
5961 800x600
5962 1024x768
5963 1200x1024
24/32 bits:
5970 640x480
5971 800x600
5972 1024x768
5973 1200x1024
In the end, using the 59xx series let you use vncviewer with both
display numbers (50, 51, 52...) and portnumbers.
CBee
More information about the VNC-List
mailing list