Keep getting message on console regarding LD_PRELOAD failure

Forum / NoMachine for Linux / Keep getting message on console regarding LD_PRELOAD failure

Tagged: 

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #50614
    cppgent0
    Participant

    Product: NoMachine
    Version: 8.1.2
    Platform: Linux

    (PS you might want to make the NoMachine panel that has this info copy-n-paste compatible, instead of me typing it)

    On Ubuntu 22.04. This machine has the server on it, but I only use it as the client.

    Getting the same warning. So I tried the command as suggested:

    sudo /etc/NX/nxserver –eglcapture no
    NX> 900 EnableEGLCapture key set to: 0.
    NX> 900 Disabled EGL screen capture in ‘/usr/share/applications/org.gnome.Shell.desktop’.
    NX> 900 Disabled EGL screen capture in ‘/usr/lib/systemd/user/org.gnome.Shell@wayland.service’.
    exit

    restarted the terminal and get the same warnings again.

    But if I keep the terminal up and open another tab or terminal window, it works fine. As soon as I close all the terminals, then the issue comes back.

    I don’t have ld.so.preload:

    ls /etc/ld.so.preload
    ls: cannot access ‘/etc/ld.so.preload’: No such file or directory

    but there are files in /etc/ld.so.conf.d none of which look like they’re related to NoMachine

    $ lsĀ  /etc/ld.so.conf.d/*
    /etc/ld.so.conf.d/fakeroot-x86_64-linux-gnu.conf
    /etc/ld.so.conf.d/i386-linux-gnu.conf
    /etc/ld.so.conf.d/libc.conf
    /etc/ld.so.conf.d/skype.conf
    /etc/ld.so.conf.d/x86_64-linux-gnu.conf
    /etc/ld.so.conf.d/zz_i386-biarch-compat.conf

    The “unset LD_PRELOAD” works. I can put in the .bashrc to make it permanent.

    Well, sort of works.

    If you put the unset at the bottom of the .bashrc, I still get a few warnings when I start the first terminal. But if I put it at the top of the .bashrc then I only get one warning.

     

    #50628
    Britgirl
    Keymaster

    (PS you might want to make the NoMachine panel that has this info copy-n-paste compatible, instead of me typing it)

    We will. Thanks for the suggestion for improvement.

    You mentioned “restarted the terminal and get the same warnings again.” Restart is not enough. You need to reboot. If you disable eglcapture and reboot, then “unset LD_PRELOAD” is not needed.

Viewing 2 posts - 16 through 17 (of 17 total)

You must be logged in to reply to this topic. Please login .