Case: Can’t connect to NoMachine over LAN due to authentication failure, yet logins are the right ones. Log at /usr/NX/var/log/nxerror.log
reveals: Authentication failed with error 7.
Specs
Solus 4.10
NoMachine 6.12.3
Note: Case has been solved with the OS running as guest on VirtualBox 6.1.12; network adapter set as network bridge. However, the solution applies to regular installations as well as it has been sourced from the NoMachine forums and context outside of VirtualBox guests.
Solution
sudo nano /usr/NX/etc/server.cfg
Ctrl+W
forEnablePasswordDB
- Uncomment it and make sure it’s set to
1
- Ctrl+X and Y
cd /usr/NX/bin && sudo ./nxserver --useradd $USER
- Specify the corresponding password at the password prompt
- Reconnect to NX host
Authentication should now be working as expected.
Sources
Did this solve your issue?
THIS WORKED FOR ME. HELP OTHERS BY VOTING HOW IT WORKED FOR YOU.
RIGHT NOW THIS HAS 0% SUCCESS RATE.
TOTAL VOTES: 0
RIGHT NOW THIS HAS 0% SUCCESS RATE.
TOTAL VOTES: 0