[FreeNX-kNX] xterm "Cannot allocate color" error with freenx

qqmichaelqq at netscape.net qqmichaelqq at netscape.net
Fri Jul 7 17:46:35 UTC 2006


Hi Tim,

The freenx server is looking for the X11 rgb in /usr/lib/X11, but in 
Dapper rgb lives in /etc/X11. So the fix is to create a link from one 
to the other:

sudo ln -s /etc/X11/rgb.txt /usr/lib/X11/rgb.txt

Michael


-----Original Message-----
From: Tim Jackson <tim.jackson at ints.com>
To: freenx-knx at kde.org
Sent: Thu, 08 Jun 2006 17:33:43 -0700
Subject: [FreeNX-kNX] xterm "Cannot allocate color" error with freenx

  -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am getting trying to use freenx on Ubuntu Dapper.
I have loaded on the target
freenx  0.4.4+0.4.5-4
nxagent 1.4.92+1.5.0-11ubuntu1
nxclient 1.5.0-141
nxdesktop 1.4.92+1.5.0-11ubuntu1
nxlibs 1.4.92+1.5.0-11ubuntu1
nxviewer 1.4.92+1.5.0-11ubuntu1
And loaded on the client
nclient 1.5.0-141
I can log in fine and the gnome desktop comes up fine but when I use
xterm I get a message 'Warning: Color name "black" is not defined', and
I get the errors "Cannot allocate color xxx" when running an ncurses
application in xterm over freenx.
I end up with a solid black window in which the app is running.
Any ideas as to how to fix this problem? Is it a colormap problem? If so
 can that be configured.  I see on the Nomachine site that there are
options for setting a colormap, does anyone have ideas on how that might
be done?

Thanks in advance for any ideas.
Tim Jackson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEiMHngLVM9zV5AaMRAs7tAJ9S1HVuZVQPJETwKhx7DdP753xt8ACdE1tb
nsAzU9Ej0sbxw1MxtF6zDhs=
=Bh/3
-----END PGP SIGNATURE-----
________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:
  http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________

   



More information about the FreeNX-kNX mailing list