From WeWeWeb Wiki
Jump to navigationJump to search

NX is an enterprise-class solution for secure remote access, desktop virtualization, and hosted desktop deployment.

NX has two parts, the client and server.

For client, you can download from http://www.nomachine.com/download.php

However, NoMachine does not provide a free NX Server for download. So we can try the FreeNX server whic used the same NX library (GLP) as the NoMachine does.

The following are the setup procedure for FreeNX under Fedora environment.

1) Make sure sshd has installed in your Linux server.

2) Install the package nx and freenx-server using yum. (You do not need to install freenx)

3) Install the NoMachine client.

4) Configure the client.

You'll need to get the /etc/nxserver/client.id_dsa.key file from the remote computer and save it somewhere on the client computer, the one you'll configure NX Client on.

Problem fixing:

1) After authentication, session unable to establish with the error:

NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/home/mlbaker/.nx/F-C-isPgm00New-1000-ED9EEB172F6E300A6AD34114C6EBD1AB/session". You might also want to try: ssh -X myserver; /usr/libexec/nx/nxnode --agent to test the basic functionality. Session log follows: Can't open /var/lib/nxserver/db/running/sessionId{ED9EEB172F6E300A6AD34114C6EBD1AB}: No such file or directory.

Solution 1: Try to login with root and then login with normal user will be ok.

Solution 2: Replace all occurrences of "DISPLAY=unix:$display" in nxnode with "DISPLAY=:$display".