NX Client / Server
This web pade describes NX Client / Server version 1.x
that is condidered obsolete after the upgrade to version 3.x on September 3rd, 2008.
See NX 3.x Client/Server for more details on the new version.
Overview
- Installing NX Client
- Running NX Client
- Troubleshooting NX Client
- Installing NX Server on PSI Scientific Linux
- Links
Install NX Client
Please note:- NX Client 2.x will not work with our NX Servers. Please use NX Client version 1.x !.
- If you run PSI Scientific Linux, the NX Client and the PSI NX Client key are already installed.
Just go to the next step Running NX Client. - If you have a PSI WinXP installationen, please install the X Client over Application Center.
For all other systems:
1. Download the NX Client:
- NX Client for Windows: nxclient-1.5.0-138.exe
Optional font packages for Windows NX client (*):
nxfonts-75dpi.exe, nxfonts-100dpi.exe, nxfonts-misc.exe, nxfonts-others.exe - NX Client for Linux: nxclient-1.5.0-135.i386.rpm, nxclient_1.5.0-135_i386.deb
- NX Client for MacOS/X: nxclient-1.5.0-113.ppc.tar.gz
- NX Client for Solaris: nxclient-1.5.0-113.sparc.gz
(*) The additional fonts are only needed when running very old Unix applications, requiring the use of client-side fonts. All recent Unix applications use fonts stored on the server, that are fully supported by NX.
2. Download PSI NX Client key
- Download client.id_dsa.key or server.id_dsa.key (You will be ask for you NT username and password)
3. Copy the PSI NX Client key to the right location
- On Winodws: copy server.id_dsa.key to C:\Program Files\NX Client for Windows\share\keys
- On Linux and MacOS/X: copy server.id_dsa.key to /usr/NX/share/keys
Note for old NX clients (<=1.4):
- There the key is called client.id_dsa.key and should be copied into the folder /usr/NX/share or C:\Program Files\NX Client for Windows\share.
Some hints about the installation of NX client on MacOS/X can be found here.
Running NX Client
1. Configure a NX connection
- Start the NX Connection Wizard:
Linux:
K-menu -> Internet -> NX Client for Linux -> NX Connection Wizard
Alternatively with the command nxclient --wizard, see also nxclient --help
Windows:
Start -> Programms -> NX Client for Windows -> NX Connection Wizard
- To connect to llc.psi.ch type. Do NOT use "spaces" in the Session name.
- If you connect to the NX Server from outside of the PSI network, choose
Enable SSL encryption of all traffic
2. Connect to the NX Server
- Choose a session.
- Accept the RSA key
Troubleshooting NX Client
- NX Client 2.x will not work with our NX Servers. Please use NX Client version 1.x !.
- If the fonts are ugly and much too small check if the DPI (dots per inch) value is correctly set on the remote machine.
Login over NX client to the remote machine and run
xrdb -query | grep Xft.dpi
You should get Xft.dpi: 96. If this is not the case, ask the system administrator of the remote machine to fix it globally for this system or you can specify the DPI value for your user by executing
echo "Xft.dpi:96" >> ~/.Xresources - If you get an authentication error: Check if you have installed the PSI NX Client key
- If you have the right key but can still not log in, try the following:
- Sometimes old and dead NX related processes remains on the remote host. Please login via SSH to the host you want to connect and kill all processes belonging to an old NX session. For example, use putty as SSH client on Windows.
- (Re-)move your personal NX settings: mv ~/.nx /tmp.
- Also remove your .nx folder in Windows. The .nx of the Windows NX client can be found in C:\Document and Settings\Username\.nx
- (Re-)move the file ~/.Xdefaults: mv ~/.Xdefaults /tmp. Normally you don't need ~/.Xdefaults.
- Remove your .xauthXXXX files: rm ~/.xauth*. Warning: Remove of your .xauthXXXX files can make all your open KDE sessions unusable!
- Check if you AFS disk quota is not 100% used. Run fs quota to check your quota. Remove files, if your quota close to 100%.
- If you get the "Error: Parse error in remote options string 'NX> '."
Check if your session name contains no spaces. And try to login a agian. See this reply on the NoMachine mailing list. - Resuming and suspending of NX sessions is not supported on LLC's! If you see during login a window offering you to resume an old session, please press New to open a new session.

Installing NX Server on PSI Scientific Linux
On a PSI Scientific Linux installation run as localadmin the following command:
sudo psi-yum install freenx-psi
This will install freenx-psi, freenx, nx which are needed to run the NX server on your PC.
Please note:
- Access from outside the PSI network to your local NX server is possible, but this might change in the future.
- If you would like to connect to your local NX server from outside of the PSI network, please select "Enable SSL encryption of all traffic" in your NX client.
Links
Last modified: 2007-02-26 U.B
