Cannot detect any display running

Forum / NoMachine for Linux / Cannot detect any display running

Tagged: 

Viewing 15 posts - 1 through 15 (of 40 total)
  • Author
    Posts
  • #30121
    loulou921222
    Participant

    Hi, for ages I’ve been using NoMachine and it’s been working great, however today I try to use it and it says “Cannot detect any display running”. I am using GNOME, and running everything in Xorg.

    If I restart the service with systemctl restart nxserver, it’ll work again, but I can’t always be at the computer to do this every reboot. The service is enabled and starts at boot.

    I’ve tried giving the service a 5 second delay on start, which allows it to detect the display, but when I try to connect it’s stuck on the loading wheel forever. Again, restarting the service here will fix it.

    #30128
    Britgirl
    Participant

    What distribution are you using?

    #30129
    loulou921222
    Participant

    Arch, it worked for a while, then stopped, so I thought it was because of updates as a rolling release distro, so I rolled back to an update 2 days ago when it was working, and it still didn’t work. I also had a backup 4 days ago where I was using it remotely, so it definitely worked them, loaded the backup and same problem, doesn’t detect display until I restart the server/service.

     

     

     

     

     

     

    #30135
    loulou921222
    Participant

    More information that I found: My system starts on Xorg display :1, which shouldn’t make any difference. Second, if I log in, the try icon does not appear even though the GUI says the server is running. If I restart the server, the icon appears, and it works again.

    #30137
    loulou921222
    Participant

    tray icon*

    #30142
    loulou921222
    Participant

    More update: If I suspend or hibernate the machine and then boot it back up, I see the icon in the corner, and it works.

    #30143
    loulou921222
    Participant

    This is what happens when I restart the server, nxnode isn’t running, showing that it can’t detect a display, but it can after restarting.

    (Sorry with so many updates, I want to be able to give as much detailed info as I can)

    #30157
    loulou921222
    Participant

    Hello? Should I be doing something? Please tell me if I should be providing more information, thanks!

    #30155
    Mth
    Contributor

    Hello.

    We currently are aware of a problem with Wayland on latest update. Since the problem seems to start on Login Window, could you confirm, the wayland is also disabled for the Login Window?

    /Mth

    #30169
    loulou921222
    Participant

    Yes, Wayland is disabled everywhere. Since I am using an nvidia card, Wayland doesn’t work well so I have disabled it in GDM and after login in gnome. The problem is there using XORG, even after login, not just on the login screen. It’ll always detect the display after I manually restart the server or service once.

    #30182
    loulou921222
    Participant

    Here you can see me viewing the status of nxserver in the desktop environment logged in with the terminal emulator, it’s disabled. If I restart it it’s enabled, but it doesn’t enable itself on boot.

    #30184
    loulou921222
    Participant

    I was just using the machine as normal, and I suddenly see the nomachine tray icon pop up. I did not restart the service myself, so I checked the uptime, and it has been around an hour or so. Maybe some sort of re-checking is done after a while?

    #30212
    loulou921222
    Participant

    Anything I should be trying for more information for diagnosis?

    #30210
    Mth
    Contributor

    Hello

    The sudden appearance of the icon is caused by the delay in the local session finding. When there is no physical session, or when NoMachine cannot detect one we are disabling it for some increasingly longer time.

    This is the problem here, that for unknown reason we cannot see the session either when it is on Login Window, or the problem appears earlier and is propagated.

    If you are willing to help us debug this problem, we would probably require the logs for this.

    Please follow the article on how to enable debug:

    https://www.nomachine.com/DT10O00163 (“How to gather debug logs for support requests”)

    Then please do:

    sudo /etc/NX/nxserver --restart

    and reproduce the problem: most likely logout completly to Login Window, wait a few moments (around a minute would be best to be sure we run everything) and then login to the desktop.

    Please send the logs to forum[at]nomachine[dot]com using the title of this forum’s thread as the mail’s subject.

    /Mth

    #30216
    Inotamira
    Participant

    I’m having the same issues, I’ve tried a truck load of troubleshooting found here and in NoMachines docs. However, I’m not ever getting it to show back up, and it’s constantly dumping to logs, to the point I’ve had to uninstall it to get it to chill out, it did the same thing when I added the strace to debug the monitor. I will however note that it ends up with a segfault, but the logs report a monitor error.

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

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