Installing the FreeNX server

September 2017




NX is an efficient and secure method to remotely access a machine running X-Windows. There exist different types of NX server:
  • NX Server and 2X for commercial purpose
  • FreeNX which is a freeware.

In this tip you will learn how to install FreeNX :

Instruction for installation

  • Add the following repository: deb http://www.datakeylive.com/ubuntu gutsy main
    • sudo aptitude update
    • sudo aptitude install expect openssh-server tcl8.4 nxlibs nxagent nxproxy freenx nxclient
  • Add the authorized users for connecting under server NX:
    • sudo nxserver --adduser toto 
  • Then modify the /etc/nxserver/node.conf file:
  • Replace: #ENABLE_3_0_0_BACKEND="0" by ENABLE_3_0_0_BACKEND="1"
  • Replace: #DISPLAY_BASE=1000 by DISPLAY_BASE=1001
  • Replace: #AGENT_EXTRA_OPTIONS_X="" by AGENT_EXTRA_OPTIONS_X="-fp/usr/share/fonts/X11/misc/,/usr/share/fonts/X11/Type1/,/usr/share/fonts/X11/75dpi/,/usr/share/fonts/X11/100dpi"
  • You can now use any the NX 3.0 client.

(Tested with FreeNX 0.7.1-0 under Ubuntu 7.10 and NX 3.1.0-3 under Windows.)

Note that

  • FreeNX 0.6.x servers are not compatible with NX 3.x clients.

Links


If the SSH server is on port 22

  • Edit the node.cfg: sudo gedit /etc/nxserver/node.conf file.
  • Scroll to the line :
    • #SSHD_PORT=22
  • Enter the port number of your choice
    • SSHD_PORT=714

NX Clients

Related

Published by netty5. Latest update on March 8, 2013 at 09:26 AM by jak58.
This document, titled "Installing the FreeNX server," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).