[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#163935: xdm: problem with debian.xpm: "Failed to parse or alloc some color"



severity 163935 important
retitle 163935 xdm: won't start at depth 8 because debian.xpm exhausts colormap
tag 163935 + moreinfo upstream
thanks

On Wed, Oct 09, 2002 at 12:40:10PM +0100, Julian Gilbey wrote:
> Package: xdm
> Version: 4.2.1-1
> 
> Thanks for 4.2!!
> 
> 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.

Are you *sure* that colormap exhaustion is the culprit?

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

-- 
G. Branden Robinson                |    One man's theology is another man's
Debian GNU/Linux                   |    belly laugh.
branden@debian.org                 |    -- Robert Heinlein
http://people.debian.org/~branden/ |

Attachment: pgpumLac3SBVu.pgp
Description: PGP signature


Reply to: