Bug#389864: xserver-xorg-core: /usr/bin/Xorg does not find rgb.txt

2006-09-29 Thread Michel Dänzer
On Thu, 2006-09-28 at 21:13 +0200, Giacomo Boffi wrote:
 Michel Daenzer writes:
   
   Giacomo, adding
   
  RgbPath /etc/X11/rgb
   
   to the xorg.conf Section Files should serve as a workaround.
 
 sorry, but for the sake of brevity i did not mention that i
 experimented with rgbpath, to no avail, before reporting a bug...

Can you try again with xserver-xorg-core 2:1.1.1-9, currently in
http://incoming.debian.org/ ?


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer



Bug#389864: xserver-xorg-core: /usr/bin/Xorg does not find rgb.txt

2006-09-29 Thread Giacomo Boffi
Michel Dänzer writes:
  On Thu, 2006-09-28 at 21:13 +0200, Giacomo Boffi wrote:
   Michel Daenzer writes:
 
 Giacomo, adding
 
 RgbPath /etc/X11/rgb
 
 to the xorg.conf Section Files should serve as a workaround.
   
   sorry, but for the sake of brevity i did not mention that i
   experimented with rgbpath, to no avail, before reporting a bug...
  
  Can you try again with xserver-xorg-core 2:1.1.1-9, currently in
  http://incoming.debian.org/ ?

 i have installed xserver-xorg-core 2:1.1.1-9, and i have tried to use
 the color deepblue in two distinct server instances, with and
 without the RgbPath directive in xorg.conf --- and no, the new server
 doesn't find deepblue in the color db in neither case

 tonight i'll try the same at home, where i have a similar debian
 system having the same problem, but i'm a bit pessimistic...

 just a question, is this strange behaviour confirmed on systems
 different from my two?

 thank you
g



Bug#389864: xserver-xorg-core: /usr/bin/Xorg does not find rgb.txt

2006-09-28 Thread giacomo boffi
Package: xserver-xorg-core
Version: 2:1.1.1-7
Severity: normal

in my debian, the X colour db is installed by x11-common, in two places,
the traditional one, /etx/X11, and the new standard, /usr/share/X11

i'm used to increment the colour db with italian names and other things
and until recently (less than a week) all worked as intended

now X does not recognize anymore these italian colours, afaict
(i strace'd Xorg binary) because it's unable to find rgb.txt

here it is a simple test case:
 START -
- 1 from the console type --
  $ sudo echo  230 230 230 grigiochiaro  /etc/X11/rgb.txt

- 2 start X as usual, e.g., 
  $ startx

- 3 from an xterm, type 
  $ xsetroot -solid grigiochiaro

- 4 read the error message -
  xsetroot:  unknown color grigiochiaro 
 END ---

btw, the server binary contains a copy of the colour db, so it knows
about rosybrown and chartreuse even if no rgb.txt is available to it,
shadowing the problem to 99.994% of the user base...

thank you
gb
-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xserver-xorg-core depends on:
ii  libc62.3.6.ds1-4 GNU C Library: Shared libraries
ii  libfontenc1  1:1.0.2-2   X11 font encoding library
ii  libgcc1  1:4.1.1-14  GCC support library
ii  libxau6  1:1.0.1-2   X11 authorisation library
ii  libxdmcp61:1.0.1-2   X11 Display Manager Control Protoc
ii  libxfont11:1.2.2-1   X11 font rasterisation library
ii  x11-common   1:7.1.0-1   X Window System (X.Org) infrastruc
ii  zlib1g   1:1.2.3-13  compression library - runtime

Versions of packages xserver-xorg-core recommends:
ii  xkb-data  0.8-13 X Keyboard Extension (XKB) configu

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#389864: xserver-xorg-core: /usr/bin/Xorg does not find rgb.txt

2006-09-28 Thread Michel Dänzer
On Thu, 2006-09-28 at 08:57 +0200, giacomo boffi wrote:
 Package: xserver-xorg-core
 Version: 2:1.1.1-7
 Severity: normal
 
 in my debian, the X colour db is installed by x11-common, in two places,
 the traditional one, /etx/X11, and the new standard, /usr/share/X11
 
 i'm used to increment the colour db with italian names and other things
 and until recently (less than a week) all worked as intended
 
 now X does not recognize anymore these italian colours, afaict
 (i strace'd Xorg binary) because it's unable to find rgb.txt

This is usually caused by an incorrect RgbPath directive in xorg.conf.
If that's not the case for you, please provide that file as well as the
corresponding Xorg.0.log.


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer



Bug#389864: xserver-xorg-core: /usr/bin/Xorg does not find rgb.txt

2006-09-28 Thread Michel Dänzer
retitle 389864 xserver-xorg-core: Default RgbPath broken
kthxbye

On Thu, 2006-09-28 at 14:18 +0200, Giacomo Boffi wrote:
 
 5) /var/log/Xorg.0.log

[...]

 (==) RgbPath set to ${prefix}/share/X11/rgb

XSF: That looks wrong...

Giacomo, adding

RgbPath /etc/X11/rgb

to the xorg.conf Section Files should serve as a workaround.


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer



Bug#389864: xserver-xorg-core: /usr/bin/Xorg does not find rgb.txt

2006-09-28 Thread Giacomo Boffi
Michel Daenzer writes:
  retitle 389864 xserver-xorg-core: Default RgbPath broken
  kthxbye
  
  On Thu, 2006-09-28 at 14:18 +0200, Giacomo Boffi wrote:
   
   5) /var/log/Xorg.0.log
  
  [...]
  
   (==) RgbPath set to ${prefix}/share/X11/rgb
  
  XSF: That looks wrong...
  
  Giacomo, adding
  
   RgbPath /etc/X11/rgb
  
  to the xorg.conf Section Files should serve as a workaround.

sorry, but for the sake of brevity i did not mention that i
experimented with rgbpath, to no avail, before reporting a bug...

anyhow, i modified as suggested my xorg.conf, please see the following
cut+paste, but as you can see the X server still does not know about a
color name (deepblue) that is in my /etc/X11/rgb.txt

as a side note, i have the same problem both at my office, from where
i'm writing to you, and at home


boffi95:~# whoami
root
boffi95:~# vi /etc/X11/xorg.conf
boffi95:~# grep -iC1 rgbpath /etc/X11/xorg.conf
Section Files
RgbPath /etc/X11/rgb
#   path to defoma fonts
boffi95:~# strace  -o X.strace /usr/bin/X  X.out 2 X.err  sleep 10
[1] 16353
boffi95:~# xsetroot -display :0 -solid gray85  
boffi95:~# xsetroot -display :0 -solid deepblue
xsetroot:  unknown color deepblue
boffi95:~# grep deepblue$ /etc/X11/rgb.txt
  44  44 178deepblue


after killing X, i have found in Xorg.0.log:
(**) RgbPath set to /etc/X11/rgb

to me, it's deep water...

thank you Michel, thank you everybody
gb


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]