Error: Cannot create a new display

Forum / NoMachine for Linux / Error: Cannot create a new display

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #20437
    tmdag
    Participant

    I have a headless server with installed NoMachine and I’m getting :
    The session negotiation failed. Error: Cannot create a new display, please contact your system administrator

    NX> 105 Listsession --status="disconnected\054connected" --type="all" --shadowable="yes" 
    NX> 500 ERROR: Cannot create a new display, please contact your system administrator.
    NX> 127 Session list of user 'ats': 
    Display Type Session ID Services Depth Screensize Status Session name Username Platform Users Crea Node 
    ------- ---- ---------- -------- ----- ---------- ------ ------------ -------- -------- ----- ---- ---- 
    NX> 148 Server capacity: not reached for user: ats
    NX> 105 

    My settings /usr/NX/etc/server.cfg

    DisplayOwner ats
    CreateDisplay 1
    DisplayGeometry 800x600

    But (not sure if related) If I create and connect to server via VNC, restart NoMachine server few times and try reconnect few more times with NoMachine – it will connect. Any ideas?

    #20447
    kroy
    Contributor

    Hi

    Which desktop environment are you using? The error mentioned above may indicate that command for start desktop is incorrect. You should edit /usr/NX/etc/node.cfg as root and change DefaultDesktopCommand (uncomment if commented) value to – for example “/usr/bin/mate-session” if you have MATE installed.

    More information how to run specific desktop environment you can find there: https://www.nomachine.com/AR04K00667.

    #20476
    tmdag
    Participant

    Worked, thanks!

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

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