Unstable virtual desktops on Alma Linux?

Forum / NoMachine for Linux / Unstable virtual desktops on Alma Linux?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #45366

    I have Workstation installed on a machine running Alma Linux (RHEL 9). The physical desktop works fine, but the virtual desktops are unstable. More specifically, I can connect to a virtual desktop and see the desktop. I can even open the application browser. But opening any application causes it to crash, displaying a gray screen that says, “Oh no! Something has gone wrong. A problem has occurred and the system can’t recover. Please log out and try again.”

    I initially had an issue with black screens, but switching from Wayland to Xorg resolved that.

    An Nvidia GPU is installed using Nvidia drivers.

    I have uncommented and added the path for my mesa library (libGLU.so.1) in the node.cfg file.

    That exhausts all potential solutions that I could find on these forums.

    Any help would be appreciated!



    Are you connecting to a Gnome desktop? We are aware of an issue on Alma Linux when connecting to Gnome. It is not present in the latest Red Hat or Fedora versions. It’s possible to run only 1 GNOME desktop per-user. This looks to be a limitation of dbus-GNOME on Alma Linux, not present on RHEL.

    A possible solution is to adopt a different desktop environment like XFCE.

    You should also check the DefaultDesktopCommand in node.cfg on the server. What is written there? Journalctl output would also be useful.

    We were able to run one GNOME virtual desktop by NoMachine by using any of these command in /usr/NX/node.cfg (all on a single line):

    DefaultDesktopCommand "env DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus /bin/dbus-run-session gnome-session --session=gnome"

    or for GNOME classic:

    DefaultDesktopCommand "env GNOME_SHELL_SESSION_MODE=classic DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus gnome-session"

    To try XFCE:

    sudo dnf install epel-release
    sudo dnf group install "Xfce"

    Then set in /usr/NX/etc/node.cfg:
    DefaultDesktopCommand “startxfce4



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

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