Cannot detect display running

Forums / NoMachine for Linux / Cannot detect display running

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #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

    OS Arch
    DE Gnome-shell 3.38
    DM GDM 3.38
    Wayland 1.18

    NoMachine 6.12.3

    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



    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.


    It looks it’s the same problem mentioned on that post:

    Please try workaround from @shiba

    Modify /etc/pam.d/nx to:

    auth       include       system-login
    account    include       system-login
    password   include       system-login
    session    include       system-login

    and change DefaultDesktopCommand value in /usr/NX/etc/node.cfg:

    DefaultDesktopCommand "/etc/gdm/Xsession 'env XDG_SESSION_TYPE=x11 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus gnome-session'"


    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.


    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.


    Any thing else I can try?


    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.


    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.

    OS Arche
    DM gmd 3.38.1
    DE gnome-shell 3.38.1
    composter mutter 3.38.1
    display server wayland 1.18.0

    1. out.txt
Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.