Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 1999 19:21:59 -0400 (EDT)
From:      Brett Taylor <brett@peloton.runet.edu>
To:        Scott Cotton <scott@chronis.pobox.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: allocating colors for a color terminal in X
Message-ID:  <Pine.BSF.4.10.9909121919200.10047-100000@peloton.runet.edu>
In-Reply-To: <19990912191034.A42628@chronis.pobox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909121919200.10047-100000>