Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!apple!uokmax!rmtodd From: rmtodd@uokmax.uucp (Richard Michael Todd) Newsgroups: comp.unix.aux Subject: Re: X11 for A/UX Keywords: X11 bash color install Message-ID: <1990Sep7.192749.24742@uokmax.uucp> Date: 7 Sep 90 19:27:49 GMT References: <15226@csli.Stanford.EDU> Organization: Engineering Computer Network, University of Oklahoma, Norman, OK Lines: 38 anderson@csli.Stanford.EDU (Steve Anderson) writes: Before I start, I should mention that I have the MIT X11R4 release, not the "official" Apple X Release. >(a) How can I get X11 to work when my login shell is other than sh or >csh (or ksh, I suppose)? I use /usr/local/bin/bash, which works fine >with A/UX. When I try to start an X11 session, it starts up the >server, and then crashes into console mode with a message >Xterm: Error 18 errno 22: bad argument >This happens at the point where it's trying to start the first xterm >(the one that serves as the console, not mentioned in .x11start). When >I change my shell to csh, everything starts up fine. Is there >someplace other than /etc/shells where a shell has to be registered >for X11 to be able to use it in the console window? Not that I know of. Hmm. I'd suspect that what you have is a subtle incompatibility with bash. I use tcsh from within xterm, no problem. >(b) How can I get X11 to recognize that I have a color monitor? It >seems to think I have a 1-bit screen, although everything I can think >of to set treats my Apple color monitor (with either the IIci builtin >video or a SuperMac ColorCard/24) as 8 bits. I thought the X11 server >was auto-configuring. It does automatically recognize the cards, but it by default starts a monochrome X session unless you specify otherwise on the command line. Try putting the options '-screen 0 -depth 8' on the command line that invokes XmacII, the X server. (BTW, if you've got multiple display cards, you can do "XmacII -screen 0 -depth 8 -screen 1 -depth 8" and have X using both displays at once. I doubt that you'll be able to use your 24-bit card in 24-bit mode, though; the stock MIT X11R4 source doesn't support 24-bit displays, and I doubt the Apple one does either, as there's a whole lot of code in there that really really wants the display to be either 1 or 8 bits.) -- Richard Todd rmtodd@chinet.chi.il.us or rmtodd@uokmax.ecn.uoknor.edu "MSDOS is a Neanderthal operating system" - Henry Spencer