Authentication failed with error 7

Forum / NoMachine for Linux / Authentication failed with error 7

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25027
    munsen70
    Participant

    I am unable to log into my nx session since upgrading to 6.9.2 on Fedora Linux.  I am able to connect via SSH with the same credentials.  When attempting to start an nx session, the nxerror log shows the following:

    6042 6042 12:10:01 022 nxexecPAMCheckCredentials: ERROR!Authentication failed with error 7.

    Could someone please assist me with fixing this?

    Thank you.

    #25050
    Cato
    Participant

    Hello munsen70,

    Please, check permissions on nxexec file in <NoMachine_install_dir>/bin directory. Proper permissions should look like this:

    -r-sr-xr-x 1 root  root

    If the ‘s’ permission is missing you can fix this by running ‘chmod u+s nxexec’ from terminal as root user.

    If permissions are correct and the problem persists, see what’s logged inside /var/log/secure or /var/log/messages after failed authentication attempt.
    You can also try reusing sshd’s PAM configuration with NX protocol. To do so, run the following commands in terminal:

    sudo cp /etc/pam.d/nx /etc/pam.d/nx.ori
    sudo cp /etc/pam.d/sshd /etc/pam.d/nx

    #25054
    munsen70
    Participant

    The ‘s’ permission was missing on the nxexec file.  Working great again.  Thank you very much.

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

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