- 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:
- Enable PubkeyAuthentication for all:
PubkeyAuthentication yes
- Disable PasswordAuthentication for all:
PasswordAuthentication no
- 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
- Enable PubkeyAuthentication for all:
- Restart ssh server:
sudo /etc/init.d/ssh reload
- Create a group nxusers and add all the users require remote NX access to the group:e.g.
Search This Blog
Install FreeNX on Debian 7.1 wheezy
Subscribe to:
Post Comments (Atom)
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:
ReplyDeletehttp://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.
Good to know it works for you.
DeleteThe download url has been updated. Thanks.
This no longer works because the script relies on the 3.5 client and that is no longer available from No Machine.
ReplyDeleteMirrors
ReplyDeletehttp://www.filewatcher.com/m/nxserver-3.5.0-11.x86_64.tar.gz.7903110-0.html
does anyone have mirror for http://computingplugs.com/files/nxserver ?
ReplyDeletehttp://web.archive.org/web/20131031022210/http://computingplugs.com/files/nxserver
ReplyDelete