[comp.windows.x] R4 colormap problems on SUN 4/150

mgf@Neon.Stanford.EDU (Michael G. Fitzpatrick) (01/16/90)

I compiled X11 R4 using gcc 1.36 (after running fixincludes) on a Sun 4/150
running SUNOS 4.0.3.  I compiled the server files (os/4.2bsd/oscolor.c,
dix/window.c, ddx/mi/mifillarc.c, ddx/cfb/cfbwindow.c) with cc -O.
I also have a GP board initialized such that gpone0 and cgtwo0 are bound to
gpone0a.  Previously, under R3, I could simply type -> "xinit $HOME/.xinitrc
 -- -dev /dev/cgtwo0" to start an X server with several xterms and an xclock
all in colors defined within my .twmrc and .Xdefaults files.  However, when
I try to type that command under R4 I get the following messages when popping
up xterms:
  Warning: Cannot allocate colormap entry for "Black"
  Warning: Cannot allocate colormap entry for "LightBlue"
                        .
                        .

and when invoking twm:
  Invalid colorname "black"
  Invalid colorname "white"
            .
            .

The server doesn't crash but the screen is treated like a monochrome device.
Additionally, all menus from twm are printed as white on white.  I have R4
working on a Sun 3/160 and a color Sun 3/60 both running SUNOS 3.5 with no
problems. I have tried just typing "xinit" but I still get the same problems.
I also have rebooted the Sun without configuring the GP but the same results
occur.

Any clues???

Mike Fitzpatrick     (mfg@neon.stanford.edu)