Ubuntu – Unable to install FreeNX Server on Ubuntu Trusty. Alternatives

14.04freenxremote desktopsoftware installation

Trying to install FreeNX-Server on Trusty is always failing with dependency on nxagent

***root@xxxxx-unix:/Downloads# dpkg -i freenx-server_0.7.3.zgit.140303.1848.e81c1e4-0~ppa2~trusty_i386.deb 
Selecting previously unselected package freenx-server.
(Reading database ... 169875 files and directories currently installed.)
Preparing to unpack freenx-server_0.7.3.zgit.140303.1848.e81c1e4-0~ppa2~trusty_i386.deb ...
Unpacking freenx-server (0.7.3.zgit.140303.1848.e81c1e4-0~ppa2~trusty) ...
dpkg: dependency problems prevent configuration of freenx-server:
 freenx-server depends on nxagent (>= 2.1.0-0); however:
  Package nxagent is not configured yet.
dpkg: error processing package freenx-server (--install):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1) ...
Errors were encountered while processing:
 freenx-server***

Best Answer

FreeNX is pretty old and unmaintained.

You should try X2GO which uses same NX technology (1, 2) and is actively maintained.

Server installation

You can find the detailed guide in the X2Go wiki, the essential commands in 14.04 are:

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goserver

Client software installation

You don't have to add the PPA, x2goclient is available since 12.04 from the repository.

Note that X2Go is still incompatible with desktops that rely on 3D acceleration.