Hi, as you probably read in the article you referenced, NoMachine is able to detect when the X server is not running and run its own virtual display, which is an embedded X server. If you don’t have an integrated graphics card or VGA port, NoMachine cannot detect an X server and thus launches its own “virtual desktop”. If there is a GPU, and so a physical X session is already running, NoMachine doesn’t need to run its own display to launch the desktop environment.
That said, Ubuntu 22.04 doesn’t make available by default the command used by NoMachine to launch the desktop inside our virtual display. We will be making the necessary adjustments in an upcoming software update. In the meantime, please check one of these methods and let us know if it helps:
I) install dbus-x11 package:
sudo apt install dbus-x11
II) set /usr/NX/etc/node.cfg key?
DefaultDesktopCommand “dbus-run-session gnome-session --session=ubuntu”