RHEL8, RHEL9, NoMachine Workstation 8.10: LD_PRELOAD error

Forum / NoMachine for Linux / RHEL8, RHEL9, NoMachine Workstation 8.10: LD_PRELOAD error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #46646
    brett.markham
    Participant

    Hi,

    My company has been using NoMachine Workstation 7.6.  We want to start using 8.10.

    On both an upgrade install (RHEL8) and a fresh install (RHEL9) (both using nouveau drivers) it seems to work fine creating a virtual display, but whenever a terminal is opened in the gui, it gives the following error on the command line:

    ERROR: ld.so: object ‘/usr/NX/lib/libnxegl.so’ from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

    I realize from another post that this error can be made to go away by:

    Editing /usr/share/applications/org.gnome.Shell.desktop

    And changing:

    Exec=/usr/NX/scripts/env/nxpreload.sh /usr/bin/gnome-shell

    To:

    Exec=/usr/bin/gnome-shell

    And this *does* work.  However, I am wondering if there is an underlying issue that needs fixed, or if using this tactic will have negative ramifications if (for example) we subsequently install the proprietary nvidia drivers on a machine?  Or is this a line that should be present only if the proprietary drivers are present?

    Thank you!

    #46702
    Britgirl
    Keymaster

    Hi, this is a known bug and you can find the Trouble Report here:

    Enabling EGL capture makes the Gnome Shell freeze when Wayland is used
    https://www.nomachine.com/TR01V11053

    Your workaround of taking out LD_PRELOAD from the Gnome script is the equivalent of our workaround $ sudo /usr/NX/bin/nxserver --eglcapture no (--eglcapture yes adds LD_PRELOAD to the script). There are no drawbacks related to drivers. The only small drawback of either of the workarounds is that sessions to the physical display might not be possible. Virtual desktop sessions are ok. The patch will be released in the next maintenance of version 8 😉

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

This topic was marked as solved, you can't post.