Install FreeNX server on Ubuntu 10.04 (Lucid), 10.10 (Maverick) or 11.04 (Natty)








UPDATE: The instructions below works on Ubuntu 10.04, 10.10 and 11.04. However it does not work on Ubuntu 11.10. To install freeNX server on Ubuntu 11.10, see my another blog post: Install FreeNX server on Ubuntu 11.10 oneiric
  1. Enable the repository:
    sudo add-apt-repository ppa:freenx-team
  2. If you're using 10.10 Maverick, run
    sudo sed -i 's/maverick/lucid/g' /etc/apt/sources.list.d/freenx-team-ppa-maverick.list
  3. If you're using 11.04 Natty, run
    sudo sed -i 's/natty/lucid/g' /etc/apt/sources.list.d/freenx-team-ppa-natty.list
  4. Update the repository:
    sudo apt-get update
  5. Install FreeNX:
    sudo apt-get install freenx
  6. Download the setup script:
    cd /tmp;
    wget https://bugs.launchpad.net/freenx-server/+bug/576359/+attachment/1378450/+files/nxsetup.tar.gz;
    tar zxvf nxsetup.tar.gz
  7. Install the setup script:
    sudo cp nxsetup /usr/lib/nx/nxsetup
  8. Run the setup script:
    sudo /usr/lib/nx/nxsetup --install

See also: how to secure your FreeNX server






7 comments:

  1. I get
    Error reading https://launchpad.net/api/1.0/~freenx-team/+archive/ppa:

    trying to add the ppa, I preceded that with

    export http_proxy=http://myproxy.acme.com:80/

    am i doing something wrong?

    ReplyDelete
  2. sorry error got clipped, it was:

    ReplyDelete
  3. erg.... comment system strips things that look like xml, removing brackets:

    urlopen error [Errno 113] No route to host

    ReplyDelete
  4. Hi, mebigfatguy,

    Here is the guide to add PPA repo:

    https://help.ubuntu.com/community/Repositories/CommandLine#Adding%20Launchpad%20PPA%20Repositories

    Looks like you are using the proxy, you can try the following commands:
    sudo -s
    export http_proxy=http://myproxy.acme.com:80
    add-apt-repository ppa:freenx-team

    Or read this thread: http://ubuntuforums.org/showthread.php?t=1474905

    ReplyDelete
  5. Has anyone gotten remote printing to work? Using FreeNX on ubuntu server at one location, either the Nomachine client or "web companion" at another on XP Pro, and want to be able to allow individual users to print to printers attached to the XP Pro machines and/or network printers on the XP Pro machine lan.....beating my head against the wall so far....am seeing need to make adjustments in node.conf file, but could really use full blown how to including what printer settings would look like.

    ReplyDelete
  6. Hi

    I followed the instructions and installation went without (apparent) hitch. I am using the XP client.

    I cannot connect no matter what I try. I get a connection error with these details :-

    NX> 203 NXSSH running with pid: 232
    NX> 285 Enabling check on switch command
    NX> 285 Enabling skip of SSH config files
    NX> 285 Setting the preferred NX options
    ssh: connect to host 192.169.1.200 port 22: Connection timed out

    I assume that ssh is listening on port 22 as I can PuTTY into it. I can also get in with WinSCP.

    I have looked at a multitude of Google search results, too no avail. Any ideas?

    ReplyDelete
    Replies
    1. Not sure if you have checked you XP firewall settings. You need to allow client.

      Also, you need to install the ssh key if you have changed the default one.

      Delete