Xvnc and colors
"Beerse, Corné"
cbeerse "at" hiscom.nl
Thu Jun 27 08:52:01 2002
> -----Original Message-----
> From: Lee Allen [mailto:lee "at" leadtec.com]
>
> I have an application I am running on a Linux box and accessing from a
> Windows desktop, using vncviewer & Xvnc. Everything is
> working great except
> the colors -- they're a bit "off". I am running Xvnc at 8
> bit depth. The
> colors are better at 24 bits but then I have a performance
> (speed) problem.
You should play with the '-depth' option with bit-per-pixel values: 8, 16,
24 or 32.
>
> Can anyone enlighten me about the color related arguments to Xvnc?
> Specifically:
> -cc int default color visual class
> -co file color database file
The '-co file' has the color definitions in it: what color names belong to
what pixel value.
>
> The only other information I was able to find was from the VNC FAQ:
>
> cc n
> Sets the colour Visual class used by the server. Some X
> applications don't
> cope too well with the TrueColor visual normally used by an
> 8-bit-deep Xvnc.
> You can make the server use a PseudoColor visual by specifying -cc 3.
>
> Any additional information would be greatly appreciated.
Lot's of X11 related details (Xvnc is a X11-server) can be found in the X11
documentation. Try `man X` or `man x` for a startpoint.
CBee