Haven

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 97 total)
  • Author
    Posts
  • Haven
    Participant

    Hello puterboy,
    NoMachine display should not be directly aligned with the physical display. In particular, we should not restring it to a specific number.
    To give access to physical display NoMachine is creating a ‘master display agent’. (In your case it would be display 1001.)
    Then when the user is connecting we are creating a shadow agent with a new display. (In your case it would be display 1003.)

    When NoMachine is selecting free display it considers also other local ports used for internal communication.
    DisplayBase should always be considered with DisplayLimit. Search is started with DisplayBase and it is limited by DisplayBase+DisplayLimit value.

    Haven
    Participant

    Hello ercmapa,
    Thank you for taking the time to report this.
    We reproduced the issue in our labs. Here is the relevant Trouble Report:
    https://www.nomachine.com/TR12R10003
    Please use the “Notify me” to know when a fix is available.

    Haven
    Participant

    Hello ercmapa,
    It looks like we cannot start ‘nxclient –monitor’ process:

    13644 13644 2020-12-22 14:35:45 946.970 NXNODE WARNING! Process ‘C:\Program Files (x86)\NoMachine\bin\nxexec.exe –monitor –pid 1028’ with pid ‘13824/936’ finished with exit code 1 after 0,051 seconds.

    Due to that problem we cannot make physical desktop available.
    Could you please provide directory ‘.nx’ from home directory of current logged user?

    in reply to: Cannot assign requested address #30662
    Haven
    Participant

    Hello Gatos,
    Further logs weren’t requested because we did reproduce the problem on openSuse 15.1.
    The Trouble Report opened to handle this issue is: TR12R09942.

    in reply to: Cannot assign requested address #30618
    Haven
    Participant

    Hello Gatos,
    After further investigation and tests in our labs, we verified that the nxserver daemon
    has been restarted five times only. This is also confirmed by your logs.

    Five attempts to start the nxserver daemon is the expected behaviour, therefore
    the following Trouble Report is no longer valid:

    https://www.nomachine.com/TR12R09937

    We confirm instead the other problem:
    https://www.nomachine.com/TR12R09936
    The NoMachine error log file is filled with messages ‘Cannot assign requested address’

    in reply to: Cannot assign requested address #30610
    Haven
    Participant

    Hello Gatos,
    NoMachine server needs to be able to resolve localhost.
    Usually when this is not possible, NoMachine prints that during the installation process for example:

    NX> 500 ERROR: Cannot start NoMachine server. Resolve ‘localhost’ is
    NX> 500 ERROR: not possible. Please check settings in the system
    NX> 500 ERROR: hosts file or contact your system administrator.

    But in your case the issues appears after the successful installation so it is not obvious what is going on.

    We confirm the problem of producing redundant error message while
    searching for free ports. The Trouble Report opened to handle this
    issue is: TR12R09936.

    It looks like we have also a problem with repeated restarting of
    NoMachine server daemon. TR about this problem is: TR12R09937

    in reply to: NoMachine does not see Ubuntu box anymore #28964
    Haven
    Participant

    Hello Monaghan,
    NoMachine needs to be able to access the new host IP address. Please check if you can ping the new IP of your server host from your client host.

    in reply to: Session negotiation has failed #27469
    Haven
    Participant

    Good to know that executing that command fixed the problem, the logs confirmed that that was the problem.

    in reply to: Session negotiation has failed #27444
    Haven
    Participant

    In case the directory is owned by ‘root’, you could fix it by executing the command:
    sudo chown -R nx /usr/NX/var/db/limits.

    in reply to: Session negotiation has failed #27437
    Haven
    Participant

    Hello matef and gabriele,
    You should provide a path to nxserver /etc/NX/nxserver --list.
    To remove those files you need sudo rm -f.

    Please check the whole directory:
    sudo ls -la /usr/NX/var/db/limits/

    in reply to: Session negotiation has failed #27403
    Haven
    Participant

    Hello gabriele,
    To solve the problem you should remove the problematic file and execute
    nxserver --list
    It will fix the database.

    Before that please check the current permissions to that file:
    ls -l /usr/NX/var/db/limits/sessions.vdesktop
    and gather the logs:
    nxserver --debug --collect
    Send them to forum[at]nomachine[dot]com making sure to reference your topic.

    in reply to: Redundancy in nodes #27062
    Haven
    Participant

    Hello gau,
    ETS stands for Enterprise Terminal Server, it is the package installed on nx02.

    ‘load-average’ will prioritize nodes with the lowest current CPU usage.
    It will not guarantee even session distribution.

    I’m not sure how to check the part that all users have an account on all available nodes

    You should check if every user that login on nx02 has a system account on nx01 and nx03.

    session selected is available everywhere

    You should check available nodes resources nxserver --nodelist --resource
    and compare it to AvailableSessionTypes key in server.cfg on nx02.
    Make sure that session types requested by users are available on every node.
    You could check session types for the already created session with the command: nxsever --history.

    in reply to: Redundancy in nodes #26961
    Haven
    Participant

    Hello gau,
    By default, ETS is selecting the session node using a round-robin algorithm. We are creating a list of available nodes and following this list when creating the session for the user. If for some reason we cannot create a session on the first node on the list we go to the next one.
    Please check that all users have an account on all available nodes and that session selected by the user is available everywhere.

    You could also change selecting algorism to ‘load-average’ or ‘system-load’ by specifying them in LoadBalancingAlgorithm key
    in server.cfg on ETS.

    If you want to simply avoid creating a new session on the localhost please consider stopping local node (nxserver –nodestop localhost:4000). It will allow users to restore sessions but it will remove localhost from available pools of nodes.

    in reply to: iptables and NoMachine #24881
    Haven
    Participant

    Hello OES1,
    NoMachine processes are connecting to each other by the localhost.
    Please add also an exception for that. It could look like that:
    iptables -A INPUT -p tcp -s localhost -j ACCEPT

    in reply to: Questions regarding nxserver –nodeadd #22999
    Haven
    Participant

    hello itguy92075,
    The error “This node is running on a NoMachine server with a multi-node setup enabled” is printed when we are still detecting an active connection with the other multi-server. If ‘originally-assigned terminal server’ is down, it sometimes requires a few moments to close the connection.

    Is there a way I can configure this to override the previous registration?

    To be sure that remote node is no longer aligned with multi-server keys you have to remote access public keys. On Linux: ‘/var/NX/nx/.nx/config/authorized.’ for NX protocol and restart NoMachine Server on that node.

    ‘–strict-host-key-checking’ option is for automatically save the host key. A host key is a cryptographic key used for authenticating computers. This is the first step when connecting to a new host. In next step server detects that cannot access the terminal server Node with the public key, we have to log in to the remote node to add this key to get access to that host. We need privileged user credentials to do that.

Viewing 15 posts - 1 through 15 (of 97 total)