VNC visual mode

Tristan Richardson tjr "at" orl.co.uk
Fri, 12 Jun 1998 19:27:16 +0000


>>>>>> Antonio Freitas <freitas "at" lirep.univ-bpclermont.fr> writes:
>
> Hi,
> I'm a new user of the VNC product. I installed VNC X server on solaris
> 2.5 and vnc viewer on windows95. There is no problem to establish the
> connexion. I can start x applications like mailtool,file manager...
> But when I start an X application (opnet, a network modeler) I have the
> this error message:
> 
> <<< Program Abort >>>
> * Time:      Fri Jun 12 17:01:04 1998 
> * Program:   opnet (Version 3.5.A)
> * Error:     X server does not support required visual
> mode               	     (requirement: 8 bit PseudoColor or GrayScale)
> 
> What can I do? Who can help me. Thanks in advance.


>From the FAQ:

Q. What X Visual does Xvnc use?

By default, vncserver will start Xvnc with the same depth as the current X
display, if there is one, or 8 bits deep if there isn't.  We've tried to steer
clear of colour maps as much as possible and normally use "true colour", even
when there are only 8 bits per pixel.

Unfortunately some X applications don't cope too well with an 8 bit TrueColor
visual.   You can make Xvnc use the more normal PseudoColor visual by giving a
"-cc 3" option to vncserver.  


Cheers

Tristan

+--------------------------------------------------------------------+
|  Tristan Richardson                 Email:  tjr "at" orl.co.uk          |
|  ORL                                  Tel:  +44 1223 343000        |
|  24a Trumpington Street               Fax:  +44 1223 313542        |
|  Cambridge, CB2 1QA, UK               WWW:  http://www.orl.co.uk/  |
+--------------------------------------------------------------------+
|          ORL - The Olivetti & Oracle Research Laboratory           |
+--------------------------------------------------------------------+