From owner-freebsd-questions Sun Sep 12 17:23:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from chronis.pobox.com (chronis.pobox.com [208.210.124.49]) by hub.freebsd.org (Postfix) with ESMTP id D41B114F55 for ; Sun, 12 Sep 1999 17:23:56 -0700 (PDT) (envelope-from scott@chronis.pobox.com) Received: by chronis.pobox.com (Postfix, from userid 1001) id 0890B9B18; Sun, 12 Sep 1999 20:23:56 -0400 (EDT) Date: Sun, 12 Sep 1999 20:23:55 -0400 From: Scott Cotton To: freebsd-questions@FreeBSD.ORG Subject: Re: allocating colors for a color terminal in X Message-ID: <19990912202355.A82192@chronis.pobox.com> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <19990912191034.A42628@chronis.pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.7i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bingo. Thanks. scott On Sun, Sep 12, 1999 at 07:21:59PM -0400, Brett Taylor wrote: > Hi > > On Sun, 12 Sep 1999, Scott Cotton wrote: > > > I've got XFree86 v 3.3.3.1 running on 3.3RC, with GNUstep 0.6 and > > gnome stuff, and I'd like it to always be able to allocate the colors > > necessary for color terminals like color-xterm and what not. I should > > have plenty of resources for it, as my graphics card has 8megs of ram, > > but color terminals which start after doing much of anything with > > color in an xsession report errors allocating colors, and the session > > defaults those colors that it can't allocate to be the background > > color of the terminal, rendering lots of stuff invisible. > > How are you starting X - are you telling it to use 16, 24 or 32 bpp? If > you're not you're getting 8 bpp which is why you're running out of colors. > > It sounds like you're running xdm - either start xdm w/ one of the above > or make sure that DefaultColorDepth is defined in your XF86Config. To > start xdm up w/ more than 8 bpp, modify your Xservers file > (/usr/X11R6/lib/X11/xdm/Xservers) script to look like: > > :0 local /usr/X11R6/bin/X -bpp 32 > > Brett > ***************************************************** > Brett Taylor brett@peloton.runet.edu * > Dept of Chem and Physics * > Curie 39A (540) 831-6147 * > ***************************************************** > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message