Kubuntu 25.04 KDE Wayland black screen (NM 9.0.188)

Forum / NoMachine for Linux / Kubuntu 25.04 KDE Wayland black screen (NM 9.0.188)

Tagged: , , ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #53223
    theblackhole
    Participant

    Hello,

    I’ve never been able to get NoMachine to work with Plasma Wayland (KDE), even with NoMachine 8 and Ubuntu 24.

    Whenever I try to log in to this PC with a NoMachine client (Windows or Android), I get a black screen where I can see and move the cursor, but that’s it.

    It works perfectly fine with Plasma X11 but I would love to finally switch to Wayland and NoMachine is the only thing that prevents me to do it.

    I emailed you the log file in debug mode:

    – 2025-05-31 14:55 is the first attempt with a fresh NoMachine installation (all configuration and logs deleted), so the configuration is set to default.

    – 2025-05-31 14:57 is the second attempt after changing “WaylandModes egl,drm,compositor” to “WaylandModes drm,egl,compositor” in /usr/NX/etc/node.cfg and restarting the server.

    —– Server :
    OS : Ubuntu 25.04 (plucky)
    Kernel : 6.14.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr  6 15:05:05 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
    NoMachine : Nomachine for Linux 9.0.188 (used to share an already opened desktop session)
    GPU driver : nvidia-driver-575 (575.51.02-0ubuntu0~gpu25.04.1)
    Misc : triple screen

    —– Clients :
    – NoMachine 1.0.186 on OxygenOS 14 (Android 14)
    – NoMachine Enterprise Client 9.0.188 on Windows 11 24H2

    #53284
    fra81
    Moderator

    Hi,

    can you please run these 3 commands in a terminal on the server and show us the output?

    1 echo $LD_PRELOAD

    2 ls -l /etc/xdg/plasma-workspace/env

    3 sudo getcap /usr/bin/kwin_wayland

     

    #53312
    theblackhole
    Participant

    Hi @fra81

    Sure, here it is:

    ~  echo $LD_PRELOAD
    /usr/NX/lib/libnxegl.so
    
    ~  ls -l /etc/xdg/plasma-workspace/env
    total 12
    -rw-r--r-- 1 root root      222 mars  17  2023 env.sh
    -rwxr-xr-x 1 root root       52 avril 19  2024 ksshaskpass.sh*
    -rw-r--r-- 1 root enguerran  42 févr. 22 18:35 nx-sourceenv.sh
    
    ~  sudo getcap /usr/bin/kwin_wayland
    (no output)

    Thanks for your help 🙂

    #53484
    ElemondCraw
    Participant

    Hello,

    I have the same exact problem, the connexion work, I can move the mouse and use keyboard and sound. But Screen is black

    I thought 9.0.188 would fix it

    I’m waiting for news aswell 🙂

    #53488
    katpan
    Participant

    Hello,

    We will provide updates as soon as we have a solution or a workaround available.

    Thank you for your patience.

    #53490
    DrRikW
    Participant

    I have the same problem with Ubuntu Studio 25.04. Logged in perfectly, but remote has only white screen.

    #53715
    stefano.marss
    Participant

    Same on Ubuntu Studio KDE Plasma 24.04

    :$ echo $XDG_SESSION_TYPE
    wayland

    :~$ echo $LD_PRELOAD
    /usr/NX/lib/libnxegl.so

    ~$ ls -l /etc/xdg/plasma-workspace/env
    ls: cannot access '/etc/xdg/plasma-workspace/env': No such file or directory

    :~$ sudo getcap /usr/bin/kwin_wayland

    :~$ sudo ls -la /etc/xdg/xdg-plasma/
    total 60
    drwxr-xr-x 3 root root 4096 Apr 15 19:17 .
    drwxr-xr-x 4 root root 4096 Apr 15 19:17 ..
    -rw-r–r– 1 root root 35 Sep 11 2024 baloofilerc
    -rw-r–r– 1 root root 38 Sep 11 2024 breezerc
    -rw-r–r– 1 root root 24 Sep 11 2024 dolphinrc
    -rw-r–r– 1 root root 71 Sep 11 2024 jukrc
    -rw-r–r– 1 root root 117 Sep 11 2024 kcm-about-distrorc
    -rw-r–r– 1 root root 363 Jan 28 19:16 kdeglobals
    -rw-r–r– 1 root root 294 Jan 2 2025 konsolerc
    -rw-r–r– 1 root root 224 Jan 2 2025 kscreenlockerrc
    -rw-r–r– 1 root root 41 Jan 2 2025 ksplashrc
    drwxr-xr-x 2 root root 4096 Apr 15 19:17 Kvantum
    -rw-r–r– 1 root root 258 Jan 28 19:16 kwinrc
    -rw-r–r– 1 root root 113 Sep 11 2024 muondatasourcesrc
    -rw-r–r– 1 root root 31 Jan 28 19:16 plasmarc

    :~$ sudo ls -la /etc/xdg/xdg-plasmax11/
    total 60
    drwxr-xr-x 3 root root 4096 Apr 15 19:17 .
    drwxr-xr-x 4 root root 4096 Apr 15 19:17 ..
    -rw-r–r– 1 root root 35 Sep 11 2024 baloofilerc
    -rw-r–r– 1 root root 38 Sep 11 2024 breezerc
    -rw-r–r– 1 root root 24 Sep 11 2024 dolphinrc
    -rw-r–r– 1 root root 71 Sep 11 2024 jukrc
    -rw-r–r– 1 root root 117 Sep 11 2024 kcm-about-distrorc
    -rw-r–r– 1 root root 363 Jan 28 19:16 kdeglobals
    -rw-r–r– 1 root root 294 Jan 2 2025 konsolerc
    -rw-r–r– 1 root root 224 Jan 2 2025 kscreenlockerrc
    -rw-r–r– 1 root root 41 Jan 2 2025 ksplashrc
    drwxr-xr-x 2 root root 4096 Apr 15 19:17 Kvantum
    -rw-r–r– 1 root root 258 Jan 28 19:16 kwinrc
    -rw-r–r– 1 root root 113 Sep 11 2024 muondatasourcesrc
    -rw-r–r– 1 root root 31 Jan 28 19:16 plasmarc

    :~$ sudo ls -la /etc/xdg/
    total 72
    drwxr-xr-x 7 root root 4096 Apr 15 19:20 .
    drwxr-xr-x 142 root root 12288 Jul 10 17:05 ..
    -rw-r–r– 1 root root 86 May 4 2024 accept-languages.codes
    -rw-r–r– 1 root root 30 Mar 2 03:41 arkrc
    drwxr-xr-x 2 root root 4096 Jul 9 19:42 autostart
    -rw-r–r– 1 root root 112 Mar 12 2024 kcm-about-distrorc
    -rw-r–r– 1 root root 1 Jul 10 13:14 kicker-extra-favoritesrc
    -rw-r–r– 1 root root 153 May 4 2024 kshorturifilterrc
    drwxr-xr-x 3 root root 4096 Apr 15 19:20 menus
    -rw-r–r– 1 root root 664 Apr 2 05:38 plasmanotifyrc
    drwxr-xr-x 2 root root 4096 Apr 15 19:15 systemd
    -rw-r–r– 1 root root 356 Apr 2 05:38 taskmanagerrulesrc
    drwxr-xr-x 2 root root 4096 Apr 15 19:19 ui
    -rw-r–r– 1 root root 414 Dec 20 2024 user-dirs.conf
    -rw-r–r– 1 root root 418 Dec 20 2024 user-dirs.defaults
    lrwxrwxrwx 1 root root 36 Mar 27 21:51 xdg-plasma -> /usr/share/ubuntustudio/kf5-settings
    lrwxrwxrwx 1 root root 36 Mar 27 21:51 xdg-plasmax11 -> /usr/share/ubuntustudio/kf5-settings
    drwxr-xr-x 2 root root 4096 Apr 15 19:20 Xwayland-session.d

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

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