FreeNX package

Posted by George Wright Sat, 12 Jul 2008 17:44:00 GMT

In the absence of any sort of reasonably up to date packages for FreeNX, I decided to compile my own and tarball it up on my server.

This is a build of the NoMachine NX 3.2.0 open source components done on Ubuntu Hardy (32-bit) and the scripts from FreeNX are included, so it's an unlimited user server. As it was built on Hardy, only distributions using glibc 2.4 or later are supported, but I've successfully run it on a 64-bit Gutsy installation.

Installation is simple; just untar the package to /usr/NX and then make sure that the command:

$ LD_LIBRARY_PATH=/usr/NX/lib:$LD_LIBRARY_PATH /usr/NX/bin/nxagent

doesn't fail (install any required dependencies if it complains of missing shared libraries), then run:

# /usr/NX/bin/nxsetup --install --setup-nomachine-key

After that has run successfully, you should just be able to log into the server using an NX client (my QtNX in Hardy seems to work fine).

Later I'll upload a build of FreeNX with NX 3.2.0 for older machines (will compile it on Debian Etch).

Update: a build for older glibc versions (tested on Debian Etch) is now available.

Posted in  | 10 comments

Comments

  1. EdCates said about 8 hours later:

    George, this rocks. Having struggled with updating crusty old NX installations before, I really appreciate you doing this.

    Thanks! –Ed

  2. Alex said about 19 hours later:

    Hi George, thanks a lot. I will add to the post, you need expect installed if you want auth working. Anyway can you add a little doc about how you made the compilation with all the open source components? Thanks in advance.

  3. Marcelo said 1 day later:

    Hi George, we set up an FreeNX-Team at Lauchpad for NX/FreeNX packages. Take a look at https://launchpad.net/~freenx-team/+archive

    The FreeNX package is missing and will be added someday this week but you can use the one from https://launchpad.net/~marceloshima/+archive

  4. Hodinky said 1 day later:

    After struggling with the crusty old NX update installations, I really appreciate you, thank you George.

  5. Darius said about 1 month later:

    Superb work, i tried to compile it for one week on debian etch. I had a problem that nxagent didn’t compile, everything else did. So thank you very much. As Alex already said it would be nice if you could manage it to post a little howto for compilation or for my part what dev-packages i forgot and are needed. Thanks.

  6. James said about 1 month later:

    George,

    I am also running Ubuntu Hardy on an i386. I downloaded and untarred your file to /usr/NX as instructed. When I attempted to run the command, I got the following:

    dad@barney:/usr$ LDLIBRARYPATH=/usr/NX/lib:$LDLIBRARYPATH /usr/NX/bin/nxagent Error: Aborting session with ‘Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again’. Session: Aborting session at ‘Fri Aug 22 00:46:08 2008’. Session: Session aborted at ‘Fri Aug 22 00:46:08 2008’.

    Any ideas?

  7. brazz said 5 months later:

    Georges,

    I am running Hardy on a remote engine. I am connected with ssh :) . At first, the installation was text only server, so I apt-get install gdm lxde

    After, I untar your tarball as you write and I have a “good” /usr/NX

    but, infortunatly, when I run:

    pierre@banyan:~$ LDLIBRARYPATH=/usr/NX/lib:$LDLIBRARYPATH /usr/NX/bin/nxagent

    NXAGENT - Version 3.2.0

    Copyright (C) 2001, 2007 NoMachine. See http://www.nomachine.com/ for more information.

    Info: Agent running with pid ‘5837’. Session: Starting session at ‘Fri Dec 12 01:05:19 2008’. Error: Aborting session with ‘Unable to open display ”’. Session: Aborting session at ‘Fri Dec 12 01:05:19 2008’. Session: Session aborted at ‘Fri Dec 12 01:05:19 2008’. pierre@banyan:~$

    I have problems…

    What is the trick?

  8. gaffe77 said 9 months later:

    Hope you’re enjoying Toronto, George!

    Installing Etch version on a system with NoMachine nxclient installed, there are file name conflicts in /usr/NX/{bin,lib}

    Instead, install in /usr/NXS and change /bin/nxloadconfig line 59 to

    NX_DIR=/usr/NXS
    

    run

    $ LD_LIBRARY_PATH=/usr/NXS/lib:$LD_LIBRARY_PATH /usr/NXS/bin/nxagent
    
    to check nxagent, and
    $ usr/NXS/bin/nxsetup --install --setup-nomachine-key
    
    to set up, works for me

  9. krb said 11 months later:

    Hi,

    I have been trying to get qtnx client working for almost 4 days now, but no luck so far.

    Do you have a tarred package for one. I also tried the svn trunk from freenx website.

    Thanks

  10. krb said 11 months later:

    Hi,

    Ok so I managed to get the qtnx working on fedora with freeNX (as server) in normal mode.

    But I cannot use Qtnx to connect to freenx-server in usermode.

    Any suggestions?

    Thanks

(leave url/email »)

   Comment Markup Help Preview comment