FreeNX

From RockWiki

Jump to: navigation, search

Contents

Introduction

FreeNX is basically a collection of bash scripts that can act as NX server. NX is a compression method for the X protocol, the protocol used by a X11 server to communicate with client applications. The compression algorithms were developed by NoMachine.

Here it will be explained how to use the NX related packages in ROCKLinux to configure a NX server.

Requirements

The following packages are needed:

  • nxcomp
  • nxproxy
  • nx-X11
  • freenx

Configuration

  • Run nxsetup, which will add a user for the NX client, create a ssh keypair and do some other stuff.
  • Copy the sample configuration file /etc/nxserver/node.conf.sample to /etc/nxserver/node.conf
  • In /etc/nxserver/node.conf add a line
AGENT_LIBRARY_PATH="/opt/nx/lib"
  • Create a symlink to your X11 fonts directory
ln -s /usr/X11/lib/fonts /opt/nx/lib/X11/fonts
  • Copy the file /var/lib/nxserver/home/.ssh/client.id_dsa.key to your client so it is used for ssh authentication

Running

That should be it, it should now be possible to log into your server with the nomachine NX client or any other NX client available.

Personal tools