The LD_PRELOAD variable is set in the environment of all applications running in a KDE Plasma desktop
The 'LD_PRELOAD=/usr/NX/lib/libnxegl.so' variable is inherited by all applications running in a KDE Plasma desktop. This environment variable is used when the 'EGL' screen capture method is in use, but it shouldn't be inherited by the applications running in the desktop.
As a temporary workaround, to avoid this variable being set in the environment, users can disable the EGL capture method by running the following command, then rebooting or logging out from the system.
sudo /usr/NX/bin/nxserver --eglcapture no
