Unable to install FreeNX Server on Ubuntu Trusty. Alternatives?

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***

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.


sudo add-apt-repository ppa:freenx-team/trusty
sudo apt-get update
sudo apt-get install freenx-server

Some websites report success using ppa freenx-team/testing (instead of freenx-team/trusty). But that didn't work for me


Try to use gdebi, it should take care of any dependency that needs to be downloaded:

sudo gdebi -i <packagaename.deb>

If it's not installed, just type first:

sudo apt-get install gdebi