Re: xrog upgrade borked ALOT
On Sat, Jun 10, 2006 at 08:19:53 -0700, Rodney D. Myers wrote:
> On Sat, 10 Jun 2006 17:09:10 +0200
> Florian Kulzer wrote:
>
> > On Sat, Jun 10, 2006 at 07:11:35 -0700, Rodney D. Myers wrote:
> > > On Sat, 10 Jun 2006 12:52:20 +0200
> > > Florian Kulzer wrote:
[...]
> > > > Do you have /etc/X11/rgb.txt and a symlink to it in /usr/share/X11/? Is
> > > > this file readable for normal users?
> > >
> > > /etc/X11/rgb.txt is a real file not a symlink. /usr/share/X11/rgb.txt
> > > is the symlink.
> >
> > That is what I meant; maybe I did not make myself clear.
>
> Not sure. "I" read it the other way around. That's why I pointed out
> both things just to be safe. :-)
>
> > >
> > > ls -la /etc/X11/rgb.txt
> > > -rw-rw-rw- 1 root root 17371 2006-01-14 17:27 /etc/X11/rgb.txt
> >
> > $ ls -la /etc/X11/rgb.txt
> > -rw-r--r-- 1 root root 17371 2004-04-28 20:19 /etc/X11/rgb.txt
> >
> > Seems like it is the same file on your system. Just to be sure, check if
> > it actually contains a definition for "black":
> >
> > $ grep black /etc/X11/rgb.txt
> > 0 0 0 black
>
> grep black /etc/X11/rgb.txt
> 0 0 0 black
>
> > > ls -la /usr/share/X11/rgb.txt
> > > lrwxrwxrwx 1 root root 16 2006-06-03 07:21 /usr/share/X11/rgb.txt -> /etc/X11/rgb.txt
> > >
> > > In this situation;
> > >
> > > emacs
> > > Undefined color: "black"
> > >
> > > Not working
> >
> > Maybe your xorg.conf still points to the old location at
> > /usr/X11R6/lib/X11/rgb.txt. You can check this with "grep -i rgb
> > /etc/X11/xorg.conf". If that comes up empty you could try to explicitly
> > specify the correct RGBPath yourself; see "man xorg.conf".
[...]
> grep -i rgb /etc/X11/xorg.conf
> RgbPath "/etc/X11/rgb.txt"
I think X on Debian adds ".txt" automatically to the RGBPath nowadays;
so in your case the X server might look for "/etc/X11/rgb.txt.txt". Try
to remove the ".txt" part (or comment out the entire line) and restart
Xorg. If that does not help it is probably time to run
egrep '^\((EE|WW)\)' /var/log/Xorg.0.log
and look for warnings and errors related to rgb.txt.
--
Regards,
Florian
Reply to: