October 7, 2020 at 10:52 #29829
Hello, I am having issues with NoMachine on Arch. This is a freshly updated system and a brand new install of NoMachine 6.12.3
DE Gnome-shell 3.38
DM GDM 3.38
When I try to log into my server from either a Linux client (also on arch) for from android the error is “Cannot detect any display running” selecting create a new one give “Cannot create a new display”
Thanks in advance for looking into this
Attachments:October 9, 2020 at 08:25 #29851
Additional information: This seems to be an issue with Wayland. If I switch to XOrg nomachine works as expected, but if I am running Wayland NoMachine is unable to find a running display. Hopefully a workaround which will allow me to switch back to Wayland will be found. If I can provide any additional logs or help troubleshoot this please let me know.October 9, 2020 at 16:19 #29856kroyContributor
It looks it’s the same problem mentioned on that post:
Please try workaround from @shiba
auth include system-login account include system-login password include system-login session include system-login
and change DefaultDesktopCommand value in
DefaultDesktopCommand "/etc/gdm/Xsession 'env XDG_SESSION_TYPE=x11 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus gnome-session'"October 12, 2020 at 08:08 #29865
Thank you for the reply. The workaround you provided kind of helps. So now when I try to connect to the sever I still get an error saying:
Cannnot detect any display running, Do you want NoMachine to creat a new display and proceed to connect to the desktop?
Selecting yes creates a new XOrg session. I still can not connect to the running Wayland display nor connect to the existing Wayland session. Also I must logout of the NoMachine session to log back into the server locally.
At this time running XOrg seems like a better workaround, Hopefully a solution that allows connecting the WayLAnd display can be found.October 12, 2020 at 08:08 #29866
Additional information: Also note that if the user is already logged in NoMachine still creates a new session, but I just get a blank screen. I’m assuming that is because this is the free version which does not support multiple sessions? As stated before If Wayland is turned on NoMachine can not find a display. Disabling Wayland allows it to find and connect to the running display.October 14, 2020 at 23:29 #29934
Any thing else I can try?October 15, 2020 at 08:29 #29932kroyContributor
Did you tried to set also
DisplayServerExtraOptions "-wlmode compositor"in the /usr/NX/etc/node.cfg? We didn’t have problems with desktop detection when Wayland is enabled. Did you use custom wayland configuration or enable some extensions? Can you try with default settings.October 16, 2020 at 09:07 #29955
thank you for the reply. NoMachine still not con not detect my wayland display. I do not have any wayland extensions it is just the standard install. I also completely removed NoMachine and reinstalled (mainly to make sure I had not done something goofy to the config files that I didn’t remember).
With both the out-of-the-box install and with the DisplayServerExtraOptions set to “-wlmode composter” NoMachine can not detect my display, nor can it create a new wayland display.
Trying to create a new server shows the attached error.
DM gmd 3.38.1
DE gnome-shell 3.38.1
composter mutter 3.38.1
display server wayland 1.18.0
You must be logged in to reply to this topic.