Comment 42 for bug 421261

Pierfrancesco Caci (pf-caci) wrote :

Please note that xterm looks for ~/.Xdefaults-<hostname>, not ~/.Xdefaults:

ik5pvx@penny:~ $ strace xterm >pippo 2>&1
ik5pvx@penny:~ $ grep Xdefault pippo
open("/home/ik5pvx/.Xdefaults-penny", O_RDONLY) = 4

Setting "*customization: -color" in there solves this.
Another workaround is to:
cat /etc/X11/app-defaults/XTerm-color /etc/X11/app-defaults/XTerm > ~/XTerm
and comment out the call to include XTerm at the beginning:
!#include "XTerm"

Pf