Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!icdoc!qmw-cs!liam From: liam@cs.qmw.ac.uk (William Roberts;) Newsgroups: comp.unix.aux Subject: Re: Problems with X11 colors Message-ID: <2794@redstar.cs.qmw.ac.uk> Date: 11 Dec 90 11:26:58 GMT References: <1990Dec10.153824.11910@athena.mit.edu> Sender: usenet@cs.qmw.ac.uk Distribution: all Lines: 39 Nntp-Posting-Host: whitesand In <1990Dec10.153824.11910@athena.mit.edu> dmac@athena.mit.edu (David S. McCormick) writes: >In article <1990Dec9.191317.26237@engin.umich.edu> >bombach@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@cs.qmw.ac.uk Queen Mary & Westfield College UUCP: liam@qmw-cs.UUCP Mile End Road AppleLink: UK0087 LONDON, E1 4NS, UK Tel: 071-975 5250 (Fax: 081-980 6533)