Difference between revisions of "NoMachine"

From Ever changing code
Jump to navigation Jump to search
Line 71: Line 71:
In the example below is 64 bit Ubuntu package.
In the example below is 64 bit Ubuntu package.
  wget http://web12.nomachine.com/download/4.2/Linux/nomachine_4.2.22_1_amd64.deb
  wget http://web12.nomachine.com/download/4.2/Linux/nomachine_4.2.22_1_amd64.deb
= References =
*[https://www.nomachine.com/download/linux&id=1 NoMachine for Linux] Download

Revision as of 21:38, 6 May 2014

NoMachine 3

The free NoMachine 4 is a new product aimed at a different use case. While NoMachine NX Free Edition 3 offered a free terminal server with virtual desktops created on demand, the free NoMachine 4 is designed to work the same across Windows, Mac and Linux and give users access to the physical desktop of the remote computer. If you need to create virtual desktops on demand, want to limit the logins to SSH, or are using NIS, Kerberos or other enterprise server functionalities, you need one of the NoMachine Enterprise server products

Download
wget https://dl.dropboxusercontent.com/u/56809911/nxclient_3.5.0-7_amd64.deb
wget https://dl.dropboxusercontent.com/u/56809911/nxnode_3.5.0-9_amd64.deb
wget https://dl.dropboxusercontent.com/u/56809911/nxserver_3.5.0-11_amd64.deb
Install the DEB packages
 sudo dpkg -i nx*.deb

Note: downloading version 4.0x downloads one file, for example nomachine_4.0.360_2_amd64.deb. In this case, install that file.

 sudo dpkg -i nomachine*.deb

When that command completes NoMachine will be installed and going to the 'Dash Home' (Ubuntu) button in Unity and doing a search for 'nx' should bring up the NoMachine application icons. Check the server is up

The NX service can be controlled by the command /usr/NX/bin/nxserver --status|--start|--stop|--restart. The installation process starts the server so you should be able to run the following command immediately.

sudo -H /usr/NX/bin/nxserver --status
NX> 900 Connecting to server ...
NX> 110 NX Server is running.
NX> 999 Bye.

Or, you could see the following:

$ sudo /usr/NX/bin/nxserver --status
NX> 161 Enabled service: nxserver.
NX> 161 Enabled service: nxd.

If you see the following:

% sudo /usr/NX/bin/nxserver --status   
NX> 900 Bad owner or permissions on /home/likewise-open/USERNAME/.ssh/config
NX> 110 NX Server is stopped.
NX> 999 Bye.

Then you will need to rename your ssh config file temporarily and reinstall the nxserver package (see Article: #AR02E00446). Another workaround is to do:

sudo logbash
# export HOME=/root
# apt-get remove --purge nxclient nxnode nxserver
# dpkg -i nx*.deb

If you see the following:

% sudo /usr/NX/bin/nxserver --status   
NX> 614 ERROR: Your subscription doesn’t match the NoMachine server product installed.
NX> 614 ERROR: Please visit the NoMachine web site at: [1]
NX> 614 ERROR: to acquire a valid subscription.
NX> 614 ERROR: The NX server can’t perform the requested operation.
NX> 999 Bye.

(This may occur if you install version 4.0x on a machine that has version 3). Then you will need to delete the /usr/NX directory manually and reinstall the nxserver package (see The free Linux edition asks for subscription and doesn't start).

You may also need to remove the NX user that was setup during the 4.0 installation. You can see if this user exists by doing:

% id nx

Remove the nx user by:

% sudo /usr/sbin/deluser nx

Another workaround that may work is to do:

% sudo apt-get remove --purge nxclient nxnode nxserver
% sudo dpkg -i nx*.deb

NoMachine 4

Download

In the example below is 64 bit Ubuntu package.

wget http://web12.nomachine.com/download/4.2/Linux/nomachine_4.2.22_1_amd64.deb

References