Case: Can’t connect to NoMachine over LAN due to authentication failure, yet logins are the right ones. Log at
Authentication failed with error 7.
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.
sudo nano /usr/NX/etc/server.cfg
- Uncomment it and make sure it’s set to
- Ctrl+X and Y
sudo /usr/NX/bin/nxserver –-useradd UserName*
*where UserName is the user for the OS, don’t create a separate one
- Specify the corresponding password at the password prompt
- Reconnect to NX host
Authentication should now be working as expected.