Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138914 - "cannot allocate color" after update to modular X
Summary: "cannot allocate color" after update to modular X
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-02 14:39 UTC by gilhad
Modified: 2006-07-02 15:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gilhad 2006-07-02 14:39:30 UTC
I installed Gentoo to new computer week ago, nearly everething looked OK.
Yesterday I did "emerge --sync" and got modular X.
Followed "Migration guide", (did not change anything else)
but got this problem:

x11-terms/aterm does not start at all:
$ aterm 
aterm: can't load color "Black", colorID = 0, (29)
aterm: can't load color "Black", colorID = 0, (29)
aterm: aborting

xterm runs, but complains about colors (on text terminal)
xterm: cannot allocate color *color*
where *color* is green, red, yellow, magenta, white, black, green3, yellow3, red3, blue2, cyan3, gray90
(BUT it works having black (sometimes also bold or blue, when apropriate) characters on white.

$ wmmemmon -bl -lc red -b -c
can't allocate color red. Using black
can't parse color red

BUT 
$ wmmemmon -bl
works as usual (nice black/green diagram)

allin1 has strange magenta borders does not show anything and complains:
Cannot allocate X color
Cannot allocate X color
.....

konqueror and azureus looks good, as well as wmmemload, wmcpuload, wmfire, wmix, wmclockmon. Also background looks good (set by  fbsetbg)
(reporting this together, becaus I think it is some common problem with colors, not with applications)

I am using fluxbox (with transparency around 75%).

Reproducible: Everytime
Steps to Reproduce:
1. startx
2. Execute "aterm". 

Actual Results: 
$ aterm 
aterm: can't load color "Black", colorID = 0, (29)
aterm: can't load color "Black", colorID = 0, (29)
aterm: aborting


Expected Results: 
aterm runs with colors and transparency


 # emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j1 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow X alsa apache2 apm arts artswrappersuid avi berkdb bitmap-fonts bzlib canna cdr cli crypt cups dga divx4linux dlloader doc dri dvd dvdr eds emboss encode escreen esd flac fmod foomaticdb fortran freetype ftp gdbm gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 icq imagemagick imlib ipv6 isdnlog java joystick jpeg kde libcaca libg++ libwww live log4j lzw-tiff mad matroska matrox mbox mikmod mmx mmx2 motif mozilla mp3 mpeg mpeg4 mysql native ncurses nls nptl objc offensive ogg opengl oqqvorbis oss pam pcre pdflib perl png posix ppds pppd pthreads python qt qt3 qt4 quicktime readline recode reflection regexp rtc scanner sdk sdl session slang snmp speex spell spl ssl svga tcpd tetex threads tiff transcode truetype truetype-fonts type1-fonts udev unicode usb vorbis win4lin xinerama xml xml2 xmms xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_wacom kernel_linux userland_GNU video_cards_mga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-02 14:45:07 UTC
Remove RgbPath lines from your /etc/X11/xorg.conf
Comment 2 gilhad 2006-07-02 15:00:35 UTC
Thank you very much. It works now.