I have heard so much about NoMachine NX that let your Windows/MacOS X/Linux machine connect to a remote Linux X-Windows server. I have been using VNC to connect my Windows 2000 to my Fedora Core 4 X-Windows server. VNC works very well, but I have been reading that NX is a much better alternative. I just have to try this.
I will be installing NX server in Fedora Core 4 and the NX client in Windows 2000. I am recounting here my NX's installation experience. You may also read this article for reference.
For the server, download the following files:
Two other files are required: nc and expect. I downloaded nc-1.82-fc4.1.i386.rpm from Fedora Core 4 Updates and I got expect-5.43.0-1.i386.rpm from the Fedora Core 4 CD.
Now install the files:
rpm -Uvh nc-1.82-fc4.1.i386.rpm
rpm -Uvh expect-5.43.0-1.i386.rpm
rpm -Uvh freenx-0.4.4-2.fdr.0.noarch.rpm
rpm -Uvh nx-1.5.0-4.FC4.1.i386.rpm
Now we need to register a Linux user (john) as NX user:
nxserver --adduser john
nxserver will add an entry into /home/john/.ssh/authorized.keys2.
Next we also need to register the password of user john:
nxserver --passwd john
This finishes the server installation.
Note: If you are using iptables, you need to add this entry:
iptables -A INPUT -i lo -s 127.0.0.1 -j ACCEPT
Before installing the NX client into Windows, download the file /var/lib/nxserver/home/.ssh/client.id_dsa.key to your Windows machine.
Windows Client Installation
Double-click on nxclient-1.5.0-138.exe to start the installation.
After installation, double click on the NX icon to start the program. Since this the first time to execute the program, NX will go into configuration:
Make sure that you click on "Enable SSL encryption of all traffic." This is a must, otherwise you can not connect later on.
Click on "Configure" as there is still one thing to configure.
Click on "Key..." to import the file client.id_dsa.key that was previously download from the server.
Type in your password and you should be able to connect to the X-Windows of your server.
Fr. Visminlu Vicente L. Chua, S.J.