“Authentication Failed” When connecting to my linux laptop using NoMachine

Forum / NoMachine for Windows / “Authentication Failed” When connecting to my linux laptop using NoMachine

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28694
    mg7134_1
    Participant

    Hello People

    I just want to know that how to fix this error when I try to use remote desktop connection using NoMachine from Windows 10 to my Ubuntu 19.10 LTS: “authentication failed, plz try again” . But I am giving the right password for the Linux OS but still it fails. But this isn’t the case when I try to connect to Windows 10 from Ubuntu 19.10 LTS. It works perfectly fine. So what’s the problem?

    Plz reply soon

    Here are the addition information

    Windows 10 Pro Workstation : Version – 1903

    Build – 18362.959

    NoMachine free version: 6.11.2 for both Linux and Windows

    Linux : Ubuntu 19.10 (LTS)

    Using Gnome display manager

    Attachments:
    #28778
    Cato
    Participant

    Hello mg7134_1,

    Please, check the content of /var/log/auth.log after failed authentication attempt on your server host. Look for entries containing ‘nxexec’ or ‘nx’. You should also try using SSH protocol. If this succeeds, your issue is most likely related to PAM configuration, which can be found in /etc/pam.d/ directory. You can try reusing sshd’s PAM configuration with NX protocol. To do so:

    1. Start terminal on your Linux server host.
    2. Create backup of your original NX PAM configuration by running in terminal: sudo cp /etc/pam.d/nx /etc/pam.d/nx.ori
    3. Overwrite current NX PAM configuration with: sudo cp /etc/pam.d/sshd /etc/pam.d/nx

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

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