NX update November 2024
Update on connecting to NoMachine NX service November 2024
We now have a solution to the issues some users had with connecting to the NoMachine NX (graphical linux desktop) service, especially from Windows.
In these notes, ~/
means “your home directory”. On Windows this is also represented by %USERPROFILE%
.
We will update the full documentation and videos in due course, at which point this page will be removed and you will be redirected to that page from here.
The configuration you need depends on how you choose to present your key:
File-based method: specify the location of your key file: no admin permission required.
Agent-based methods: load your key into an ssh-agent which persists and can be used for subsequent connections across multiple applications.
Notes:
*.ppk
file, for use with Pageant.You will need to check that the settings in ~/.nx/config/player.cfg
match your choice of method. If you modify the file, make sure you do it with the NoMachine application closed, otherwise the file will get overwritten as the application closes.
using the file-based method on all platforms requires the default settings, which are:
<option key="SSH client mode" value="library">
<option key="SSH Client" value="nxssh.exe"> ("nxssh" on Mac/Linux)
using the agent method with Windows Native OpenSSH client requires these lines:
<option key="SSH client mode" value="native" />
<option key="SSH Client" value="C:\Windows\System32\OpenSSH\ssh.exe" />
using the agent method on Mac & Linux requires these lines:
<option key="SSH client mode" value="native" />
<option key="SSH Client" value="/usr/bin/ssh" />
If in doubt, uninstall the NoMachine Enterprise Client application and all its associated folders (~/.nx
and ~/NoMachine
) and re-install before checking the file again.
For all the above methods, you are now recommended to update your key to ECDSA: most users’ keys on JASMIN are of an older type, RSA.
id_ecdsa_jasmin
and id_ecdsa_jasmin.pub
to your ~/.ssh
directory which is in your home directory on your local machine. Storing in this location avoids permissions problems. Remember, do this command on your local machine: your private key should never leave that machine and must be protected with a strong passphrase. Do not copy your private key to anywhere on JASMIN
ssh-keygen -m PEM -t ecdsa -b 521 -f ~/.ssh/id_ecdsa_jasmin
ssh-add <key file>
but depends on the agent).sci-vm-01
to ensure it’s all working correctly.