Cannot detect any display running. Do you want NoMachine to create a new display

Forum / NoMachine for Linux / Cannot detect any display running. Do you want NoMachine to create a new display

  • This topic has 6 replies, 2 voices, and was last updated 2 years ago by Pit.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #41979
    Pit
    Participant

    Hello

    I did upgrade NoMachine on my remote machine from version 7.10.1_1 to 8.2.3_4.
    Unfortunately I am no longer able to open a physical remote session to my server.
    The error message says “Cannot detect any display running. Do you want NoMachine to create a new display and proceed to connect to the desktop?”.
    Before the upgrade I did not face this issue.

    The remote machine is a desktops with RHEL 7.6 installed.

    I did several upgrades, uninstall, re-installes etc. but no change in the behavior of nomachine. I did also use different local machines, once Linux desktop with RHEL 7.6 and once a Microsoft Windows 10 client. But non of the scenario did change the behavior in any case.

    If I reinstall the older 7.9.2_1 version all works fine again.

    Do you have any advice for me of how to debug or even fix this issue?

    Many thanks

    Kind regards,
    Peter

    #41998
    Britgirl
    Keymaster

    Hi, ideally we would need to see logs with debug enabled on the server machine if that’s possible (with v8 installed).

    Please follow the instructions here and submit the logs to forum[at]nomachine[dot]com.

    https://kb.nomachine.com/DT11R00182, section “First Step: Enable Debug Level on the Problematic Host” and then proceed with the other steps.

    Thanks!

    #41999
    Pit
    Participant

    Hello

    Please find the the requested logs attached.

    Kind regards,

    Peter

    #42003
    Britgirl
    Keymaster

    Apologies, I didn’t specify that the server must be restarted in order for the debug we need to be logged. Please resubmit at your earliest convenience.

    We did also check on the fly to see if we can reproduce your issue, but were not able to.

    #42006
    Pit
    Participant

    Hello

    I did reproduce the logs, this time with a restart of the nxserver before trying to connect

    Kind regars,

    Peter

     

    #42010
    Britgirl
    Keymaster

    In the logs we see the following server.cfg key is empty, when it should not be: AvailableSessionTypes.

    What should be written there is ‘physical desktop’. Without this, no display can be started. Why it’s empty for your v8 installation, but not for v7 is not clear since we cannot reproduce this behaviour. Please check your server.cfg file has AvailableSessionTypes physical-desktop indicated. Then restart the NoMachine server.

    Further reference:

    The server.cfg and node.cfg files explained
    https://kb.nomachine.com/AR02N00877

    point (2) about the ‘AvailableSessionTypes’ key

    The AvailableSessionTypes key is present in both server.cfg and node.cfg and permits to define which types of session will be made available to end-users. When server.cfg and node.cfg are on the same host, the list of session types must be the same in both keys. These keys are automatically populated at installation time. If a new session type is added later, they have to be edited manually. Restart the server to make this change effective.

     

     

    #42014
    Pit
    Participant

    Hello

    Indeed. In our file /usr/NX/etc/server.cfg the variable “AvailableSessionTypes” was empty.

    I changed it to “AvailableSessionTypes unix-remote,unix-console,unix-default,unix-application,physical-desktop,shadow,unix-xsession-default,unix-gnome,unix-xdm,windows,vnc” and it works fine again.

    How come the variable “AvailableSessionTypes” was empty? Well it is the 1st time that we were using /usr/NX/etc/server-redhat.cfg.sample as the base for our server.cfg file. But I did not realize that “AvailableSessionTypes” was empty in the sample.

    Many thanks for your support!

    Kind regards,
    Peter

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

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