You are not logged in.

#1 2010-11-10 18:45:17

oringo
Member
Registered: 2007-08-23
Posts: 21

[SOLVED] Undefined Color: "Black" in freenx

After a recent update, my box that has freenx installed cannot let the client run programs like emacs anymore:

$ emacs
Undefined color: "black"

I've looked around and some 2006 posts on the net points their finger to rgb.txt, however it seems that rgb.txt has been done away a while ago...

Last edited by oringo (2010-11-11 23:30:43)

Offline

#2 2010-11-11 22:53:55

Strog
Member
From: Broken Arrow, OK
Registered: 2005-07-05
Posts: 4
Website

Re: [SOLVED] Undefined Color: "Black" in freenx

If you do a strings on nxagent then you'll see it's looking for rgb(.txt) in a few hardcoded places and rgb.txt isn't used by X anymore.

/usr/X11R6/lib/X11/rgb
/usr/NX/share/rgb
/usr/share/X11/rgb
/etc/X11/rgb


There's an rgb file in /opt/NX/share/rgb.  You can symlink it to one of those locations (I chose /etc/X11/rgb) so applications using RGB color calls under freenx can work properly.

Offline

#3 2010-11-11 23:30:23

oringo
Member
Registered: 2007-08-23
Posts: 21

Re: [SOLVED] Undefined Color: "Black" in freenx

I had to install nxclient to bring in /opt/NX/share/rgb, but after that symlink to /usr/share/X11/rgb fixed the problem. Thanks Strog!

Offline

Board footer

Powered by FluxBB