On Wed, Oct 09, 2002 at 12:40:34PM -0500, Branden Robinson wrote: > > Problem with starting xdm (it wouldn't). I've traced it down to the > > following: > > > > polya:~ $ sxpm /usr/X11R6/lib/X11/xdm/pixmaps/debian.xpm > > Read Xpm Error: Failed to parse or alloc some color. > > > > I'm on an 8-bit display, which probably has a lot to do with it. > > Hmph. xdm shouldn't refuse to start just because it can't allocate > enough colors for a silly cosmetic pixmap.
Agreed. > Are you *sure* that colormap exhaustion is the culprit? Pretty sure. Here's the xdm.log file: XFree86 Version 4.2.1 (Debian 4.2.1-2 20021008045526 [EMAIL PROTECTED]) / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 3 September 2002 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/) Build Operating System: Linux 2.4.18 i686 [ELF] Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/XFree86.0.log", Time: Thu Oct 10 12:16:04 2002 (==) Using config file: "/etc/X11/XF86Config-4" (EE) Failed to load module "pex5" (module does not exist, 0) (EE) Failed to load module "xie" (module does not exist, 0) CRTclk FPclk X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 14 (X_GetGeometry) Resource id in failed request: 0x0 Serial number of failed request: 57 Current serial number in output stream: 57 X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 14 (X_GetGeometry) Resource id in failed request: 0x0 Serial number of failed request: 57 Current serial number in output stream: 57 xdm error (pid 4252): Display :0 is being disabled > What happens if you apply the following patch to /etc/X11/xdm/Xresources? > > --- Xresources~ 2002-10-09 12:39:16.000000000 -0500 > +++ Xresources 2002-10-09 12:39:39.000000000 -0500 > @@ -34,7 +34,7 @@ > xlogin*promptFont: > -adobe-helvetica-bold-r-normal--20-140-100-100-p-105-iso8859-1 > xlogin*failFont: > -adobe-helvetica-bold-r-normal--20-140-100-100-p-105-iso8859-1 > #if PLANES >= 8 > -xlogin*logoFileName: /usr/X11R6/lib/X11/xdm/pixmaps/debian.xpm > +xlogin*logoFileName: /usr/X11R6/lib/X11/xdm/pixmaps/debianbw.xpm > #else > xlogin*logoFileName: /usr/X11R6/lib/X11/xdm/pixmaps/debianbw.xpm > #endif xdm starts with no problems in this case. The log file: XFree86 Version 4.2.1 (Debian 4.2.1-2 20021008045526 [EMAIL PROTECTED]) / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 3 September 2002 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/) Build Operating System: Linux 2.4.18 i686 [ELF] Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/XFree86.0.log", Time: Thu Oct 10 12:18:07 2002 (==) Using config file: "/etc/X11/XF86Config-4" (EE) Failed to load module "pex5" (module does not exist, 0) (EE) Failed to load module "xie" (module does not exist, 0) CRTclk FPclk XBanner: Couldn't alloc color #4 of 67 (The last line is an xbanner issue.) Julian -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London website: http://www.maths.qmul.ac.uk/~jdg/ Debian GNU/Linux Developer, see: http://people.debian.org/~jdg/ Visit http://www.thehungersite.com/ to help feed the hungry