The session negotiation failed/Cannot create a new display

Forum / NoMachine for ARM / The session negotiation failed/Cannot create a new display

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #52340
    winzolution
    Participant

    I was trying to connect to my NVDIA Jetson Nano (server) for headless operation from Windows 11 PC (client). The NVIDIA Jetson Nano run on Ubuntu 18.04.6 LTS. Both the Jetson Nano and my Windows are using free version NoMachine v.8.16. However, this error below occurred whenever I try to connect:

    The session negotiation failed. Error: Cannot create a new display, please contact your system administrator

    Here are the previous installation steps that I have done following the instruction shown in this article https://kb.nomachine.com/AR02R01074

    wget https://www.nomachine.com/free/arm/v8/deb -O nomachine.deb ls 
    sudo dpkg -i nomachine.deb sudo systemctl set-default multi-user.target 
    sudo /usr/NX/bin/nxserver --restart

    Some approaches I have tried to tackle the issue include: 1. Uninstall NoMachine, sudo apt update, and re-install NoMachine again 2. Change desktop environment to XFCE by:

    sudo apt install xfce4 sudo systemctl set-default multi-user.target 
    sudo /usr/NX/bin/nxserver --restart 

    Editing the configuration file using: sudo subl /usr/NX/etc/node.cfg change line to following: DefaultDesktopCommand "/usr/bin/startxfce4"

    After all of these approaches, the issue is still persist.

    #52379
    Britgirl
    Keymaster

    DefaultDesktopCommand "/usr/bin/startxfce4" works for us.

    You could be having issues with dbus. Try this instead:

    DefaultDesktopCommand "/usr/bin/dbus-launch --exit-with-session /usr/bin/startxfce4"

    #52382
    winzolution
    Participant

    Update: I have tried to disable the headless mode and enable back the graphical mode using:

    sudo systemctl set-default graphical.target

    sudo reboot

    After that, I connect the NVIDIA Jetson Nano to my monitor via HDMI, then only after the Jetson Nano successfully booted I try to reconnect using NoMachine and it works! Hence, for every time I want to connect using NoMachine I have to do the steps below:

    1. After enabling graphical mode, power up Jetson Nano with display attached via HDMI,
    2. After finish booting, try to connect using NoMachine,
    3. Then, unplug the HDMI (display).
    #52388
    Britgirl
    Keymaster

    Good to know it’s now working.

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

You must be logged in to reply to this topic. Please login .