Connection failed for user

Forum / NoMachine for Linux / Connection failed for user

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #39312
    fiedel
    Participant

    I was trying to connect to a server (Debian 10 + NoMachine Workstation Subscription v6.8.1) from a local machine (Ubuntu 18.04.6 LTS + NoMachine v6.18.1) through an ssh tunnel. It failed with error when creating a new virtual desktop:

    The session negotiation failed.
    Error: Session failed, application terminated prematurely.

    /usr/NX/var/log/nxserver.log on the server shows:

    2022-07-18 08:57:18 879.308 53528 NXSERVER User ‘fiedel’ logged in from ‘192.168.1.31’ using authentication method NX-password.
    2022-07-18 08:57:18 881.413 53528 NXSERVER WARNING! User rich doesn’t exist in system.
    2022-07-18 08:57:18 881.532 53528 NXSERVER WARNING! NXLogin: Cannot retrieve absolute username for user: rich.
    2022-07-18 08:57:21 805.163 53559 NXNODE ERROR! Application terminated too early.
    2022-07-18 08:57:21 816.552 53559 NXNODE WARNING! NXClientMonitor: NXClientMonitor: NXClient –monitor could not be started. Can’t send’NX> 990 MONITOR ON type=noDesktop ‘.
    2022-07-18 08:57:21 835.150 53528 NXSERVER ERROR! Received error message from node ‘localhost:4000’, ‘Session failed, application terminated prematurely.’.

    Why is nxserver looking for user ‘rich’? Any suggestions for this error?

    Thanks.

     

    #39322
    fiedel
    Participant

    OK, I saw another user connected successfully, and the log for his session also shows “User rich doesn’t exist”. So the real problem is with the latter three lines:

    2022-07-18 08:57:21 805.163 53559 NXNODE ERROR! Application terminated too early.
    2022-07-18 08:57:21 816.552 53559 NXNODE WARNING! NXClientMonitor: NXClientMonitor: NXClient –monitor could not be started. Can’t send’NX> 990 MONITOR ON type=noDesktop ‘.
    2022-07-18 08:57:21 835.150 53528 NXSERVER ERROR! Received error message from node ‘localhost:4000’, ‘Session failed, application terminated prematurely.’.

    #39348
    Britgirl
    Keymaster

    why is nxserver looking for user ‘rich’? Any suggestions for this error?

    It’s a warning and not an error. You can remove user rich from the usersDB.
    sudo /etc/NX/nxserver --userdel rich

    Logs are required from the server side in order to understand what is causing the session to fail. Please follow the instructions here https://kb.nomachine.com/DT11R00182 and then send them to forum[at]nomachine[dot]com.

Viewing 3 posts - 1 through 3 (of 3 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.