As mentioned in that other post, nxagent and nxproxy are included in Mageia 2, but the FreeNX package is not.
(There is a bug open on it https://bugs.mageia.org/show_bug.cgi?id=2819 .) I grabbed the freenx-0.7.3 package from the Mandriva 2011 contrib repository and installed it (after installing required dependencies, such as expect, netcat, Xdialog). Next, I followed the Mandiva wiki entry for FreeNX configuration here: http://wiki.mandriva.com/en/Freenx .
Two additional changes were required:
1. in /etc/ssh/sshd_config comment out the line "AuthorizedKeyFiles .ssh/authorized_keys" as FreeNX uses "authorized_keys2" and we want to allow that, as well as "authorized_keys".
2. add the following lines to the /usr/bin/nxnode file, just after the PATH is set in line 21:
- Code: Select all
export AGENT_LIBRARY_PATH="/usr/lib/nx"
export LD_LIBRARY_PATH="$AGENT_LIBRARY_PATH:$LD_LIBRARY_PATH"
This is required to force nx to use the proper libraries. If you don't do this, you'll see a session error about xrdb failing to run.