Forum / NoMachine for Linux / Cannot detect any display running
Tagged: Arch
- This topic has 39 replies, 5 voices, and was last updated 3 years, 10 months ago by loulou921222.
-
AuthorPosts
-
October 29, 2020 at 13:46 #30121loulou921222Participant
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.
October 29, 2020 at 17:09 #30128BritgirlKeymasterWhat distribution are you using?
October 29, 2020 at 17:13 #30129loulou921222ParticipantArch, 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.
October 29, 2020 at 18:33 #30135loulou921222ParticipantMore 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.
October 30, 2020 at 09:13 #30137loulou921222Participanttray icon*
October 30, 2020 at 09:13 #30142loulou921222ParticipantMore update: If I suspend or hibernate the machine and then boot it back up, I see the icon in the corner, and it works.
October 30, 2020 at 09:14 #30143loulou921222ParticipantThis 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)
Attachments:
November 2, 2020 at 09:36 #30157loulou921222ParticipantHello? Should I be doing something? Please tell me if I should be providing more information, thanks!
November 2, 2020 at 10:35 #30155MthContributorHello.
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
November 2, 2020 at 12:42 #30169loulou921222ParticipantYes, 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.
November 3, 2020 at 08:46 #30182loulou921222ParticipantHere 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.
Attachments:
November 3, 2020 at 08:46 #30184loulou921222ParticipantI 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?
November 5, 2020 at 09:12 #30212loulou921222ParticipantAnything I should be trying for more information for diagnosis?
November 5, 2020 at 11:11 #30210MthContributorHello
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
November 5, 2020 at 11:13 #30216InotamiraParticipantI’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.
-
AuthorPosts
This topic was marked as solved, you can't post.