View previous topic :: View next topic |
Author |
Message |
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Thu Dec 14, 2006 6:36 am Post subject: nxserver-freenx: tcl/tk problems [SOLVED] |
|
|
I can't run any tcl/tk applications in NX anymore. I'm getting this error:
Code: |
Application initialization failed: this isn't a Tk applicationunknown color name "Black"
|
I had this problem about a month ago and I fixed it by making a symlink to rgb.txt and by adding an entry for 'Black' to it. The following shows that everything looks as it should:
Code: |
# strings /usr/lib/NX/bin/nxagent | grep "X11.*rgb"
/usr/X11R6/lib/X11/rgb
#ls -ll /usr/X11R6/lib/X11/rgb.txt
lrwxrwxrwx 1 root root 22 Sep 6 01:00 /usr/X11R6/lib/X11/rgb.txt -> /usr/share/X11/rgb.txt
# grep Black /usr/share/X11/rgb.txt
0 0 0 Black
|
I still can't start any tcl/tk programs... NX probably got broken when I did an upgrade a couple weeks ago... but I'm not sure what to do to fix this. Anyone have a clue? _________________ Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside. |
|
Back to top |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Thu Dec 21, 2006 6:41 am Post subject: |
|
|
Adding the following to '/etc/nxserver/node.conf' did the trick:
Code: |
AGENT_EXTRA_OPTIONS_X="-co /usr/share/X11/rgb"
|
_________________ Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside. |
|
Back to top |
|
|
|