Forum Replies Created
-
AuthorPosts
-
fra81
ModeratorHi Joe,
we would need to see the backtrace from the core file. You can find all the instructions here: https://kb.nomachine.com/AR09L00810
Server side logs can also be useful: https://kb.nomachine.com/DT08U00298#1.1
You can send all of that to forum[at]nomachine[dot]com, by referencing this topic.
fra81
ModeratorIt’s probably because you have to edit it as a privileged user. Anyway, you can simply open a Terminal and paste this command there:
echo 'DisplayServerExtraOptions "-nosckgrab"' | sudo tee -a /Applications/NoMachine.app/Contents/Frameworks/etc/node.cfg
That will do the trick. Then you have to restart the NoMachine server with this command to apply the change:
sudo /etc/NX/nxserver --restart
fra81
ModeratorHi pupu,
since I suspect the root cause may be the same, please retrieve the same information that was asked by Bilbotine in this post: https://forum.nomachine.com/topic/black-screen-connecting-to-rocky-linux-9#post-54100. Do that after going to back to the original situation that was giving you the crash.
Thank you in advance for your help.
fra81
Moderator$ sudo getcap /usr/bin/kwin_wayland
/usr/bin/kwin_wayland cap_sys_nice=ep
Do you still have this after installing version 9.1.24? It is possible that system updates restored the problematic capability. Can you try to restart the NoMachine server (sudo /usr/NX/bin/nxserver –restart) and run the same getcap command again?
June 30, 2025 at 10:26 in reply to: Display issues with floating window mode after upgrading to version 9 #53627fra81
ModeratorHi,
this is a known issue. It’s tracked here:
https://kb.nomachine.com/TR06W11363
The fix will be released in the next update of version 9. In the meanwhile, you can use the workaround indicated in the Trouble Report.
fra81
ModeratorHi Dick,
your issue looks like this Trouble Report:
https://kb.nomachine.com/TR10U11031
For now, you can disable Wayland as a workaround.
fra81
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
fra81
ModeratorHi,
thanks for the logs. 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
fra81
ModeratorIt runs damn slow! Seems like there was no use of the graphics hardware at all.
As I see in the glxinfo output, it looks like the graphics hardware is being used. Is maybe the server headless? Or is the monitor turned off? In some cases graphics drivers slow down GPU rendering considerably in case no monitor is detected.
When I run the application prepended by vglrun in addition, it gives some more output.
ERROR: ld.so: object ‘/opt/NX/scripts/vgl//opt/NX/scripts/vgl/’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
This error is due to the problem described in https://kb.nomachine.com/TR12T10706 and is unrelated. As stated in the Trouble Report, it occurs if you enable VirtualGL globally and you use vglrun at the same time. These 2 methods should be used alternatively.
fra81
ModeratorSorry for the delay. We didn’t reproduce this behavior with KDE Plasma or any different environment. It has to be something specific in your system.
How can I recognize a virtual desktop session in the shell? Perhaps, if this was possible we could define LD_PRELOAD accordingly in the system wide login files?
You may try to look for the variables set by NoMachine in the env, e.g. NX_CONNECTION.
fra81
ModeratorHi,
sorry for the delay. We have finally reproduced this issue in our labs. Can you confirm that it only occurs when using KDE with Wayland? To check that, you can use X11 option instead of Wayland in the login screen of the problematic VM.
fra81
ModeratorManually setting the LD_PRELOAD variable to “/opt/NX/lib/libnxegl.so” does not ‘fix’ the virtual session.
Note that LD_PRELOAD is set to a different value in the physical desktop and for a different purpose. In virtual desktops, the value you are supposed to see is:
LD_PRELOAD=/opt/NX/scripts/vgl/libdlfaker.so:/opt/NX/scripts/vgl/libvglfaker.so
You can try to set it manually and check again.
The question is still why LD_PRELOAD is not set, even if in the logs we see that it’s being added to the environment of the desktop process. At the moment I don’t have further ideas, we will check again in our labs with KDE Plasma.
March 3, 2025 at 16:32 in reply to: NoMachine displays grey window when connecting Mac to Linux #52034fra81
ModeratorHi Rhymer,
do you mean that the monitor attached to the server is turned on and you can see what is actually happening on the server screen, while the grey screen is being shown in the player window?
To investigate further, we would need to see the logs from the server. Please follow the instructions in https://kb.nomachine.com/DT07S00243. You can send them to forum[at]nomachine[dot]com.
fra81
ModeratorHi,
it would be important to see logs from the user’s home ($HOME/.nx), that are missing in the archive. You can try with the automatic procedure (see https://kb.nomachine.com/DT07S00243). You can send them to forum[at]nomachine[dot]com by referencing this topic.
fra81
ModeratorHi.
It’s strange that the LD_PRELOAD variable is not set in the environment, despite we see it being set in the logs. It seems like something else is clearing the environment afterwards, maybe something in the user’s profile.
However, you may check if VirtualGL is functional by trying to run your app through the vglrun command:
/opt/NX/scripts/vgl/vglrun <opengl app>
(assuming NoMachine is installed in ‘opt’ dir, as we see in the logs)
The, you may try to run the whole desktop via the vglrun command by adding it to the DefaultDesktopCommand key in the node.cfg file, e.g.:
DefaultDesktopCommand "/usr/bin/dbus-launch --exit-with-session /opt/NX/scripts/vgl/vglrun gnome-session"
-
AuthorPosts