Re: VNC visual mode


Tristan Richardson ()
Fri, 12 Jun 1998 19:23:00 +0100


>>>>>> Antonio Freitas <> 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: |
| ORL Tel: +44 1223 343000 |
| 24a Trumpington Street Fax: +44 1223 313542 |
| Cambridge, CB2 1QA, UK WWW: |
+--------------------------------------------------------------------+
| ORL - The Olivetti & Oracle Research Laboratory |
+--------------------------------------------------------------------+



This archive was generated by on Wed Feb 03 1999 - 15:34:43 GMT