Problems with X11 colors
William Roberts;
liam at cs.qmw.ac.uk
Tue Dec 11 22:26:58 AEST 1990
In <1990Dec10.153824.11910 at athena.mit.edu> dmac at athena.mit.edu (David S.
McCormick) writes:
>In article <1990Dec9.191317.26237 at engin.umich.edu>
>bombach at caen.engin.umich.edu (Paul Matthew Bombach) writes:
>>The X11 user's guide says that putting the following line:
>>
>> X -screen 0 -depth 8 &
>>
>>in a .X11 file in the home directory will start X11 with color. My problem
is
>>that it does not seem to work. In other words, I am stuck with black and
white.
>>Does anyone know how I could fix this? By the way, my screen is at zero and
>>will support a depth of 8.
>I had this problem. The remedy IS indeed to set the execute bit with chmod:
>in your .X11 file:
>X -screen 0 -depth 8
The other alternative (if you are using the X11 session type, which you must
be for .X11 to work) is to change /usr/bin/X11/startx so that the line
serverargs=""
changes to
serverargs="-screen 0 -depth 8 "
This is harmless on machines which don't support depth 8, and gives you all of
the other things that startx does (but plain old X doesn't). I tell people
that they should use the .X11 or .mac32 overrides to add functionality rather
than completely override the default file.
--
William Roberts ARPA: liam at cs.qmw.ac.uk
Queen Mary & Westfield College UUCP: liam at qmw-cs.UUCP
Mile End Road AppleLink: UK0087
LONDON, E1 4NS, UK Tel: 071-975 5250 (Fax: 081-980 6533)
More information about the Comp.unix.aux
mailing list