Authentication failed NX Linux

Forums / NoMachine for Linux / Authentication failed NX Linux

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16522
    bayfieldow
    Participant

    I am trying to connect to Linux (server) running scientific linux 7, gnome, from my Mac (client) running OS 10.12.4, via an ssh server.

    To do this, from the terminal on the Mac I am executing:
    ssh -t username@ssh.xxx.xxx -L 4005:localhost:4005 ssh -t username@linuxmachine.xxx.xxx -L 4005:localhost:4000

    Which gives me access within the terminal.

    Then in NoMachine client I am trying to connect to localhost port 4005, NX protocol, Use UDP communication for multimedia data, and using password authentication.

    On connecting I receive the error “Authentication failed, please try again” within the NoMachine client window. Password and username are correct.

    Previously this worked fine. There have been some system upgrades, but I have been unable to pinpoint what has changed that may have caused this issue.

    In the /usr/NX/var/log/nxerror.log file on linux, connecting from my generates the following each time:

    Info: Handler started with pid 2403 on Fri Nov 17 15:28:38 2017.
    Info: Handling connection from ::1 port 46812 on Fri Nov 17 15:28:38 2017.
    nxexecPAMCheckCredentials: Authentication failed with error 7.
    Info: Connection from ::1 port 46812 closed on Fri Nov 17 15:28:38 2017.
    Info: Handler with pid 2403 terminated on Fri Nov 17 15:28:38 2017.
    Info: Handler started with pid 2442 on Fri Nov 17 15:28:41 2017.
    Info: Handling connection from ::1 port 46814 on Fri Nov 17 15:28:41 2017.
    nxexecPAMCheckCredentials: Authentication failed with error 7.
    Info: Connection from ::1 port 46814 closed on Fri Nov 17 15:28:42 2017.
    Info: Handler with pid 2442 terminated on Fri Nov 17 15:28:42 2017.
    Info: Handler started with pid 2458 on Fri Nov 17 15:28:42 2017.
    Info: Handling connection from ::1 port 46816 on Fri Nov 17 15:28:42 2017.
    nxexecPAMCheckCredentials: Authentication failed with error 7.
    Info: Connection from ::1 port 46816 closed on Fri Nov 17 15:28:44 2017.
    Info: Handler with pid 2458 terminated on Fri Nov 17 15:28:44 2017.
    Info: Handler started with pid 2497 on Fri Nov 17 15:28:44 2017.
    Info: Handling connection from ::1 port 46818 on Fri Nov 17 15:28:44 2017.

    i.e. nxexecPAMCheckCredentials: Authentication failed with error 7.

    If the problem is being caused by this error, please tell me what other information I can provide to troubleshoot the issue.

    Thanks,

    #16525
    Britgirl
    Keymaster

    Can you confirm the version of NoMachine software you’ve got on client and server sides?

    #16526
    bayfieldow
    Participant

    Server:
    /usr/NX/bin/nxserver –version
    NoMachine – Version 5.3.9
    Client:
    5.3.12

    Thanks,

    #16710
    rook
    Contributor

    Hello

    This problem seems to be on NoMachine side. We are not aware which Pam modules you use on your Linux. But what you described looks like one of the Pam modules doesn’t have proper rights to work correctly. To make it easier to resolve that issue please send Pam stack configurations to us. Below you can find paths to required files. You can attach them here or forward on to forum[at]nomachine[dot]com.

    /etc/pam.d/nx

    /etc/pam.d/su

    /etc/pam.d/system-auth

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

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