Re: can't get color map: invalid argument

David Dawes <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
On Mon, Jun 20, 2005 at 07:34:25PM +0800, Kai.Niu wrote:
>Hi ALL:
>
>         Now, I am sucked on a new problem. As the topic, My TinyX can't get
>color map. I simply copied the rgb.txt generated from the source tree to the
>default directory. Unfortunately, TinyX server still can't get color map,
>and abend immediately. Dose anyone have clues on this? It will be very
>appreciated that someone could provide me some documentation about TinyX
>package..thank you all guys!

It should find it if it is copied to the correct location (it does for
me).  The default location is "/usr/X11R6/lib/X11/rgb.txt".  This default
location can be changed by defining DefaultRGBDatabase (leave off the
".txt" suffix), or you can override it at run-time by using "-co" command
line option.

Alternatively can have it built-in to the TinyX server instead so that
an external file is no longer needed if you add a line like the following
to Xserver/os/tiny/Imakefile:

#define DDXOsColor YES

David
-- 
David Dawes                                     X-Oz Technologies
www.XFree86.org/~dawes                          www.x-oz.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.