Xterm and .Xresources

Derek Martin dmartin at LanCity.COM
Thu Sep 2 14:55:37 EDT 1999


On Thu, 2 Sep 1999, John Chambers,,,781-647-1813 wrote:

> Derek Martin <dmartin at lancity.COM> writes:
> 	On Thu, 2 Sep 1999, John Chambers wrote:
> 
> 	On this machine, and on many other linuxes that
> 	> I've used in the past few years, whenever I run  gv  it  gives  me  a
> 	> popup complaining about about a number of missing colors:
> 	> 
> 	> 	Warning: Cannot allocate colormap entry for "AntiqueWhite2"
> 	> 	Warning: Cannot allocate colormap entry for "AntiqueWhite4"
> 	> 	Warning: Cannot allocate colormap entry for "gray90"
> 	> 	Warning: Cannot allocate colormap entry for "#D3B5B5"
> 
> 	The problem, probably the most common one with X, is that your out of
> 	color table entries.  You almost undoubtedly are running an 8-bit (256
> 	color) display.  You can set all the resources you like, and you'll still
> 	have the same problem.  To fix it, you need to figure out if you can run
> 	your video card at a higher color depth (probably you can), and then use
> 	some method to start X at the higher depth.  
> 
> Well, I don't believe this is quite true.  It's  probably  true  that
> this  is  an 8-bit display.  But I don't think it's true that I can't

I assure you that I am correct.  Your display has already allocated all
256 entries of the color map, which is why you're getting the message
"cannot allocate colormap entry" and your widget's colors are falling back
to the default white.

I have no problems with gv on my system, because it's a 16-bit display.


-- 
Derek D. Martin   |  UNIX System Administrator
derek at netria.com  |  dmartin at lancity.com

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list