Nx Client and Server on Susee 10.3

Download: http://www.nomachine.com/download-package.php?Prod_Id=1

Documentation on installation: http://www.nomachine.com/installation.php

Documentaion on configuration: http://www.nomachine.com/documentation/admin-guide.php

- Download the client, server and node.

linux:/home/yo/Desktop # rpm -i nxclient-3.1.0-2.i386.rpm
linux:/home/yo/Desktop # rpm -i nxnode-3.1.0-3.i386.rpm
error: Failed dependencies:
lsof is needed by nxnode-3.1.0-3.i386

So I opened Yast and installed “lsof”

Then

linux:/home/yo/Desktop # rpm -i nxclient-3.1.0-2.i386.rpm

Now time to configure:

Generate Keys – the info is from link above.

  • Use the nxserver utility to actually generate the new keys
    as reported below:

/usr/NX/scripts/setup/nxserver –keygen

How to distribute the new SSH keys

  • Change the ownership and permissions on the following files:

chown nx:root /usr/NX/home/nx/.ssh/authorized_keys
          chmod 0644 /usr/NX/home/nx/.ssh/authorized_keys2
          chown nx:root /usr/NX/home/nx/.ssh/default.id_dsa.pub
          chmod 0644 /usr/NX/home/nx/.ssh/default.id_dsa.pub

  • A part of the key that must be distributed to clients is placed in:

    /usr/NX/share/keys

    Distribute the private key from the newly generated couple of keys located in the file:

    /usr/NX/share/keys/default.id_dsa.key

    to all clients that have to be granted acccess to the specific NX server host.

  • Once the new key has been distributed to clients place it under the subdirectory ’share/keys’ of the NX Client installation tree reserved to this purpose. The ’share/keys’ subdirectory can be found in the NX Client installation tree according to the following standards: On MacOS/X, Linux and Solaris it corresponds to:

    /usr/NX/share/keys

    While on Windows (using the default installation settings), it corresponds to:

    C:\Program Files\NX Client for Windows\share\keys

    When the key has been placed in the above location, please use the key management facilities provided by the NX Client GUI:from the ‘General’ tab of the session configuration window, click on the ‘Key’ button and choose Import to import the new key by navigating to the appropriate directory above and Save to save your changes.

    Additional Notes:

    The NX Client GUI facility allow you to import the new private key for the
    session you are configuring. If you don’t explicitly import any new key,
    the default private key distributed together with the NX Client, i.e.
    /usr/NX/share/keys/server.id_dsa.key will be used.

  •  Rename the default private key to preserve it.
  •  Rename the new private key from:

/usr/NX/share/keys/default.id_dsa.key

to:

/usr/NX/share/keys/server.id_dsa.key

In this way, the new key will be used as the default key for all NX
sessions (except those sessions that have been previously configured
to use a specific key).

~ by Tide on January 15, 2008.

Leave a Reply

You must be logged in to post a comment.