Forum / NoMachine for Linux / Kubuntu 25.04 KDE Wayland black screen (NM 9.0.188)
- This topic has 11 replies, 9 voices, and was last updated 6 days, 17 hours ago by
Tromegan.
-
AuthorPosts
-
May 31, 2025 at 14:37 #53223
theblackhole
ParticipantHello,
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 24H2June 4, 2025 at 12:43 #53284fra81
ModeratorHi,
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
June 6, 2025 at 09:41 #53312theblackhole
ParticipantHi @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 🙂
June 18, 2025 at 22:30 #53484ElemondCraw
ParticipantHello,
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 🙂
June 19, 2025 at 12:03 #53488katpan
ParticipantHello,
We will provide updates as soon as we have a solution or a workaround available.
Thank you for your patience.
June 19, 2025 at 12:24 #53490DrRikW
ParticipantI have the same problem with Ubuntu Studio 25.04. Logged in perfectly, but remote has only white screen.
July 10, 2025 at 16:33 #53715stefano.marss
ParticipantSame 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.dJuly 16, 2025 at 11:33 #53763Britgirl
KeymasterWe have opened a Trouble Report which you can monitor here: https://kb.nomachine.com/TR07W11459. Although your issue is a black screen, it’s caused by the same bug.
July 16, 2025 at 16:08 #53768stefano.marss
ParticipantThanks! Great to know it’s on target for 9.1 !
July 27, 2025 at 21:40 #53852st_albert
ParticipantHello,
To make the long story short, I have had the same problem with version 9.0.188 under wayland (but not X11) on the server side, but upgrading to 9.1.24 has solved the problem. Gott sei Dank!
I’m not as happy with wayland as the OP says he is, but since Kubuntu is rumored soon to cease to provide X11 in default installs (maybe starting with 25.10?), I figure it’s time to get with the program.
Many thanks to those who made this work!
Albert
July 29, 2025 at 15:23 #53890Tromegan
Participant$ echo $XDG_SESSION_TYPE
wayland
$ echo $LD_PRELOAD
/usr/NX/lib/libnxegl.so
$ ls -l /etc/xdg/plasma-workspace/env/
total 4
-rw-r–r– 1 root root 42 Feb 25 10:21 nx-sourceenv.sh
$ sudo getcap /usr/bin/kwin_wayland
/usr/bin/kwin_wayland cap_sys_nice=ep
Tried both with WaylandModes “egl,drm,compositor” and “drm,egl,compositor” – with same result – Black screen with cursor
July 29, 2025 at 17:38 #53889 -
AuthorPosts
You must be logged in to reply to this topic. Please login here.