Authentication failed, Mac to Ubuntu

Forum / NoMachine for Linux / Authentication failed, Mac to Ubuntu

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20953
    hkalexling
    Participant

    Hi,

    I have NoMachine 6.4 installed on a Ubuntu 18.04 server, and I am trying to connect from the Mac client but got the error:

    > Authentication failed, please try again

    Here’s the /usr/NX/var/log/nxerror.log:

    Info: Handler started with pid 25789 on Fri Dec 28 23:53:39 2018.
    Info: Handling connection from 116.48.114.29 port 37185 on Fri Dec 28 23:53:39 2018.
    Info: Connection from 116.48.114.29 port 37185 closed on Fri Dec 28 23:53:42 2018.
    Info: Handler with pid 25789 terminated on Fri Dec 28 23:53:42 2018.
    Info: Handler started with pid 25811 on Fri Dec 28 23:53:42 2018.
    Info: Handling connection from 116.48.114.29 port 49029 on Fri Dec 28 23:53:42 2018.

     

    I am sure I’ve provided the correct private key with correct username.

    #20966
    brotech
    Participant

    Hello,
    there is an article which describes this precise configuration:

    How to set up key based authentication with NX protocol
    https://www.nomachine.com/AR02L00785

    Should there be any problems with access to authorized.crt file, they are reported in nxserver.log file instead of nxerror.log.

    In the case of problems, please log on to the desktop of a different user, start terminal, su to root and execute command:

    /bin/bash -c "cd ~ <user> 2>/dev/null && pwd"

    where is the name of user which you are trying to authenticate with key-based authentication.
    Does it return the proper home directory path?

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

Closed because the user did not provide further feedback. Please notify us if you confirm that it is resolved or open a new topic if you have the same problem.