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

6 comments:

  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:
    http://web04.nomachine.com/download/3.5.0/Linux/EDS/nxserver-3.5.0-11.x86_64.tar.gz
    Other than that, it worked perfectly on Debian Wheezy 7.2.

    ReplyDelete
    Replies
    1. Good to know it works for you.

      The download url has been updated. Thanks.

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

    ReplyDelete
  3. Mirrors
    http://www.filewatcher.com/m/nxserver-3.5.0-11.x86_64.tar.gz.7903110-0.html

    ReplyDelete
  4. does anyone have mirror for http://computingplugs.com/files/nxserver ?

    ReplyDelete
  5. http://web.archive.org/web/20131031022210/http://computingplugs.com/files/nxserver

    ReplyDelete