Comment 4 for bug 358678

Revision history for this message
Hugo Heden (hugoheden) wrote :

I finally got a workaround working. See the links mentioned in my previous comment for background. Note that this is NoMachine NX, not FreeNX. The solution for me was to just add /etc/X11/rgb.txt and restart the nxserver

  $ sudo cp /usr/share/emacs/23.0.93/etc/rgb.txt /etc/X11/rgb.txt

Notes:

(1)

  $ strings /usr/NX/bin/* | grep /rgb
  /usr/X11R6/lib/X11/rgb
  /usr/share/X11/rgb
  /etc/X11/rgb

 -- so the files /usr/X11R6/lib/X11/rgb.txt and /usr/share/X11/rgb.txt may also be needed (for something. I don't know).

(2) The file rgb.txt ships with many packages, see for example

  $ apt-file search rgb.txt

  It can probably also be downloaded from the Internet. However, do *not* use the one that ships with NX itself ( /usr/NX/share/rgb.txt ), that one did not work for me for some reason.

All in all, I think this is a duplicate of bug #300935 . Any objections?