• Great tutorial! 
    I recently upgraded a couple of server to Ubuntu 9.04 Jaunty, and required the following modifications to make the FreeNX installation work:

    The following lines appended to /etc/apt/sources.list.d/freenx.ppa.list:

    # Ubuntu FreeNX Repository for Jaunty
    deb http://ppa.launchpad.net/freenx-team/ubuntu jaunty main 
    deb-src http://ppa.launchpad.net/freenx-team/ubuntu jaunty main

    I didn’t change /usr/lib/cups/backend/ipp, probably because my server was not a print server (the file was not found)

    I installed tcl8.5 instead of tcl8.4
    And voilà!
    Alex Saavedra

  • Pingback: b - log » FreeNX()

  • Pingback: How to use Remote Desktop Connection with Ubuntu « HydTech()

  • Brendan

    I have been running FreeNX server on CentOS 5.2 and a Windows XP client for over a year, but did not know about the modem selection optimization. I suppose it is a tradeoff between bandwidth and remote cpu. I’ll give it a try.

    I recommend using the slightly stale 3.1.0-6 NoMachine client, mostly because later versions have a bug (listed as ‘trivial’ on the NoMachines site) when using alt-tab in full screen mode in Windows XP.

    As for the  ‘cannot initialize display device’ error,  I seem to get this message at random even though I  have no cygwin processes running in the background.  A second connection attempt is nearly always successful. 

  • aflores3

    Thats all I wanted to hear.. can’t wait to start playing.

    Thanks again

  • aflores3 – Because NX is run over SSH it is very secure but you must generate custom keys, as described. The default key shipped with FreeNX is well known, thus insecure, and using it defeats the security provided by using SSH.

    I’ve also specified denyhosts in the list of components to install, this isn’t strictly necessary but does add an additional layer of security but limiting the impact of brute-force attacks on your SSH server.

    Glad to help.

  • aflores3

    thanks for the clear, concise instructions. As an Ubuntu noob, I have to ask: how secure is this? Is it safe to connect to my linux box at home via xp at work? I realize nothing is 100%, but I just wanted to know what you recommend.

    Thanks again.

  • KnPhuket

    A quick note of thanks.  I had this on my list for a long time but always ran into some hurdle in gutsy and hardy and just did not want to deal with the research to get it going.  OK I was lazy.  This was the kick in the seat I needed.  Simple, clear instructions and the responsiveness improvement over Vinagre is shocking.  Nice job and much appreciate the time you took.

  • PhuLeRock – I’ve seen this error on my Windows box when I’ve got an older version of cygwin1.dll already loaded (in my case I was running CopSSH) or if an older version of the dll is in the path. NoMachine have also got these 2 trouble reports ( http://www.nomachine.com/tr/view.php?id=TR01E01593 and http://www.nomachine.com/tr/view.php?id=TR07E01782 ) which may also be the problem. My Windows box is running a UK version of XP (fully patched) with usernames with English-only characters.

    Hope this helps.

  • I have a problem with NXclient, I have the error “cannot initialize display device ” but I didn’t receive any question about .DLL files ?

    Any help for me ?

  • karl weibye

    BIG help, lots of time saved; many thanks.
    Also a terrific remote solution.

  • Alan, thanks a lot for summarizing the setups, saved me a lot of time!

    – Farhan

  • Pingback: Dots and Loops » Link roundup for 2008.12.25()