Fails to conect to Linux nxserver

Forum / NoMachine for Linux / Fails to conect to Linux nxserver

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24540
    Maverick
    Participant

    My attempts to connect from NoMachine client on MacOS 6.8.2 to nxserver on Ubuntu 18.04.3 that is running version 6.8.1 started failing with a message “Oops The session negotiation failed” after I updated to the specified Ubuntu version.

    The nxserver log on the Ubuntu server has the following messages:

    2019-11-21 18:13:32 294.587  6312 NXSERVER User ‘username’ logged in from ‘ip.ad.dr.ess’ using authentication method NX-password.
    2019-11-21 18:13:35 748.976  6312 NXSERVER ERROR! Cannot read limit from the file ‘/usr/NX/var/db/limits/connections.localhost%%3a4000’.

    Can someone please let me know how to fix the problem?

    Thanks!

    #24561
    Maverick
    Participant

    I was able to address the issue by deleting all the files in /usr/NX/var/db/limits/ and restarting the nxserver. I am now able to connect. I see all the files I deleted have been recreated and are no longer empty.

    If anyone knows that the above is a bad hack and there is a better recommended way to handle this problem, please let me know.

    Thanks!

    #24557
    Maverick
    Participant

    I also see the following error in /usr/NX/var/log/nxserver.log

    2019-11-22 10:05:04 060.853  1253 NXSERVER WARNING! Process ‘/usr/NX/bin/nxexec /usr/NX/scripts/restricted/nxupdate.sh nx background check’ with pid ‘15351/15351’ finished with exit code 255 after 1,545 seconds.

    Not sure if it is somehow related or can provide any additional information to provide suggestions for me.

    Thanks!

    #24556
    kroy
    Contributor

    From which version are you updatingNoMachine on Ubuntu? We cannot reproduce the problem. What rights have /usr/NX/var/db/limits file? It should have nx:root.

    To check permissions use command: sudo ls -ltr /usr/NX/var/db/limits. To change owner execute: sudo chown nx:root /usr/NX/var/db/limits. After changes restart nxserver (sudo /usr/NX/bin/nxserver --restart).

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

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