Problem:
Beim Start von xclock kommt die Fehlermeldung Warning: Color name "black" is not defined '
Google liefert ne Menge Kram
also mal wieder das geliebte strace angeworfen. Aber wie immer die option finde ich nicht auf den ersten Blick.
strace -e trace=open xclock
Nun sollte es für immer hier stehen!
Drei mal schauen später ist das Problem auch schon erkannt.
open("/home/macdet/.Xdefaults-vible", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/X11/app-defaults/XClock-color", O_RDONLY) = 4
open("/etc/X11/app-defaults/XClock", O_RDONLY) = 4
open("/usr/lib/X11/XtErrorDB", O_RDONLY) = -1 ENOENT (No such file or directory)
Warning: Color name "black" is not defined
Aber die Lösung war doch über Google zu finden
OK, I've found the problem. The old xorg.conf file had an RgbPath line (and quite a few other entries) that pointed to /usr/X11R6/lib/X11/rgb.txt, which no longer exists. Commenting out the line and accepting the default fixes the problem.
Linux/UsingStrace (last modified 2008-11-04 07:00:06)