Posts

Showing posts from September, 2006

FreeNX on Gentoo

Image
This is how I got the latest available FreeNX server and Windows Client to work on Gentoo. I've found FreeNX invaluable for administration remote Gentoo/Linux and Solaris servers.

Install FreeNX software USE="nxclient" ACCEPT_KEYWORDS="~x86" emerge -avt "=nxserver-freenx-0.5.0.20060311-r1" Create a node configuration file. cp /usr/NX/etc/node.conf.sample /usr/NX/etc/node.conf
Define authorization file in node configuration.vi /usr/NX/etc/node.conf
add line
SSH_AUTHORIZED_KEYS="authorized_keys"
Add a remote user to FreeNX.As default FreeNX use PAM to authenticate user's password. The behavior can be changed by enabling internal FreeNX password in node configuration file. /usr/NX/bin/nxserver --adduser <username> FreeNX, uses a default public key for initial communication to the FreeNX server. (user nx) Replacing the key is more secure but the private key has to be installed on all clients which access this server. Generate new keyp…