TigerVNC fails to run on LibreELEC (Leia) v8.90.003 ALPHA

  • The tigervnc service addon fails to run on the generic version of v8.90.003 with the error: "x0vncserver: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directory"


    Installing tigervnc on a milhouse test build about a week or two ago was working.


    Hardware: Intel NUC BOXNUC7CJYH1

    To reproduce, manually run /storage/.kodi/addons/service.tigervnc/bin/tigervnc.start to see the error message. It doesn't appear to be logged in kodi's log.

  • Hi,


    Am having same issue, trying to run a VNC server - TigerVNC on my LibreElec, seems to be two libraries missing, as per below? (This has worked previously for me)


    LibreELEC:~/.kodi/addons/service.tigervnc/bin # ./tigervnc.start

    x0vncserver: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directory


    LibreELEC:~/.kodi/addons/service.tigervnc/bin # cat tigervnc.start

    #!/bin/sh


    # SPDX-License-Identifier: GPL-2.0-or-later

    # Copyright © 2016-present Team LibreELEC (LibreELEC – Just enough OS for KODI)


    . /etc/profile

    oe_setup_addon service.tigervnc


    if [ ! -f "$ADDON_HOME/passwd" ]

    then

    cp "$ADDON_DIR/config/passwd" "$ADDON_HOME/passwd"

    fi


    x0vncserver -PasswordFile="$ADDON_HOME/passwd" -rfbport="$vnc_port"


    LibreELEC:~/.kodi/addons/service.tigervnc/bin # which x0vncserver

    /storage/.kodi/addons/service.tigervnc/bin/x0vncserver


    LibreELEC:~/.kodi/addons/service.tigervnc/bin # ldd /storage/.kodi/addons/service.tigervnc/bin/x0vncserver

    linux-vdso.so.1 (0x00007ffd4c0fe000)

    libXtst.so.6 => not found

    libXdamage.so.1 => not found

    libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f849d21d000)

    libz.so.1 => /usr/lib/libz.so.1 (0x00007f849d209000)

    libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f849d1e8000)

    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f849d065000)

    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f849d04b000)

    libc.so.6 => /usr/lib/libc.so.6 (0x00007f849ce96000)

    libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f849ce8f000)

    /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f849d34b000)

    libm.so.6 => /usr/lib/libm.so.6 (0x00007f849cd10000)


    LibreELEC:~/.kodi/addons/service.tigervnc/bin # uname -a

    Linux LibreELEC 4.18.4 #1 SMP Wed Aug 22 22:57:12 BST 2018 x86_64 GNU/Linux


    LibreELEC:~/.kodi/addons/service.tigervnc/bin # lsb_release

    LibreELEC (Milhouse): devel-20180822225356-#0822-gb56a1af [Build #0822]


    Can these libraries, libXtst.so.6 & libXdamage.so.1 be added to a future Milhouse build?


    Many thanks again


    Rgds

  • It looks like the addon is out of date, or had a dependency on another addon (possibly Chrome) which no longer includes those libraries.


    Try installing this version of the addon - it's for LE9, so may not work with LE8.2.5:

    service.tigervnc-9.0.103.zip

  • It looks like the addon is out of date, or had a dependency on another addon (possibly Chrome) which no longer includes those libraries.


    Try installing this version of the addon - it's for LE9, so may not work with LE8.2.5:

    service.tigervnc-9.0.103.zip

    Hi Milhouse,


    I uninstalled the previous addon and installed your version, and the 2 dependencies are gone! and TigerVNC works as expected:thumbup:



    LibreELEC:~/.kodi/addons/service.tigervnc/bin # ldd /storage/.kodi/addons/service.tigervnc/bin/x0vncserver

    linux-vdso.so.1 (0x00007ffcac93c000)

    libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f575b480000)

    libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f575b46e000)

    libz.so.1 => /usr/lib/libz.so.1 (0x00007f575b458000)

    libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f575b437000)

    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f575b2b4000)

    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f575b29a000)

    libc.so.6 => /usr/lib/libc.so.6 (0x00007f575b0e5000)

    libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f575b0e0000)

    /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f575b5ac000)

    libm.so.6 => /usr/lib/libm.so.6 (0x00007f575af5f000)


    Many thanks again for your help...


    Cheers

    Paul