NXSERVER ERROR: Session failed, application terminated prematurely

Forum / NoMachine for Linux / NXSERVER ERROR: Session failed, application terminated prematurely

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38602
    Benson
    Participant

    Ubuntu 18.04 docker running NoMachine. The issue:

    NX> 111 New connections to NoMachine server are enabled.

    NX> 161 Enabled service: nxserver.

    NX> 162 WARNING: Cannot find X servers running on this machine.

    NX> 162 WARNING: A new virtual display will be created on demand.

    NX> 161 Enabled service: nxd.

    4386 4386 2022-05-11 09:41:51 242.715 NXSERVER WARNING! Process ‘/usr/NX/bin/nxexec nxfwadd.sh ip6tables 4000 tcp 1’ with pid ‘4412/4412’ finished with exit code 1 after 0,003 seconds.

    4386 4386 2022-05-11 09:41:51 242.899 NXSERVER WARNING! Cannot add firewall rule for ‘4000’ with ‘ip6tables’ command. Exit value ‘1’. Please check the nxerror.log file for possible issues.

    4386 4386 2022-05-11 09:41:51 248.505 NXSERVER WARNING! Process ‘/usr/NX/bin/nxexec nxfwadd.sh iptables 5353 udp 1’ with pid ‘4413/4413’ finished with exit code 1 after 0,004 seconds.

    4386 4386 2022-05-11 09:41:51 248.754 NXSERVER WARNING! Cannot add firewall rule for ‘5353’ with ‘iptables’ command. Exit value ‘1’. Please check the nxerror.log file for possible issues.

    4386 4386 2022-05-11 09:41:51 255.182 NXSERVER WARNING! Process ‘/usr/NX/bin/nxexec nxfwadd.sh ip6tables 5353 udp 1’ with pid ‘4414/4414’ finished with exit code 1 after 0,005 seconds.

    4386 4386 2022-05-11 09:41:51 255.411 NXSERVER WARNING! Cannot add firewall rule for ‘5353’ with ‘ip6tables’ command. Exit value ‘1’. Please check the nxerror.log file for possible issues.

    4386 4386 2022-05-11 09:41:51 261.547 NXSERVER Starting LS 7.9.2 and services.

    4386 4386 2022-05-11 09:41:51 261.630 NXSERVER System information: Ubuntu 18.04.6 LTS, standalone.

    20 20 2022-05-11 09:43:03 343.948 NXSERVER Starting LS 7.9.2 and services.

    20 20 2022-05-11 09:43:03 344.041 NXSERVER System information: Ubuntu 18.04.6 LTS, standalone.

    91 91 2022-05-11 09:43:12 070.999 NXSERVER User ‘nomachine’ logged in from ‘10.0.0.153’ using authentication method NX-password.

    125 125 2022-05-11 09:43:14 024.065 NXSERVER ERROR! Received error message from node ‘localhost:4000’, ‘Session failed, application terminated prematurely.’.

    20 20 2022-05-11 09:43:14 059.877 NXSERVER ERROR! NXFrameBuffer failed to start.

    20 20 2022-05-11 09:43:14 060.002 NXSERVER ERROR! Received error message from nxserver NX> 501 ERROR: Session failed, application terminated prematurely.\nNX> 501 ERROR: Session failed, application terminated prematurely.

    91 91 2022-05-11 09:43:14 060.428 NXSERVER ERROR! Received error from nxserver –daemon NX> 501 ERROR: Session failed, application terminated prematurely.\nNX> 501 ERROR: Session failed, application terminated prematurely.

    91 91 2022-05-11 09:43:14 140.991 NXSERVER User ‘nomachine’ from ‘10.0.0.153’ logged out.

    Please help to answer thanks

     

    #38628
    Britgirl
    Keymaster

    This could be related to ptrace capabilities. Did you enable PTRACE capabilities required by NoMachine?

    Please take a look at the document dedicated to running NoMachine software in Docker:

    Build and Deploy NoMachine Desktops and Applications in Docker for Linux
    https://knowledgebase.nomachine.com/DT11R00194

    There is also a troubleshooting section.

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

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