You are not logged in.

#1 2006-01-04 21:49:47

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

colors problem..[fixed]

When I try make menuconfig in /usr/src/linux I get a black screen.. only happens when I am running X. It works fine on the terminal without X.

I tried also to run xterm with black background and different colors, but I get only black and cant se anything else..

Why? which package is broken? Ive tried to reinstall ncurses but didnt help?

any ideas?


The ultimate Archlinux release name: "I am your father"

Offline

#2 2006-01-04 23:00:33

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: colors problem..[fixed]

[root@estergon ~]# xterm
Warning: Color name "black" is not defined
xterm: Cannot allocate color red
xterm: Cannot allocate color gray50
xterm: Cannot allocate color white
xterm: Cannot allocate color cyan
[root@estergon ~]# 

The ultimate Archlinux release name: "I am your father"

Offline

#3 2006-01-04 23:13:46

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: colors problem..[fixed]

You need to properly set the RgbPath in xorg.conf to point to whereever rgb.txt is (I think it's /usr/share/X11/ but I could be wrong - not at my machine right now)

Offline

#4 2006-01-04 23:38:18

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: colors problem..[fixed]

I located the rgb.txt and it was in here: /usr/share/X11 as you said..
Changed the xorg.conf to this location, but didnt help..

dmesg:

 cat /var/log/Xorg.0.log | grep RGB
Couldn't open RGB_DB '/usr/share/X11/'
(==) I810(0): RGB weight 565
(II) I810(0): No DPMS capabilities specified; RGB/Color Display
(II) I810(0): Allocated 16 kB for HW (ARGB) cursor at 0xfffb000 (0x2ff94000)

The ultimate Archlinux release name: "I am your father"

Offline

#5 2006-01-04 23:56:09

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: colors problem..[fixed]

[root@estergon:~]# cat /var/log/Xorg.0.log | grep RGB
Couldn't open RGB_DB '/usr/share/X11/rgb.txt'
(==) I810(0): RGB weight 565
(II) I810(0): No DPMS capabilities specified; RGB/Color Display
(II) I810(0): Allocated 16 kB for HW (ARGB) cursor at 0xfffb000 (0x291a8000)
(II) I810(0): No DPMS capabilities specified; RGB/Color Display
[root@estergon:~]# 

The ultimate Archlinux release name: "I am your father"

Offline

#6 2006-01-05 00:08:03

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: colors problem..[fixed]

I think you need the full file - /usr/share/X11/rgb.txt

Offline

#7 2006-01-05 00:09:14

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: colors problem..[fixed]

tried that also, still the same..


The ultimate Archlinux release name: "I am your father"

Offline

#8 2006-01-05 00:12:30

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: colors problem..[fixed]

Whoops, didn't see that - is the file readable by that user?
Try 'pacman -Qo /usr/share/X11/rgb.txt' and reinstall whatever package it tells you owns the file - it's always possible something mucked the file up.

hmmmm...

RGBPath "path"
    sets the path name for the RGB color database. When this entry is not specified in the config file, the server falls back to the compiled-in default RGB path, which is: 

    /tmp/Xorg-KEM/lib/X11/rgb 

Note that an implicit .txt is added to this path if the server was compiled to use text rather than binary format RGB color databases. 

Try without the .txt?

Offline

#9 2006-01-05 00:19:51

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: colors problem..[fixed]

phrakture... I love you..*Fat big wet toung kiss*

tried without the .txt and it worked..


The ultimate Archlinux release name: "I am your father"

Offline

#10 2006-01-05 00:34:29

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: colors problem..[fixed]

Ewww

Offline

#11 2006-01-05 04:46:14

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: colors problem..[fixed]

rofl!

I had this problem with the testing xorg. Good to know how to fix it.

Offline

#12 2006-01-10 11:36:11

ramjet
Member
Registered: 2005-02-16
Posts: 37

Re: colors problem..[fixed]

i do not have the rgb.txt file in /usr/share/X11.  I have tried to reinstall the package that contains it according to the -Qo command :
#pacman -S xorg-clients
but it is stil not there..
anyone know whats going on??.. (i have xorg 7 from the testing repository obviously)

if there a command to extract that specific file?

Offline

#13 2006-01-10 12:40:12

ramjet
Member
Registered: 2005-02-16
Posts: 37

Re: colors problem..[fixed]

dunno what i did but got it working somehow..

Offline

Board footer

Powered by FluxBB