[comp.windows.x] rgb

rose@tci.bell-atl.com (Bob Rose) (11/18/89)

I just posted a question about X not seeing
(or getting) my colormap info.  I read in
the O'Reilly Users Manual (Vol 3) that
my problem is a corrupted rgb.dir file on /usr/lib/X11 
That sounded good, so I copied a know good one from
another machine, but I still get the same
"cannot allocate colormap" error.  Does the
file need to be loaded into a database, like
you have to do with fonts 'mkfontdir'?

thanks,
Bob

joel@pandora.pa.dec.com (Joel McCormack) (11/21/89)

	I read in the O'Reilly Users Manual (Vol 3) that
	my problem is a corrupted rgb.dir file on /usr/lib/X11 

Try copying over rgb.pag as well.  Then try restarting your server.

- Joel McCormack (decwrl!joel, joel@decwrl.dec.com)

lori@hpcvlx.cv.hp.com (Lori Cook) (12/13/89)

  A couple of thoughts on the matter.

  a) If rgb.dir or rgb.pag is corrupted, you must
	1) copy/create a new rgb.dir or rgb.pag
	2) restart your server.
  b) Are you sure that you have enough resources on your
     machine to allocate a new colormap or color cell? We
     had one guy on site running xfish and couldn't under-
     stand why he kept getting 'cannot allocate color cell'
     everytime he tried to start a new process (He had one
     free color cell left in the colormap when the process
     wanted three new colors.)

  Lori A. Cook

USMail: Corvallis Workstation Operation.
        Hewlett-Packard - Corvallis Information Systems
        1000 NE Circle Blvd.  Corvallis, OR 97330

ARPA: lori@hpcvlx.HP.COM
UUCP: {cmcl2, harpo, hplabs, rice, tektronix}!hp-pcd!lori