Install FreeNX on Debian 7.1 wheezy

  • Download and run the script
  • Secure ssh:
    • Create a group nxusers and add all the users require remote NX access to the group:e.g.
      sudo groupadd nxusers
      sudo usermod -a -G nxusers wilson
    • Edit /etc/ssh/sshd_config as root:
      1. Enable PubkeyAuthentication for all:
        PubkeyAuthentication yes
      2. Disable PasswordAuthentication for all:
        PasswordAuthentication no
      3. Allows PasswordAuthentication only for the FreeNX users by appending the following line to sshd_config:
        Match Group nxusers 
            PasswordAuthentication yes
        or if you want to allow individual users:
        Match User john alex
            PasswordAuthentication yes
    • Restart ssh server:
      sudo /etc/init.d/ssh reload


  1. Whoever you are, THANK YOU from the bottom of my heart for these notes and script. I was pulling my hair out, under pressure, to get this working. I was ready to give up, and then tried your script. The new url for the nx server is:
    Other than that, it worked perfectly on Debian Wheezy 7.2.

    1. Good to know it works for you.

      The download url has been updated. Thanks.

  2. This no longer works because the script relies on the 3.5 client and that is no longer available from No Machine.

  3. Mirrors

  4. does anyone have mirror for ?