Xvnc and colors
cbeerse "at" hiscom.nl
Thu Jun 27 17:32:16 2002
> -----Original Message-----
> From: Lee Allen [mailto:lee "at" leadtec.com]
> "Beerse, Corni" <cbeerse "at" hiscom.nl> wrote:
> > You should play with the '-depth' option with bit-per-pixel
> values: 8, 16,
> > 24 or 32.
> I have: the higher depths are too slow. 8 bit depth is
> perfect except the
> screen has a lavender tinge to it. That's what I want to fix.
????? You mean the colors are a little off?
I recal some coloring troubles on 8 bit (HP-UX) consoles. This was becasue
of the colormapping used in 8 bit mode. We solved that by loading a picture
with all colors on the background so the colormap was filled. There are
I recal there are several tools to twiggle with the colormaps at runtime. I
think they work with Xvnc too. Try what you can do with the xset command in
a running vncserver.
> > > 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.
> How can I make such a file? Is it documented anywhere?
The default is a file called 'rgb.txt' or 'RGB.txt' somewhere in the X tree.