Forum / NoMachine for Linux / NX won’t work with recent KDE 5.17
Tagged: KDE 5.17
- This topic has 52 replies, 21 voices, and was last updated 4 years, 11 months ago by Britgirl.
-
AuthorPosts
-
October 18, 2019 at 08:01 #24063jnkoParticipant
“startkde” has been replaced by “startplasma-x11” in th current version 5.17. However replacing “startkde” with “startplasma-x11″ in /usr/NX/etc/node.cfg” does not work at all. It it not possibe to connect to a NX server running KDE 5.17. nxplayer return error “Cannot detect any display running. Do you want NoMachine to create a new display and proceed to connect to the desktop?”
Steps to reproduce:
1. Install Archlinux with KDE or use a preconfigured image https://www.osboxes.org/arch-linux/ (DirectDL https://sourceforge.net/projects/osboxes/files/v/vb/4-Ar—c-x/2019.05/KDE/201905-kde-64bit.7z/download)
2. Upgrade to recent packages (pacman -Suy) and install NXServer
3. Try to connect to that VM
October 18, 2019 at 10:39 #24078BritgirlKeymasterPlease see:
https://www.nomachine.com/TR10Q09440
The correct workaround is:
– edit /usr/NX/etc/node.cfg, and change the following key:
DefaultDesktopCommand “/usr/bin/dbus-launch /usr/bin/startplasma-x11”
October 18, 2019 at 11:01 #24082brugiParticipantI’m having the same problem (another thread here) and, as jnko said, this doesn’t help.
It’s because NX does not need to start Plasma, it’s already running and we are trying to connect to physical desktop. From some reason X server with KDE 5.17 is not detected by NX.
October 18, 2019 at 11:02 #24085jnkoParticipantThe workaround works fine for Archlinux.
Thanks a lot!
October 18, 2019 at 11:13 #24090jnkoParticipantUups, sorry. Was too fast on my last post.
As already stated by brugi this workaround is only a half fix.
It will work when no session is active, e.g. with sddm login manager, but NOT when a session has alreeady been started. In this case we’ll get the error from first post.
October 18, 2019 at 11:22 #24091brugiParticipantOK, sorry for wrong assumption, I tried with this few days ago and it didn’t work. Now I double-checked for typos or something, but no luck. So I envy you. 🙁
I’m on Arch Linux too and still get “Cannot detect displays” and this:
~ sudo /etc/NX/nxserver –restart
NX> 162 Disabled service: nxserver.
NX> 162 Service: nxnode already disabled.
NX> 162 Disabled service: nxd.
NX> 111 New connections to NoMachine server are enabled.
NX> 161 Enabled service: nxserver.
NX> 162 WARNING: Cannot find X servers running on this machine.
NX> 162 WARNING: A new virtual display will be created on demand.
NX> 161 Enabled service: nxd.Service nxnode remains disabled.
~ sudo /etc/NX/nxserver –status
NX> 111 New connections to NoMachine server are enabled.
NX> 162 Enabled service: nxserver.
NX> 162 Disabled service: nxnode.
NX> 162 Enabled service: nxd.October 18, 2019 at 16:36 #24108og00rContributorAbout that warnings:
‘NX> 162 WARNING: Cannot find X servers running on this machine.
NX> 162 WARNING: A new virtual display will be created on demand.’
It happens because NoMachine cannot find correct session with new plasma in version 5.17.
There is Trouble Report for it (separate from TR10Q09440):https://www.nomachine.com/TR10Q09441
As there is no workaround at this moment we could prepare packages with fix for you, but you should confirm what packages you are using (nxserver –version) on what architecture (x86 or x64).
October 18, 2019 at 17:48 #24112brugiParticipantI’m using Arch Linux, x64, NoMachine version 6.8.1.
Thanks! Fingers crossed. 🙂
October 18, 2019 at 18:49 #24113jnkoParticipant/usr/NX/bin/nxserver –version
NoMachine – Version 6.8.1Linux l 5.3.6-arch1-1-ARCH #1 SMP PREEMPT Fri Oct 11 18:28:05 UTC 2019 x86_64 GNU/Linux
tar.gz packages are fine (at least for me)
October 21, 2019 at 07:51 #24127otakuxtomParticipantI also have such issue in my KDE 5.17
I am using
NoMachine – Version 6.8.1
hope there will be a solution soon.
October 21, 2019 at 16:14 #24164brugiParticipantI can confirm that patch that you sent by email works for me. Thank you very much!
October 22, 2019 at 07:55 #24167October 22, 2019 at 07:55 #24170jeffm999Participanthaving same issue as those above :
OS=arch, x64 ; plasma 5.17 ; NoMachine 6.8.1
looking forward to a fix
October 22, 2019 at 08:01 #24174BritgirlKeymasterAll those who are on this thread should now have received an email from us. Please check your email inboxes 🙂
October 22, 2019 at 12:23 #24177mantoshelisParticipantCan I get this patch also? I experience same problem on KDE 5.17 and Arch Linux with NoMachine version 6.8.1.
Thanks a lot.
-
AuthorPosts
This topic was marked as solved, you can't post.