NoMachine NX Server Installation

From SlackWiki
Jump to navigation Jump to search


Introduction

The purpose of this article is help the user quickly get NX Server installed on a Slackware machine. The installation will use the compressed tar packages (version 3.5.X.TAR.GZ) from http://www.nomachine.com. The tutorial only applies to NoMachine's NX server implementation (free edition) and does not apply to Freenx. Instructions for installing Freenx can be found here.

What is NX?

An introduction to NX can be found at http://www.nomachine.com/documents/getting-started.php

Slackware Requirements

According to NoMachine, there are three required packages for a working installation on Linux.

  • nxclient
  • nxnode
  • nxserver

A working sshd installation must already be running on the server and configured properly. The client machine must be able to connect to the server via ssh.

Changes to /etc/ssh/sshd_config =

Comment out #AuthorizedKeysFile .ssh/authorized_keys so that the sshd daemon configuration is configured to look for an authorized key file named .ssh/authorized_keys and .ssh/authorized_keys2.


NX Installation

The following steps must be performed with root priviledges.

  1. Obtain the nxserver, nxnode, and nxclient (compressed tar) packages from http://www.nomachine.com/select-package.php?os=linux&id=1.
  2. Change to the /usr directory.

    # cd /usr

  3. Extract each of the three packages.

    # tar zxvf nxclient-3.5.X.tar.gz

    # tar zxvf nxnode-3.5.X.tar.gz

    # tar zxvf nxserver-3.5.X.tar.gz

  4. Create some required directories in /etc/init.d/

    # mkdir /etc/init.d/rc{0,2,3,5,6}.d

  5. Run the installation scripts

    # /usr/NX/scripts/setup/nxnode --install suse

    # /usr/NX/scripts/setup/nxserver --install suse