Might be similar to suse.
" Changing NX TCP Port
Because changing NX port on the client is straightforward - I will concentrate on the server here.
Since FreeNX server is based on SSH, changing NX port will require you to change SSH port as well, or NX will fail. The default TCP port of SSH and NX is 22. The configuration files on SUSE Linux 10.0 are:
/etc/nxserver/node.conf
/etc/ssh/sshd_config
...and don't forget to restart the SSH service afterwards.
Tip for advanced users:
By using this technique - you can effectively setup a farm of Linux distros even on your home PC - using some kind of virtualization (VMware/Qemu/Xen) - by setting up virtual NX servers to listen on different ports. This is really cool - because it can be used from both a LAN and from the Internet at the same time ! "
From
http://en.opensuse.org/FreeNX_Server...ng_NX_TCP_Port