Thanks for your explanations, Grant.  Though some it raises
more questions, in case you or anyone else care to elaborate.

Grant McDorman wrote:

> -depth does not control the connection depth; instead, it tells the viewer
> to try to create its local window at that depth *with the default visual*.

I thought the whole point of specifying the veiwer depth was to
reduce bandwidth.  Why would one want to reduce the viewer
depth without also having it reflected in the communication?
For the thin client model, the (naively) reasonable thing to do
is to get server to quantize each color plane to the coarseness
requested by the viewer depth.  Obviously something I'm
missing here.

> What is happening in your case is that your local system's default visual is
> 8-bit pseudo colour, and a 24-bit pseudo-colour visual doesn't exist; the
> viewer, in that case, will use the only available pseudo-colour visual
> (8-bit) and behave as if the -bgr233 command line option was supplied.

This would certainly explain the "truant" viewer behaviour,
though I was under the impression that the display is *not*
pseudocolor unless the server is started with "-cc 3".  I ran
into a problem with CAD tools for IC layout because it wanted
a pseudocolor visual, and someone on the VNC list rightly
suggested that the "-cc 3" was required.  I'm assuming that
"visual" is a property of the server display only, in particular
the display created by vncserver.

> If the server has a true colour visual available, this command line should
> do what you want:
>   vncviewer -depth 24 -truecolour _server_:_num_

Just something I want to clarify here.  By server, I presume
you mean vncserver rather than host machine for the vncserver?
Because for VNC, it seems that server and display and visual
are all one and the same.  A server cannot have more than 1
display, some being true color while others are not.  Assuming
they are synonymous, then it seems the existence of "-cc 3"
and "-truecolour" specify the same thing, except one is on the
server side and the other is on the viewer side....right?

Anyway, you've supplied quite a bit of interesting and
important detail.  Thanks.

Fred

-------------------------------------------
Fred Ma
Department of Electronics
Carleton University, Mackenzie Building
1125 Colonel By Drive
Ottawa, Ontario
Canada     K1S 5B6
[EMAIL PROTECTED]
===========================================
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to