[comp.windows.x] X toolkit - Colormap Problems

dymm@b.cs.wvu.wvnet.edu (David Dymm) (12/21/88)

We just installed X11,R3 on our Sun 3/280.
Everything was fine until we accidently tried running
"xinit" from within a Suntools "shelltool".
Of course that screwed up the works and we had to reboot
the machine.  However from then on, we can NOT run "xinit".
When we run xinit, the screen grays over in the normal way,
but then the following error messages are printed on the bottom
of the screen:

X toolkit error:  Can not allocate colormap for "Black"
X toolkit error:  Can not allocate colormap for "White"
X toolkit error:  Can not allocate colormap for "white"
X toolkit error:  Can not allocate colormap for "black"

None of this makes any sense.  Keep in mind that after installing
X, we did a "make clean".  Could this have removed something
important???
Can anybody give us any help ???


David Dymm			Software Engineer

                            *************************************
                            *  Violence is the last refuge of   *
                            *  the incompetent.                 *
                            *                      Hardin       *
                            *************************************

USMAIL: Bell Atlantic Knowledge Systems,
        145 Fayette Street, Morgantown, WV 26505
PHONE:	304 291-9898 (8:30-4:30 EST)
USENET:  {allegra,bellcore, cadre,idis,psuvax1}!pitt!wvucsb!dymm
INTERNET: dymm@b.cs.wvu.wvnet.edu

swick@ATHENA.MIT.EDU (Ralph R. Swick) (12/21/88)

> X toolkit error:  Can not allocate colormap for "Black"

If the message was really "... allocate colormap entry for ..." then
the failing call is an XAllocNamedColor.  Check to make sure your
rgb database (usually /usr/lib/X11/rgb.{dir,pag}) is still installed
& is not corrupted.  You might try re-doing a 'make install' from the
X11R3/rgb directory.