Authentication failed; NX through SSH tunnel

Forum / NoMachine for Linux / Authentication failed; NX through SSH tunnel

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28906
    sontag
    Participant

    Hi,

    I’m connecting from my laptop MacOS Mojave 10.14.6 to workstation running on Fedora 31 (GNOME desktop version). I use NX through SSH tunnel as described here. Both remote and local running the latest available free version of NoMachine.

    Despite correct user/password I get an error: “Authentication failed, please try again”, the output nxerror.log from remote server is:

    1132994 1132994 20:36:22 024 RetrieveKerberosTicket: ERROR! Failed to readkerberos principal.
    1132994 1132994 20:36:22 024 RetrieveKerberosTicket: ERROR! Kerberos error is -1765328189.
    1132994 1132994 20:36:22 028 nxexecPAMCheckCredentials: ERROR! Account validation failed with error 6.
    Info: Connection from ::1 port 43194 closed on Thu Aug 6 20:36:22 2020.
    Info: Handler with pid 1132978 terminated on Thu Aug 6 20:36:22 2020.
    Info: Handler started with pid 1133009 on Thu Aug 6 20:36:22 2020.
    Info: Handling connection from ::1 port 43200 on Thu Aug 6 20:36:22 2020.

    I tried that with no results.

    I would be very grateful for any ideas about what might be wrong with my connection.

    #28948
    Cato
    Participant

    Hello sontag,

    Logs indicate that authentication itself succeeded, but account validation failed. There is number of possible reasons, including account or password expiration. To get more information, you should check /var/log/secure file for entries containing nxexec. Perhaps this will show you in which exact PAM module the failure occurs. It’s also worth checking if the same problem exists when SSH protocol is in use or when authentication is performed during localhost connection on server machine. If you use sssd for Active Directory binding, perhaps this article might be helpful:

    https://www.nomachine.com/AR12P01007

Viewing 2 posts - 1 through 2 (of 2 total)

This topic was marked as solved, you can't post.