I don't actually need to run GL apps under root so that's a great, and for me correct, solution!
On Sun, 15 Nov 2020, 23:59 DRC, <[email protected]> wrote: > I should footnote that to say that, if you don’t actually need to use > VirtualGL as root, then you could alias sudo to ‘unset LD_PRELOAD; sudo’ or > something similar. Having LD_PRELOAD set when running something as root (or > something that is setuid root) is what gives you that error message. > > > On Nov 15, 2020, at 2:36 PM, DRC <[email protected]> wrote: > > > > No. I've been the principal developer and sole maintainer of VirtualGL > > from the beginning (2004), and I have never seen any way around that > > except making the faker libraries setuid root. > > > >> On 11/15/20 9:30 AM, Shak wrote: > >> I use vglrun +wm to launch my desktop environment, i3, to allow all apps > >> that are used to enjoy VGL acceleration. This work well and I am > >> satisfied with the results. > >> > >> However each time I execute a sudo command in the envoronment I get the > >> following errors: > >> > >> ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded > >> (cannot open shared object file): ignored. > >> ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be > >> preloaded (cannot open shared object file): ignored. > >> > >> The actual command runs fine. I suspect that this is a) innocuous and b) > >> by design as per the docs at https://virtualgl.org/vgldoc/2_2/#hd0012 > >> > >> However it is also quite irritating! Are there any known workarounds > >> (aside from the setguid one from the above link) to hide this message? > >> Perhaps a clever sudo alias that might hide this output? > > > > -- > > You received this message because you are subscribed to the Google > Groups "VirtualGL User Discussion/Support" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/virtualgl-users/a033f65e-7248-6893-686e-50984558fd06%40virtualgl.org > . > > -- > You received this message because you are subscribed to a topic in the > Google Groups "VirtualGL User Discussion/Support" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/virtualgl-users/It-4AmVw6qA/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/virtualgl-users/5C8E3602-9253-485E-90B7-7D454326B6CC%40virtualgl.org > . > -- You received this message because you are subscribed to the Google Groups "VirtualGL User Discussion/Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/virtualgl-users/CAJt8h1tETSbGRT96V5MYVQPWAOMXEod0m%3D96gOX6bXVuJsRzpg%40mail.gmail.com.
