Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: Rabie on December 14, 2021, 05:33:41 AM

Title: Anydesk
Post by: Rabie on December 14, 2021, 05:33:41 AM
Hi,

is there a chance to get Anydesk installed at TinyCore 10.x/x86_64 ?

If yes, i am gonna need some help installing it  ;D

https://support.anydesk.com/knowledge/installation#linux

Thank you
Title: Re: Anydesk
Post by: Juanito on December 15, 2021, 05:08:38 AM
You would have to try it and see - perhaps starting with the generic linux 64bit tarball download.

Note that the latest CorePure64 is 12.x, not 10.x
Title: Re: Anydesk
Post by: Rabie on December 19, 2021, 05:35:51 AM
Hi Juanito,

could you tell me how to install it after i extracted it ?

Code: [Select]
tar xvzf anydesk-5.0.0-i686.tar.gz
anydesk-5.0.0/
anydesk-5.0.0/changelog
anydesk-5.0.0/systemd/
anydesk-5.0.0/systemd/anydesk.service
anydesk-5.0.0/anydesk.desktop
anydesk-5.0.0/README
anydesk-5.0.0/copyright
anydesk-5.0.0/icons/
anydesk-5.0.0/icons/hicolor/
anydesk-5.0.0/icons/hicolor/256x256/
anydesk-5.0.0/icons/hicolor/256x256/apps/
anydesk-5.0.0/icons/hicolor/256x256/apps/anydesk.png
anydesk-5.0.0/icons/hicolor/48x48/
anydesk-5.0.0/icons/hicolor/48x48/apps/
anydesk-5.0.0/icons/hicolor/48x48/apps/anydesk.png
anydesk-5.0.0/icons/hicolor/16x16/
anydesk-5.0.0/icons/hicolor/16x16/apps/
anydesk-5.0.0/icons/hicolor/16x16/apps/anydesk.png
anydesk-5.0.0/icons/hicolor/24x24/
anydesk-5.0.0/icons/hicolor/24x24/apps/
anydesk-5.0.0/icons/hicolor/24x24/apps/anydesk.png
anydesk-5.0.0/icons/hicolor/scalable/
anydesk-5.0.0/icons/hicolor/scalable/apps/
anydesk-5.0.0/icons/hicolor/scalable/apps/anydesk.svg
anydesk-5.0.0/icons/hicolor/32x32/
anydesk-5.0.0/icons/hicolor/32x32/apps/
anydesk-5.0.0/icons/hicolor/32x32/apps/anydesk.png
anydesk-5.0.0/polkit-1/
anydesk-5.0.0/polkit-1/com.philandro.anydesk.policy
anydesk-5.0.0/init/
anydesk-5.0.0/init/anydesk
anydesk-5.0.0/anydesk

There is no MAKE or ./configure file and i dont realy know how to install it.

Thank you
Title: Re: Anydesk
Post by: Juanito on December 19, 2021, 05:50:15 AM
I'd guess it's closed source and they only supply pre-compiled binaries.

Try:
Code: [Select]
$ cd anydesk-5.0.0
$ ./anydesk
Title: Re: Anydesk
Post by: Rabie on December 19, 2021, 06:11:56 AM
Code: [Select]
/opt/anydesk-5.0.0$ ./anydesk
-sh: ./anydesk: not found

there is also anydesk in init but nothing happens
Code: [Select]
cd init/
tc@box:/opt/anydesk-5.0.0/init$
tc@box:/opt/anydesk-5.0.0/init$
tc@box:/opt/anydesk-5.0.0/init$ ./anydesk
tc@box:/opt/anydesk-5.0.0/init$

i am trying to find some information in google how to install the generic package, but can't find anything
Title: Re: Anydesk
Post by: Juanito on December 19, 2021, 06:21:05 AM
If you're using CorePure64 you downloaded the wrong package - anydesk-5.0.0-i686.tar.gz is 32-bit.

You need anydesk-6.1.1-amd64.tar.gz
Title: Re: Anydesk
Post by: Rabie on December 19, 2021, 06:30:33 AM
oh you are right  :P

now he is asking for this library:
Code: [Select]
./anydesk
./anydesk: error while loading shared libraries: libgtkglext-x11-1.0.so.0: cannot open shared object file: No such file or directory

libgtk is not in the repo.

edit:
from the README File all needed libs:


Quote
In order to run the AnyDesk binary, make sure all dependencies are met. We
recommend running it from the commandline and observe the error messages from
the loader to determine which libraries are missing. These are the libs that
AnyDesk needs to run:

Mandatory libraries:
libglib (>= 2.16)
libgtk2 (>= 2.20.1)
libcairo
libpango
libx11
libxcb
libxcb-shm
libxrandr (>= 1.3)
libx11-xcb
libxtest
libxfixes
libxdamage
libxinput
libxrender
libgtkglext
libpolkit-gobject

Optional libraries:
libpulse
libpulse-simple (needed for audio support)
Title: Re: Anydesk
Post by: Juanito on December 19, 2021, 06:41:41 AM
You're missing libgtkglext provided by the "OpenGL Extension to GTK+"

This appears to be somewhat depreciated software and there is no tinycore extension for it.
Title: Re: Anydesk
Post by: Rabie on December 19, 2021, 06:46:16 AM
we may could make the extension ?
Title: Re: Anydesk
Post by: Juanito on December 19, 2021, 06:50:46 AM
The source is here: https://download.gnome.org/sources/gtkglext/1.2/gtkglext-1.2.0.tar.bz2
Title: Re: Anydesk
Post by: Rabie on December 19, 2021, 07:25:03 AM
Code: [Select]
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... Invalid configuration `x86_64-unknown-linux-': machine `x86_64-unknown-linux' not recognized
configure: error: / bin/ sh ./config.sub x86_64-unknown-linux- failed

any ideas ?
Title: Re: Anydesk
Post by: Juanito on December 19, 2021, 07:40:17 AM
Try this:
Code: [Select]
$ tce-load -i libtool
$ cp /tmp/tcloop/libtool/usr/local/share/libtool/build-aux/config.* ./
Title: Re: Anydesk
Post by: Rabie on December 19, 2021, 07:50:17 AM

Code: [Select]
./configure
checking for a BSD-compatible install... / usr/ bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

Title: Re: Anydesk
Post by: Juanito on December 19, 2021, 08:08:19 AM
Did you load the compiletc extension?
Title: Re: Anydesk
Post by: Rabie on December 19, 2021, 09:02:10 AM
how dumb can someone be  :(

Code: [Select]

./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for strerror in -lcposix... no
checking for a sed that does not truncate output... /usr/local/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking for /usr/local/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/local/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/local/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/local/bin/ld -m elf_x86_64
checking if the linker (/usr/local/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/local/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/local/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for some Win32 platform... no
checking for native Win32... no
checking whether build environment is sane... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether  make sets $  ... ( cached ) yes
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking for perl5... no
checking for perl... no
checking for indent... no
checking for pkg-config... /usr /local /bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (gtk+-2.0 >= 2.0.0 gdk-2.0 >= 2.0.0 pango >= 1.0.0 pangox >= 1.0.0 gmodule-2.0 >= 2.0.0 ) were not
 met:
No package 'gtk+-2.0' found
No package 'gdk-2.0' found
No package 'pango' found
No package 'pangox' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.



there are alot of things, that does not exit while checking.
ist that ok ?
and even if i run make it gives this:
Code: [Select]
make: *** No targets specified and no makefile found.  Stop.
Title: Re: Anydesk
Post by: Juanito on December 19, 2021, 09:06:46 AM
You need to load the gtk2-dev extension.

It also looks like you will need to compile this: https://download.gnome.org/sources/pangox-compat/0.0/pangox-compat-0.0.2.tar.xz
Title: Re: Anydesk
Post by: Rabie on December 19, 2021, 10:52:00 AM
It also looks like you will need to compile this: https://download.gnome.org/sources/pangox-compat/0.0/pangox-compat-0.0.2.tar.xz
While compiling pangox i get an Error:

Code: [Select]
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets (MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/bin/sed
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/bin/grep -E
checking for fgrep... /usr/local/bin/grep -F
checking for ld used by gcc... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm -B
checking the name lister (/usr/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/local/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/local/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/local/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PANGO... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pangox.pc
config.status: executing depfiles commands
config.status: executing libtool commands
root@box:/opt/pangox-compat-0.0.2#
root@box:/opt/pangox-compat-0.0.2#
root@box:/opt/pangox-compat-0.0.2#
root@box:/opt/pangox-compat-0.0.2#
root@box:/opt/pangox-compat-0.0.2# make
  CC     libpangox_1_0_la-pangox.lo
pangox.c: In function 'pango_x_get_shaper_map':
pangox.c:1359:3: warning: 'pango_find_map' is deprecated [-Wdeprecated-declarations]
   return pango_find_map (language, engine_type_id, render_type_id);
   ^~~~~~
In file included from pangox-private.h:26,
                 from pangox.c:30:
/usr/local/include/pango-1.0/pango/pango-modules.h:59:16: note: declared here
 PangoMap *     pango_find_map        (PangoLanguage       *language,
                ^~~~~~~~~~~~~~
pangox.c: In function 'pango_x_font_find_shaper':
pangox.c:1381:3: warning: 'pango_map_get_engine' is deprecated [-Wdeprecated-declarations]
   return (PangoEngineShape *)pango_map_get_engine (shape_map, script);
   ^~~~~~
In file included from pangox-private.h:26,
                 from pangox.c:30:
/usr/local/include/pango-1.0/pango/pango-modules.h:63:16: note: declared here
 PangoEngine *  pango_map_get_engine  (PangoMap            *map,
                ^~~~~~~~~~~~~~~~~~~~
In function 'name_for_charset',
    inlined from 'pango_x_list_subfonts' at pangox.c:1144:12:
pangox.c:1048:4: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
    strncpy (result, xlfd, strlen (xlfd) - 2);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pangox.c: In function 'pango_x_list_subfonts':
pangox.c:1048:27: note: length computed here
    strncpy (result, xlfd, strlen (xlfd) - 2);
                           ^~~~~~~~~~~~~
In function 'name_for_charset',
    inlined from 'pango_x_list_subfonts' at pangox.c:1144:12:
pangox.c:1037:4: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
    strncpy (result, xlfd, strlen (xlfd) - 4);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pangox.c: In function 'pango_x_list_subfonts':
pangox.c:1037:27: note: length computed here
    strncpy (result, xlfd, strlen (xlfd) - 4);
                           ^~~~~~~~~~~~~
  CC     libpangox_1_0_la-pangox-fontcache.lo
  CC     libpangox_1_0_la-pangox-fontmap.lo
pangox-fontmap.c: In function 'pango_x_font_map_for_display':
pangox-fontmap.c:299:2: warning: 'pango_module_register' is deprecated [-Wdeprecated-declarations]
  pango_module_register (&_pango_included_x_modules[i]);
  ^~~~~~~~~~~~~~~~~~~~~
In file included from pangox-private.h:26,
                 from pangox-fontmap.c:39:
/usr/local/include/pango-1.0/pango/pango-modules.h:71:16: note: declared here
 void           pango_module_register (PangoIncludedModule *module);
                ^~~~~~~~~~~~~~~~~~~~~
pangox-fontmap.c:303:3: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations]
   g_type_init ();
   ^~~~~~~~~~~
In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/local/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/local/include/glib-2.0/glib-object.h:23,
                 from /usr/local/include/pango-1.0/pango/pango-types.h:26,
                 from /usr/local/include/pango-1.0/pango/pango-engine.h:25,
                 from pangox-fontmap.c:33:
/usr/local/include/glib-2.0/gobject/gtype.h:688:23: note: declared here
 void                  g_type_init                    (void);
                       ^~~~~~~~~~~
pangox-fontmap.c: In function 'pango_x_font_map_read_alias_file':
pangox-fontmap.c:826:7: warning: 'pango_read_line' is deprecated [-Wdeprecated-declarations]
       while ((lines_read = pango_read_line (infile, line_buf)))
       ^~~~~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:37:10: note: declared here
 gint     pango_read_line      (FILE        *stream,
          ^~~~~~~~~~~~~~~
pangox-fontmap.c:838:4: warning: 'pango_skip_space' is deprecated [-Wdeprecated-declarations]
    if (!pango_skip_space (&p))
    ^~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:40:10: note: declared here
 gboolean pango_skip_space     (const char **pos);
          ^~~~~~~~~~~~~~~~
pangox-fontmap.c:841:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations]
    if (!pango_scan_string (&p, tmp_buf))
    ^~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here
 gboolean pango_scan_string    (const char **pos,
          ^~~~~~~~~~~~~~~~~
pangox-fontmap.c:851:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations]
    if (!pango_scan_string (&p, tmp_buf))
    ^~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here
 gboolean pango_scan_string    (const char **pos,
          ^~~~~~~~~~~~~~~~~
pangox-fontmap.c:858:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations]
    if (!pango_scan_string (&p, tmp_buf))
    ^~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here
 gboolean pango_scan_string    (const char **pos,
          ^~~~~~~~~~~~~~~~~
pangox-fontmap.c:865:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations]
    if (!pango_scan_string (&p, tmp_buf))
    ^~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here
 gboolean pango_scan_string    (const char **pos,
          ^~~~~~~~~~~~~~~~~
pangox-fontmap.c:872:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations]
    if (!pango_scan_string (&p, tmp_buf))
    ^~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here
 gboolean pango_scan_string    (const char **pos,
          ^~~~~~~~~~~~~~~~~
pangox-fontmap.c:879:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations]
    if (!pango_scan_string (&p, tmp_buf))
    ^~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here
 gboolean pango_scan_string    (const char **pos,
          ^~~~~~~~~~~~~~~~~
pangox-fontmap.c:887:8: warning: 'pango_trim_string' is deprecated [-Wdeprecated-declarations]
        char *trimmed = pango_trim_string (xlfds[i]);
        ^~~~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:35:10: note: declared here
 char    *pango_trim_string     (const char *str);
          ^~~~~~~~~~~~~~~~~
pangox-fontmap.c: In function 'pango_x_font_map_read_aliases':
pangox-fontmap.c:944:3: warning: 'pango_config_key_get' is deprecated [-Wdeprecated-declarations]
   char *files_str = pango_config_key_get ("PangoX/AliasFiles");
   ^~~~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:55:10: note: declared here
 char *   pango_config_key_get (const char  *key);
          ^~~~~~~~~~~~~~~~~~~~
pangox-fontmap.c:950:3: warning: 'pango_split_file_list' is deprecated [-Wdeprecated-declarations]
   files = pango_split_file_list (files_str);
   ^~~~~
In file included from /usr/local/include/pango-1.0/pango/pango.h:46,
                 from pango-impl-utils.h:28,
                 from pangox-fontmap.c:35:
/usr/local/include/pango-1.0/pango/pango-utils.h:32:10: note: declared here
 char **  pango_split_file_list (const char *str);
          ^~~~~~~~~~~~~~~~~~~~~
pangox-fontmap.c: In function 'engine_shape_covers':
pangox-fontmap.c:1548:3: warning: 'pango_engine_shape_get_type' is deprecated [-Wdeprecated-declarations]
   g_return_val_if_fail (PANGO_IS_ENGINE_SHAPE (engine), PANGO_COVERAGE_NONE);
   ^~~~~~~~~~~~~~~~~~~~
In file included from pangox-fontmap.c:33:
/usr/local/include/pango-1.0/pango/pango-engine.h:238:7: note: declared here
 GType pango_engine_shape_get_type (void) G_GNUC_CONST;
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
pangox-fontmap.c: In function 'pango_x_face_get_coverage':
pangox-fontmap.c:1597:7: warning: 'pango_map_get_engine' is deprecated [-Wdeprecated-declarations]
       engine = (PangoEngineShape *)pango_map_get_engine (shape_map, PANGO_SCRIPT_COMMON);
       ^~~~~~
In file included from pangox-private.h:26,
                 from pangox-fontmap.c:39:
/usr/local/include/pango-1.0/pango/pango-modules.h:63:16: note: declared here
 PangoEngine *  pango_map_get_engine  (PangoMap            *map,
                ^~~~~~~~~~~~~~~~~~~~
  CC     libpangox_1_0_la-basic-x.lo
basic-x.c: In function 'basic_engine_shape':
basic-x.c:592:2: warning: 'pango_get_mirror_char' is deprecated: Use 'g_unichar_get_mirror_char' instead [-Wdeprecated-declarations]
  if (pango_get_mirror_char (wc, &mirrored_ch))
  ^~
In file included from /usr/local/include/pango-1.0/pango/pango-types.h:200,
                 from /usr/local/include/pango-1.0/pango/pango-engine.h:25,
                 from basic-x.c:24:
/usr/local/include/pango-1.0/pango/pango-bidi-type.h:134:16: note: declared here
 gboolean       pango_get_mirror_char        (gunichar     ch,
                ^~~~~~~~~~~~~~~~~~~~~
basic-x.c: In function 'basic_engine_x_class_init':
basic-x.c:687:23: warning: assignment to 'void (*)(PangoEngineShape *, PangoFont *, const char *, unsigned int,  const PangoAnalysis *, PangoGlyphString *, const char *, unsigned int)' {aka 'void (*)(struct _PangoEngineShape *, struct _PangoFont *, const char *, unsigned int,  const struct _PangoAnalysis *, struct _PangoGlyphString *, const char *, unsigned int)'} from incompatible pointer type 'void (*)(PangoEngineShape *, PangoFont *, const char *, gint,  const PangoAnalysis *, PangoGlyphString *)' {aka 'void (*)(struct _PangoEngineShape *, struct _PangoFont *, const char *, int,  const struct _PangoAnalysis *, struct _PangoGlyphString *)'} [-Wincompatible-pointer-types]
   class->script_shape = basic_engine_shape;
                       ^
basic-x.c: In function 'basic_engine_x_compat_register_type':
basic-x.c:690:1: warning: 'pango_engine_shape_get_type' is deprecated [-Wdeprecated-declarations]
 PANGO_ENGINE_SHAPE_DEFINE_TYPE (BasicEngineXCompat, basic_engine_x_compat,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from basic-x.c:24:
/usr/local/include/pango-1.0/pango/pango-engine.h:238:7: note: declared here
 GType pango_engine_shape_get_type (void) G_GNUC_CONST;
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  CCLD   libpangox-1.0.la
/usr/local/bin/sed: can't read /usr/local/lib/libgobject-2.0.la: No such file or directory
libtool: link: `/usr/local/lib/libgobject-2.0.la' is not a valid libtool archive
make: *** [Makefile:389: libpangox-1.0.la] Error 1
Title: Re: Anydesk
Post by: Juanito on December 19, 2021, 11:12:56 AM
It might seem counterintuitive, but you need to delete all *.la files:
Code: [Select]
$ sudo rm /usr/local/lib/*.la
$ sudo rm /usr/lib/*.la

.. then delete the pangox-compat folder, untar the pangox-compat source and start again.
Title: Re: Anydesk
Post by: Rabie on December 19, 2021, 11:18:14 AM
It might seem counterintuitive, but you need to delete all *.la files:
Code: [Select]
$ sudo rm /usr/local/lib/*.la
$ sudo rm /usr/lib/*.la

.. then delete the pangox-compat folder, untar the pangox-compat source and start again.

never mind i just downloaded the missing *.la files and got this: (See Attachment)
or is that not the right way ?


Title: Re: Anydesk
Post by: Rabie on December 19, 2021, 11:25:04 AM
and i went after that to the gtkglext dir to install it

./configure ran just fine

and make gives an Error:

Code: [Select]
gdkglshapes.c:547:12: error: 'index' redeclared as different kind of symbol
 static int index[20][3] =
            ^~~~~
In file included from /usr/include/string.h:431,
                 from /usr/local/include/glib-2.0/glib/gtestutils.h:30,
                 from /usr/local/include/glib-2.0/glib.h:85,
                 from gdkglshapes.c:21:
/usr/include/strings.h:68:14: note: previous declaration of 'index' was here
 extern char *index (const char *__s, int __c)
              ^~~~~
make[4]: *** [Makefile:513: gdkglshapes.lo] Error 1
make[4]: Leaving directory '/opt/gtkglext-1.2.0/gdk'
make[3]: *** [Makefile:558: all-recursive] Error 1
make[3]: Leaving directory '/opt/gtkglext-1.2.0/gdk'
make[2]: *** [Makefile:428: all] Error 2
make[2]: Leaving directory '/opt/gtkglext-1.2.0/gdk'
make[1]: *** [Makefile:363: all-recursive] Error 1
make[1]: Leaving directory '/opt/gtkglext-1.2.0'
make: *** [Makefile:279: all] Error 2

Title: Re: Anydesk
Post by: Juanito on December 19, 2021, 12:48:54 PM
You could try starting again and using:
Code: [Select]
$ CFLAGS="-fcommon" CXXFLAGS="-fcommon" ./configure
$ make
Title: Re: Anydesk
Post by: Rabie on December 19, 2021, 01:02:49 PM
You could try starting again and using:
Code: [Select]
$ CFLAGS="-fcommon" CXXFLAGS="-fcommon" ./configure
$ make


Code: [Select]
CFLAGS="-fcommon" CXXFLAGS="-fcommon" ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for strerror in -lcposix... no
checking for a sed that does not truncate output... /usr/local/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking for /usr/local/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/local/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/local/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/local/bin/ld -m elf_x86_64
checking if the linker (/usr/local/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/local/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/local/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for some Win32 platform... no
checking for native Win32... no
checking whether build environment is sane... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking for perl5... no
checking for perl... /usr/local/bin/perl
checking for indent... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.60.6)
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.24.32)
checking for ANSI C header files... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memset... yes
checking for sqrt... yes
checking for strchr... yes
checking for strrchr... yes
checking for strstr... yes
checking gdk/gdkdisplay.h usability... yes
checking gdk/gdkdisplay.h presence... yes
checking for gdk/gdkdisplay.h... yes
checking gdk/gdkscreen.h usability... yes
checking gdk/gdkscreen.h presence... yes
checking for gdk/gdkscreen.h... yes
checking for gdk_display_get_default in GDK library... yes
configure: GDK supports multihead
checking for gdk_x11_colormap_foreign_new... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for X11/Xmu/StdCmap.h... yes
checking for Xmu/StdCmap.h... no
checking for XmuLookupStandardColormap in -lXmu... yes
checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for glVertex3d in -lGLcore... no
checking for glVertex3d in -lGL... yes
checking for gluSphere in -lGLU... yes
checking for gluBeginCurve in -lGLU... yes
checking whether libGLU needs to be linked with the std C++ library... no
checking for GLXFBConfigSGIX... yes
checking for GLXFBConfigIDSGIX... no
checking for GLXPbufferSGIX... yes
checking for GLXVideoSourceSGIX... yes
checking for __GLXextFuncPtr... yes
checking for GLhalfNV... yes
configure: creating ./config.status
config.status: creating gdkglext.pc
config.status: creating gtkglext.pc
config.status: creating gdkglext-uninstalled.pc
config.status: creating gtkglext-uninstalled.pc
config.status: creating gtkglext.spec
config.status: creating gtkglext.nsi
config.status: creating Makefile
config.status: creating gdk/Makefile
config.status: creating gdk/gdkglversion.h
config.status: creating gdk/glext/Makefile
config.status: creating gdk/x11/Makefile
config.status: creating gdk/win32/Makefile
config.status: creating gtk/Makefile
config.status: creating gtk/gtkglversion.h
config.status: creating m4macros/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/gtkglext/Makefile
config.status: creating docs/reference/gtkglext/version.xml
config.status: creating examples/Makefile
config.status: creating examples/glade/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing gdk/gdkglext-config.h commands
config.status: gdk/gdkglext-config.h is unchanged

configuration:
        OpenGL CFLAGS:
        OpenGL LIBS:             -lGLU -lGL
        multihead support:      yes
        debug:                  minimum
        extra defs:

the same error

Title: Re: Anydesk
Post by: Juanito on December 19, 2021, 02:09:03 PM
Did you delete the gtkglext folder and unpack the source tarball again?
Title: Re: Anydesk
Post by: Rich on December 19, 2021, 02:10:27 PM
Hi Rabie
Maybe you need to run  make clean  before you started over (make clean, ./configure, make).
Title: Re: Anydesk
Post by: Rabie on December 19, 2021, 02:25:26 PM
Did you delete the gtkglext folder and unpack the source tarball again?

yes i did now and getting the same error

Hi Rich,
make clean didn't help either

but i just found out that there is the extension gtkglext.tcz for Version 4 x86
https://distro.ibiblio.org/tinycorelinux/4.x/x86/tcz/

would that work ?


Title: Re: Anydesk
Post by: Rich on December 19, 2021, 08:12:40 PM
Hi Rabie
No, that won't work. It's a 32 bit package and you're working with 64 bit.

The error is due to a name collision with  glibc_base-dev.tcz.

Try fixing  gdkglshapes.c:
Code: [Select]
sed -i 's/static int index/static int GLindex/' /opt/gtkglext-1.2.0/gdk/gdkglshapes.c
sed -i 's/idata, index, shadeType/idata, GLindex, shadeType/' /opt/gtkglext-1.2.0/gdk/gdkglshapes.c

and see what pops up next.
Title: Re: Anydesk
Post by: Rabie on December 20, 2021, 03:13:16 AM
Hi Rich,
thank you very much that fixed the Problem and then were some *.la files missing but i downloaded them manually.

So i tried to start anydesk after i made the extension "gtkglext.tcz"

and i get some warnings and an error:

Code: [Select]
root@box:/opt/anydesk-6.0.1# ./anydesk

(process:20460): GLib-GObject-WARNING **: 11:05:36.961: invalid (NULL) pointer instance

(process:20460): GLib-GObject-CRITICAL **: 11:05:36.961: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:20460): GLib-GObject-WARNING **: 11:05:36.961: invalid (NULL) pointer instance

(process:20460): GLib-GObject-CRITICAL **: 11:05:36.961: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:20464): GLib-GObject-WARNING **: 11:05:36.980: invalid (NULL) pointer instance

(process:20464): GLib-GObject-CRITICAL **: 11:05:36.980: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:20464): GLib-GObject-WARNING **: 11:05:36.980: invalid (NULL) pointer instance

(process:20464): GLib-GObject-CRITICAL **: 11:05:36.980: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
root@box:/opt/anydesk-6.0.1#
(process:20468): GLib-GObject-WARNING **: 11:05:37.073: invalid (NULL) pointer instance

(process:20468): GLib-GObject-CRITICAL **: 11:05:37.073: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:20468): GLib-GObject-WARNING **: 11:05:37.073: invalid (NULL) pointer instance

(process:20468): GLib-GObject-CRITICAL **: 11:05:37.073: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
sh: lsb_release: not found
double free or corruption (fasttop)

Title: Re: Anydesk
Post by: Rich on December 20, 2021, 09:34:03 AM
Hi Rabie
I don't know if that's a bug in  Anydesk  or an issue with  gtkglext.

You could see if you have better results with a pre-compiled binary. Goto:
http://archive.ubuntu.com/ubuntu/pool/universe/g/gtkglext/

Download the  libgtkglext1_1.2.0-11_amd64.deb  file.

Unpack it:
Code: [Select]
ar -x libgtkglext1_1.2.0-11_amd64.deb
You will find the libraries in the  data.tar.xz  file.
Title: Re: Anydesk
Post by: Rabie on December 20, 2021, 10:19:57 AM
Hi Rich,
after unpacking i just copied the *.so files into /usr/lib:
Code: [Select]
sudo cp -a /opt/libgtkg/usr/lib/x86_64-linux-gnu/libg* /usr/lib/
And tried with other version of anydesk but still getting the error
Code: [Select]
/opt/anydesk-5.0.0$ ./anydesk

(process:9724): GLib-GObject-WARNING **: 18:10:01.448: invalid (NULL) pointer instance

(process:9724): GLib-GObject-CRITICAL **: 18:10:01.448: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:9724): GLib-GObject-WARNING **: 18:10:01.448: invalid (NULL) pointer instance

(process:9724): GLib-GObject-CRITICAL **: 18:10:01.448: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:9726): GLib-GObject-WARNING **: 18:10:01.458: invalid (NULL) pointer instance

(process:9726): GLib-GObject-CRITICAL **: 18:10:01.458: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:9726): GLib-GObject-WARNING **: 18:10:01.458: invalid (NULL) pointer instance

(process:9726): GLib-GObject-CRITICAL **: 18:10:01.458: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
tc@box:/opt/anydesk-5.0.0$
(process:9732): GLib-GObject-WARNING **: 18:10:01.467: invalid (NULL) pointer instance

(process:9732): GLib-GObject-CRITICAL **: 18:10:01.467: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:9732): GLib-GObject-WARNING **: 18:10:01.467: invalid (NULL) pointer instance

(process:9732): GLib-GObject-CRITICAL **: 18:10:01.467: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:9730): GLib-GObject-WARNING **: 18:10:01.468: invalid (NULL) pointer instance

(process:9730): GLib-GObject-CRITICAL **: 18:10:01.468: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:9730): GLib-GObject-WARNING **: 18:10:01.468: invalid (NULL) pointer instance

(process:9730): GLib-GObject-CRITICAL **: 18:10:01.468: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:9753): GLib-GObject-WARNING **: 18:10:03.493: invalid (NULL) pointer instance

(process:9753): GLib-GObject-CRITICAL **: 18:10:03.493: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:9753): GLib-GObject-WARNING **: 18:10:03.493: invalid (NULL) pointer instance

(process:9753): GLib-GObject-CRITICAL **: 18:10:03.493: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
sh: lsb_release: not found


I don't think that this is a bug  :-\
Title: Re: Anydesk
Post by: Rich on December 20, 2021, 10:51:28 AM
Hi Rabie
after unpacking i just copied the *.so files into /usr/lib: ...
Is the  gtkglext.tcz  you created still installed?
Does the  gtkglext.tcz  you created have the libraries in  /usr/local/lib/?
If the answers to those questions is yes, your extension is overriding the libraries you just copied.

Quote
And tried with other version of anydesk but still getting the error
So you changed libraries and the version of Anydesk at the same time? You should not more than one thing at
a time when trying to diagnose a problem.

I see the  double free  error did not occur this time. Was that because you used a different version of Anydesk?
Title: Re: Anydesk
Post by: Rabie on December 20, 2021, 11:33:09 AM
Hi Rich,

Quote
Is the  gtkglext.tcz  you created still installed?
No no, i uninstalled the gtkglext.tcz i created before

Quote
Does the  gtkglext.tcz  you created have the libraries in  /usr/local/lib/?
yes they were in /usr/local/lib, but i double checked that the extension is uninstalled.
and just copied the pre-compiled binaries like that.
Code: [Select]
sudo cp -a /opt/libgtkg/usr/lib/x86_64-linux-gnu/libg* /usr/lib/
Quote
So you changed libraries and the version of Anydesk at the same time? You should not more than one thing at
a time when trying to diagnose a problem.

no i didn't do it at the same time, i copied the new binary and tried it with the same version and got the same error and then i tried the other version of anydesk

Quote
I see the  double free  error did not occur this time. Was that because you used a different version of Anydesk?
no this comes when i start anydesk as root, what i shouldn't do!



here exactly what i did:

Code: [Select]
tc@box:/opt$ sudo find / -name "libgdkglext-x11*"
/opt/libgtkg/usr/lib/x86_64-linux-gnu/libgdkglext-x11-1.0.so.0.0.0    #there is just the new libs in the system
/opt/libgtkg/usr/lib/x86_64-linux-gnu/libgdkglext-x11-1.0.so.0
tc@box:/opt$
tc@box:/opt$
tc@box:/opt$
tc@box:/opt$
tc@box:/opt$
tc@box:/opt$ sudo cp -a /opt/libgtkg/usr/lib/x86_64-linux-gnu/libg* /usr/lib/
tc@box:/opt$ cd anydesk-6.0.1/
tc@box:/opt/anydesk-6.0.1$
tc@box:/opt/anydesk-6.0.1$ ./anydesk

(process:10066): GLib-GObject-WARNING **: 18:54:01.839: invalid (NULL) pointer instance

(process:10066): GLib-GObject-CRITICAL **: 18:54:01.839: g_signal_connect_data: assertion 'G_TYPE_CHECKNSTANCE (instance)' failed

(process:10066): GLib-GObject-WARNING **: 18:54:01.839: invalid (NULL) pointer instance

(process:10066): GLib-GObject-CRITICAL **: 18:54:01.839: g_signal_connect_data: assertion 'G_TYPE_CHECKNSTANCE (instance)' failed

(process:10070): GLib-GObject-WARNING **: 18:54:01.858: invalid (NULL) pointer instance

(process:10070): GLib-GObject-CRITICAL **: 18:54:01.858: g_signal_connect_data: assertion 'G_TYPE_CHECKNSTANCE (instance)' failed

(process:10070): GLib-GObject-WARNING **: 18:54:01.858: invalid (NULL) pointer instance

(process:10070): GLib-GObject-CRITICAL **: 18:54:01.858: g_signal_connect_data: assertion 'G_TYPE_CHECKNSTANCE (instance)' failed
sh: lsb_release: not found
free(): invalid next size (fast)
tc@box:/opt/anydesk-6.0.1$
tc@box:/opt/anydesk-6.0.1$
tc@box:/opt/anydesk-6.0.1$
tc@box:/opt/anydesk-6.0.1$
tc@box:/opt$ cd anydesk-5.0.0/
tc@box:/opt/anydesk-5.0.0$
tc@box:/opt/anydesk-5.0.0$
tc@box:/opt/anydesk-5.0.0$ ./anydesk

(process:9665): GLib-GObject-WARNING **: 18:53:24.824: invalid (NULL) pointer instance

(process:9665): GLib-GObject-CRITICAL **: 18:53:24.824: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

(process:9665): GLib-GObject-WARNING **: 18:53:24.824: invalid (NULL) pointer instance

(process:9665): GLib-GObject-CRITICAL **: 18:53:24.824: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

(process:9667): GLib-GObject-WARNING **: 18:53:24.834: invalid (NULL) pointer instance

(process:9667): GLib-GObject-CRITICAL **: 18:53:24.834: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

(process:9667): GLib-GObject-WARNING **: 18:53:24.834: invalid (NULL) pointer instance

(process:9667): GLib-GObject-CRITICAL **: 18:53:24.834: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

(process:9671): GLib-GObject-WARNING **: 18:53:24.846: invalid (NULL) pointer instance

(process:9671): GLib-GObject-CRITICAL **: 18:53:24.847: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

(process:9671): GLib-GObject-WARNING **: 18:53:24.847: invalid (NULL) pointer instance

(process:9671): GLib-GObject-CRITICAL **: 18:53:24.847: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed
tc@box:/opt/anydesk-5.0.0$
(process:9677): GLib-GObject-WARNING **: 18:53:24.861: invalid (NULL) pointer instance

(process:9677): GLib-GObject-CRITICAL **: 18:53:24.861: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

(process:9677): GLib-GObject-WARNING **: 18:53:24.861: invalid (NULL) pointer instance

(process:9677): GLib-GObject-CRITICAL **: 18:53:24.861: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

(process:9679): GLib-GObject-WARNING **: 18:53:24.870: invalid (NULL) pointer instance

(process:9679): GLib-GObject-CRITICAL **: 18:53:24.870: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

(process:9679): GLib-GObject-WARNING **: 18:53:24.870: invalid (NULL) pointer instance

(process:9679): GLib-GObject-CRITICAL **: 18:53:24.870: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed
sh: lsb_release: not found






Title: Re: Anydesk
Post by: Rich on December 20, 2021, 02:26:20 PM
Hi Rabie
It's a long shot, but try this anyway:
Code: [Select]
sudo cp -a /opt/libgtkg/usr/lib/x86_64-linux-gnu/libg* /usr/local/lib/
sudo ldconfig

Then try the 2 versions of  Anydesk  again.

I did notice a difference in the error messages between the 2 versions.
anydesk-6.0.1:
Code: [Select]
g_signal_connect_data: assertion 'G_TYPE_CHECKNSTANCE (instance)' failedanydesk-5.0.0:
Code: [Select]
g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed
Title: Re: Anydesk
Post by: Rabie on December 20, 2021, 02:48:44 PM
Hi Rich,
it didn't work
Code: [Select]
tc@box:/opt/anydesk-5.0.0$ ./anydesk

(process:14259): GLib-GObject-WARNING **: 22:36:39.888: invalid (NULL) pointer instance

(process:14259): GLib-GObject-CRITICAL **: 22:36:39.888: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:14259): GLib-GObject-WARNING **: 22:36:39.888: invalid (NULL) pointer instance

(process:14259): GLib-GObject-CRITICAL **: 22:36:39.888: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:14261): GLib-GObject-WARNING **: 22:36:39.897: invalid (NULL) pointer instance

(process:14261): GLib-GObject-CRITICAL **: 22:36:39.897: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:14261): GLib-GObject-WARNING **: 22:36:39.897: invalid (NULL) pointer instance

(process:14261): GLib-GObject-CRITICAL **: 22:36:39.897: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:14265): GLib-GObject-WARNING **: 22:36:39.913: invalid (NULL) pointer instance

(process:14265): GLib-GObject-CRITICAL **: 22:36:39.913: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:14265): GLib-GObject-WARNING **: 22:36:39.913: invalid (NULL) pointer instance

(process:14265): GLib-GObject-CRITICAL **: 22:36:39.914: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
tc@box:/opt/anydesk-5.0.0$
(process:14270): GLib-GObject-WARNING **: 22:36:39.923: invalid (NULL) pointer instance

(process:14270): GLib-GObject-CRITICAL **: 22:36:39.923: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:14270): GLib-GObject-WARNING **: 22:36:39.923: invalid (NULL) pointer instance

(process:14270): GLib-GObject-CRITICAL **: 22:36:39.923: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:14272): GLib-GObject-WARNING **: 22:36:39.932: invalid (NULL) pointer instance

(process:14272): GLib-GObject-CRITICAL **: 22:36:39.932: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:14272): GLib-GObject-WARNING **: 22:36:39.932: invalid (NULL) pointer instance

(process:14272): GLib-GObject-CRITICAL **: 22:36:39.932: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
sh: lsb_release: not found

Code: [Select]
tc@box:/opt/anydesk-6.0.1$ ./anydesk

(process:15878): GLib-GObject-WARNING **: 22:38:20.415: invalid (NULL) pointer instance

(process:15878): GLib-GObject-CRITICAL **: 22:38:20.415: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:15878): GLib-GObject-WARNING **: 22:38:20.415: invalid (NULL) pointer instance

(process:15878): GLib-GObject-CRITICAL **: 22:38:20.415: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:15882): GLib-GObject-WARNING **: 22:38:20.433: invalid (NULL) pointer instance

(process:15882): GLib-GObject-CRITICAL **: 22:38:20.433: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:15882): GLib-GObject-WARNING **: 22:38:20.433: invalid (NULL) pointer instance

(process:15882): GLib-GObject-CRITICAL **: 22:38:20.433: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
tc@box:/opt/anydesk-6.0.1$
(process:15886): GLib-GObject-WARNING **: 22:38:20.526: invalid (NULL) pointer instance

(process:15886): GLib-GObject-CRITICAL **: 22:38:20.526: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:15886): GLib-GObject-WARNING **: 22:38:20.526: invalid (NULL) pointer instance

(process:15886): GLib-GObject-CRITICAL **: 22:38:20.526: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
sh: lsb_release: not found
double free or corruption (fasttop)

this time i got the error "double free or corruption (fasttop)" without running it as root


although i noticed two things:
- when running anydesk 6.0.1, there are less warnings but same error "sh: lsb_release: not found"
- everytime i run anydesk it makes this diractory in /home/tc/.anydesk (See Attachments)

Edit:
i think those two lines from the log might be our start:
Code: [Select]
error 2021-12-20 22:55:45.001         ad  32682  32682          unix_app.dbus.logind_manager - Error instanciating Logind Manager: Could not connect: Datei oder Verzeichnis nicht gefunden
  error 2021-12-20 22:55:45.001         ad  32682  32682              unix_app.dbus.consolekit - Error instanciating ConsoleKit Manager: Could not connect: Datei oder Verzeichnis nicht gefunden
Title: Re: Anydesk
Post by: Rich on December 20, 2021, 05:03:48 PM
Hi Rabie
Install  dbus.tcz  and start it like this:
Code: [Select]
sudo /usr/local/etc/init.d/dbus start
See if that makes those  dbus  errors go away.
Title: Re: Anydesk
Post by: Juanito on December 21, 2021, 01:42:46 AM
Those dbus messages indicate that it's looking for systemd - not present in tinycore.
Title: Re: Anydesk
Post by: Rabie on December 21, 2021, 04:39:46 AM
Hi Rabie
Install  dbus.tcz  and start it like this:
Code: [Select]
sudo /usr /local/ etc/ init.d/ dbus start
See if that makes those  dbus  errors go away.


that solved all warning and old errors

now i start anydesk and gives a new error
Code: [Select]
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                         impl_selector - using sse2
 * * * * * * * * * * * * * * * * * *
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                                  main - * AnyDesk Linux Startup *
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                                  main - * Version 6.0.1 (linux_release_6.0.1 ce4f5badb2839d0e36a167da46f34596f2e89093)
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                                  main - * Build 20200824175011
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                                  main - * Prefix ad
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                                  main - * Copyright (C) 2017 philandro Software GmbH *
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                                  main -
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                                  main - Distribution Info: TinyCoreLinux 10.1
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                                  main - Found GLib Version: 2.60.
warning 2021-12-21 14:39:05.584         ad   main  15665  15665                   fiber.ipc_namespace - Local namespace without service.
   info 2021-12-21 14:39:05.584         ad   main  15665  15665                   fiber.ipc_namespace - Global: no
   info 2021-12-21 14:39:05.584         ad   main  15665  15665                       app.common_path - user_data_dir = /root/.anydesk, logged_in_user_data_dir = /root/.anydesk, current_home = /root

  error 2021-12-21 14:39:05.584         ad   main  15665  15665                       app.common_path - Could not access AnyDesk user config directory (13) (/root/.anydesk)

it says: it cant access the dir /root/.anydesk, but i looked and it does not exist.

so when i start anydesk as root, it makes the dir /root/.anydesk and i get the GUI error "DO not start anydesk as root, this might lead to unexpected behavior" and "double free or corruption (fasttop)"
and then i start anydesk as a normal user cause the diractory /root/.anydesk exist now and i get a new error:

Code: [Select]
info 2021-12-21 14:47:05.388         ad   main  23421  23421                         impl_selector - using sse2
 * * * * * * * * * * * * * * * * * *
   info 2021-12-21 14:47:05.388         ad   main  23421  23421                                  main - * AnyDesk Linux Startup *
   info 2021-12-21 14:47:05.388         ad   main  23421  23421                                  main - * Version 6.0.1 (linux_release_6.0.1 ce4f5badb2839d0e36a167da46f34596f2e89093)
   info 2021-12-21 14:47:05.388         ad   main  23421  23421                                  main - * Build 20200824175011
   info 2021-12-21 14:47:05.388         ad   main  23421  23421                                  main - * Prefix ad
   info 2021-12-21 14:47:05.388         ad   main  23421  23421                                  main - * Copyright (C) 2017 philandro Software GmbH *
   info 2021-12-21 14:47:05.388         ad   main  23421  23421                                  main -
   info 2021-12-21 14:47:05.388         ad   main  23421  23421                                  main - Distribution Info: TinyCoreLinux 10.1
   info 2021-12-21 14:47:05.388         ad   main  23421  23421                                  main - Found GLib Version: 2.60.
   info 2021-12-21 14:47:05.398         ad   main  23421  23421                   fiber.ipc_namespace - Global: no
   info 2021-12-21 14:47:05.398         ad   main  23421  23421                       app.common_path - user_data_dir = /root/.anydesk, logged_in_user_data_dir = /root/.anydesk, current_home = /root

  error 2021-12-21 14:47:05.398         ad   main  23421  23421                       app.common_path - Found no place for system data.
Title: Re: Anydesk
Post by: Juanito on December 21, 2021, 04:51:26 AM
What happens if you create /home/tc/.anydesk and run anydesk as a normal user?
Title: Re: Anydesk
Post by: Rabie on December 21, 2021, 06:00:56 AM
What happens if you create /home/tc/.anydesk and run anydesk as a normal user?

I Don't need to create it, it creat its self, when i run anydesk as normal user and the log file is in there, that i already shared
Title: Re: Anydesk
Post by: Rich on December 21, 2021, 06:12:12 AM
Hi Juanito
Those dbus messages indicate that it's looking for systemd - not present in tinycore.
The Anydesk tarball provides both systemd and init.d startup files.
Title: Re: Anydesk
Post by: Rich on December 21, 2021, 06:16:58 AM
Hi Rabie
Delete the   /home/tc/.anydesk  and  /root/.anydesk  files. If there's one somewhere under your  /opt  directory, delete
that too. Then try starting as a regular user.
Title: Re: Anydesk
Post by: Rabie on December 21, 2021, 07:09:55 AM
Hi Rabie
Delete the   /home/tc/.anydesk  and  /root/.anydesk  files. If there's one somewhere under your  /opt  directory, delete
that too. Then try starting as a regular user.

i did all that, keep getting this, no matter if i delete the diractory or kept it, with every start it create itself and the same error in there "anydesk.trace"
Code: [Select]
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                         impl_selector - using avx2
 * * * * * * * * * * * * * * * * * *
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                                  main - * AnyDesk Linux Startup *
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                                  main - * Version 6.0.1 (linux_release_6.0.1 ce4f5badb2839d0e36a167da46f34596f2e89093)
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                                  main - * Build 20200824175011
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                                  main - * Prefix ad
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                                  main - * Copyright (C) 2017 philandro Software GmbH *
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                                  main -
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                                  main - Distribution Info: TinyCoreLinux 10.1
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                                  main - Found GLib Version: 2.60.
warning 2021-12-21 15:06:14.106         ad   main  11461  11461                   fiber.ipc_namespace - Local namespace without service.
   info 2021-12-21 15:06:14.106         ad   main  11461  11461                   fiber.ipc_namespace - Global: no
   info 2021-12-21 15:06:14.106         ad   main  11461  11461                       app.common_path - user_data_dir = /root/.anydesk, logged_in_user_data_dir = /root/.anydesk, current_home = /root

  error 2021-12-21 15:06:14.106         ad   main  11461  11461                       app.common_path - Could not access AnyDesk user config directory (13) (/root/.anydesk)
Title: Re: Anydesk
Post by: Rabie on December 21, 2021, 07:25:59 AM
i tried to copy the directory /home/tc/.anydesk to /root/.anydesk so it can access it and then i got just that:
Code: [Select]
tc@box:/opt/anydesk-6.0.1$ ./anydesk
tc@box:/opt/anydesk-6.0.1$ sh: lsb_release: not found

that what it loged: (See Attachment)


Title: Re: Anydesk
Post by: Rabie on December 21, 2021, 07:39:06 AM
i tried to copy the directory /home/tc/.anydesk to /root/.anydesk so it can access it and then i got just that:
Code: [Select]
tc@box:/opt/anydesk-6.0.1$ ./anydesk
tc@box:/opt/anydesk-6.0.1$ sh: lsb_release: not found

that what it loged: (See Attachment)

edit:

i saw that it couldn't open Display so i did the export:
Code: [Select]
export DISPLAY=:0
and then i got :

Code: [Select]
tc@box:/opt/anydesk-6.0.1$ ./anydesk
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error
sh: lsb_release: not found
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error

(anydesk:28782): GLib-GObject-CRITICAL **: 15:34:46.633: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(anydesk:28782): GLib-GObject-CRITICAL **: 15:34:46.635: g_object_set: assertion 'G_IS_OBJECT (object)' failed
double free or corruption (fasttop)
Title: Re: Anydesk
Post by: Rich on December 21, 2021, 07:48:30 AM
Hi Rabie
Please post the contents of  /home/tc/.gtkrc-2.0  and  /home/tc/.anydesk.
Title: Re: Anydesk
Post by: Rabie on December 21, 2021, 08:06:38 AM
Hi Rabie
Please post the contents of  /home/tc/.gtkrc-2.0  and  /home/tc/.anydesk.

i just wanted to do it ;D

Code: [Select]
tc@box:~$ nano ~/.gtkrc-2.0
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
gtk-theme-name="Raleigh"
gtk-icon-theme-name="nuoveXT2"
gtk-font-name="Sans 10"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
include .gtkrc-2.0.mine

Code: [Select]
ls -al /home/tc/.anydesk/
total 100
drwxr-sr-x    2 tc       staff           80 Dec 21 18:03 ./
drwxr-s---   12 tc       staff          520 Dec 21 18:03 ../
-rw-r--r--    1 tc       staff            0 Dec 21 18:03 .anydesk.trace
-rw-rw-rw-    1 tc       staff        99387 Dec 21 18:04 anydesk.trace

Title: Re: Anydesk
Post by: Rich on December 21, 2021, 08:24:48 AM
Hi Rabie
Oh, I thought  /home/tc/.anydesk  was a config file, not a directory.

Is there a  .gtkrc-2.0.mine  file whose contents you could post?
Title: Re: Anydesk
Post by: Rabie on December 21, 2021, 08:30:03 AM
Hi Rabie
Oh, I thought  /home/tc/.anydesk  was a config file, not a directory.

Is there a  .gtkrc-2.0.mine  file whose contents you could post?

i already search for it there is unfortunately no such a file
Code: [Select]
tc@box:~$sudo find / -name ".gtkrc-2.0.mine"
tc@box:~$
Title: Re: Anydesk
Post by: Rich on December 21, 2021, 08:54:04 AM
Hi Rabie
Change:
Code: [Select]
include .gtkrc-2.0.mineto:
Code: [Select]
#include .gtkrc-2.0.mine
Title: Re: Anydesk
Post by: Rabie on December 21, 2021, 09:04:00 AM
Hi Rabie
Change:
Code: [Select]
include .gtkrc-2.0.mineto:
Code: [Select]
#include .gtkrc-2.0.mine

the unknown scanner errors went away:

Code: [Select]
./anydesk

(anydesk:17976): GLib-GObject-CRITICAL **: 19:11:05.812: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(anydesk:17976): GLib-GObject-CRITICAL **: 19:11:05.817: g_object_set: assertion 'G_IS_OBJECT (object)' failed
double free or corruption (fasttop)
Title: Re: Anydesk
Post by: Rich on December 22, 2021, 07:44:50 PM
Hi Rabie
Personally, I suspect there's a bug in the program.

What happens if you start it like this:
Code: [Select]
MALLOC_CHECK_=0 ./anydesk
Title: Re: Anydesk
Post by: Rabie on December 23, 2021, 05:22:53 AM
Hi Rabie
Personally, I suspect there's a bug in the program.

What happens if you start it like this:
Code: [Select]
MALLOC_CHECK_=0 ./anydesk

Same error, but here what i found out until yet and thats why i don't think that its a bug:

i took the same installation file "anydesk-6.0.1-amd64.tar.gz" and installed it on an Ubuntu Machine and it works perfectly.

Then i looked into the File "anydesk.trace" on the Ubuntu machine:

Code: [Select]
   info 2021-12-23 12:59:50.823         ad   main   3356   3356                         impl_selector - using avx2
 * * * * * * * * * * * * * * * * * *
   info 2021-12-23 12:59:50.823         ad   main   3356   3356                                  main - * AnyDesk Linux Startup *
   info 2021-12-23 12:59:50.823         ad   main   3356   3356                                  main - * Version 6.0.1 (linux_release_6.0.1 ce4f5badb2839d0e36a167da46f34596f2e89093)
   info 2021-12-23 12:59:50.823         ad   main   3356   3356                                  main - * Build 20200824175011
   info 2021-12-23 12:59:50.823         ad   main   3356   3356                                  main - * Prefix ad
   info 2021-12-23 12:59:50.823         ad   main   3356   3356                                  main - * Copyright (C) 2017 philandro Software GmbH *
   info 2021-12-23 12:59:50.823         ad   main   3356   3356                                  main -
   info 2021-12-23 12:59:50.823         ad   main   3356   3356                                  main - Distribution Info: Ubuntu 20.04.3 LTS
   info 2021-12-23 12:59:50.823         ad   main   3356   3356                                  main - Found GLib Version: 2.64.
warning 2021-12-23 12:59:50.834         ad   main   3356   3356                   fiber.ipc_namespace - Local namespace without service.
   info 2021-12-23 12:59:50.834         ad   main   3356   3356                   fiber.ipc_namespace - Global: no
   info 2021-12-23 12:59:50.834         ad   main   3356   3356                       app.common_path - user_data_dir = /home/user/.anydesk, logged_in_user_data_dir = /home/user/.anydesk, current_home = /home/user

   info 2021-12-23 12:59:50.834         ad   main   3356   3356                       app.common_path - initialized user = /home/user/.anydesk, system = /home/user/.anydesk
   info 2021-12-23 12:59:50.840         ad   main   3359   3359                         impl_selector - using avx2
 * * * * * * * * * * * * * * * * * *
   info 2021-12-23 12:59:50.840         ad   main   3359   3359                                  main - * AnyDesk Linux Startup *
   info 2021-12-23 12:59:50.840         ad   main   3359   3359                                  main - * Version 6.0.1 (linux_release_6.0.1 ce4f5badb2839d0e36a167da46f34596f2e89093)
   info 2021-12-23 12:59:50.840         ad   main   3359   3359                                  main - * Build 20200824175011
   info 2021-12-23 12:59:50.840         ad   main   3359   3359                                  main - * Prefix ad
   info 2021-12-23 12:59:50.840         ad   main   3359   3359                                  main - * Copyright (C) 2017 philandro Software GmbH *
   info 2021-12-23 12:59:50.840         ad   main   3359   3359                                  main -
   info 2021-12-23 12:59:50.840         ad   main   3359   3359                                  main - Distribution Info: Ubuntu 20.04.3 LTS
   info 2021-12-23 12:59:50.840         ad   main   3359   3359                                  main - Found GLib Version: 2.64.
warning 2021-12-23 12:59:50.860         ad   main   3359   3359                   fiber.ipc_namespace - Local namespace without service.
   info 2021-12-23 12:59:50.860         ad   main   3359   3359                   fiber.ipc_namespace - Global: no
   info 2021-12-23 12:59:50.863         ad   main   3359   3359                       app.common_path - user_data_dir = /home/user/.anydesk, logged_in_user_data_dir = /home/user/.anydesk, current_home = /home/user
   info 2021-12-23 12:59:50.834         ad   main   3356   3356                       app.common_path - initialized user = /home/user/.anydesk, system = /home/user/.anydesk
   info 2021-12-23 12:59:50.840         ad   main   3359   3359                         impl_selector - using avx2

it automaticly made the path as a normal user (See last line in the log)

on Tinycore its trying to make the common Path to "root" that doese not exist:
Code: [Select]
   info 2021-12-23 13:07:43.081         ad   main  32470  32470                         impl_selector - using avx2
 * * * * * * * * * * * * * * * * * *
   info 2021-12-23 13:07:43.081         ad   main  32470  32470                                  main - * AnyDesk Linux Startup *
   info 2021-12-23 13:07:43.081         ad   main  32470  32470                                  main - * Version 6.0.1 (linux_release_6.0.1 ce4f5badb2839d0e36a167da46f34596f2e89093)
   info 2021-12-23 13:07:43.081         ad   main  32470  32470                                  main - * Build 20200824175011
   info 2021-12-23 13:07:43.081         ad   main  32470  32470                                  main - * Prefix ad
   info 2021-12-23 13:07:43.081         ad   main  32470  32470                                  main - * Copyright (C) 2017 philandro Software GmbH *
   info 2021-12-23 13:07:43.081         ad   main  32470  32470                                  main -
   info 2021-12-23 13:07:43.081         ad   main  32470  32470                                  main - Distribution Info: TinyCoreLinux 10.1
   info 2021-12-23 13:07:43.081         ad   main  32470  32470                                  main - Found GLib Version: 2.60.
warning 2021-12-23 13:07:43.091         ad   main  32470  32470                   fiber.ipc_namespace - Local namespace without service.
   info 2021-12-23 13:07:43.091         ad   main  32470  32470                   fiber.ipc_namespace - Global: no
   info 2021-12-23 13:07:43.091         ad   main  32470  32470                       app.common_path - user_data_dir = /root/.anydesk, logged_in_user_data_dir = /root/.anydesk, current_home = /root

  error 2021-12-23 13:07:43.091         ad   main  32470  32470                       app.common_path - Could not access AnyDesk user config directory (13) (/root/.anydesk)

so its definitly not a bug from the Program.
but i can't figure this out, how do i make it the choose the right path  :-\  :-\




Title: Re: Anydesk
Post by: Juanito on December 23, 2021, 05:46:50 AM
Have you tried creating /home/user/.anydesk on tinycore?

Alternatively, you could set the permissions for /root/.anydesk to root:staff
Title: Re: Anydesk
Post by: Rich on December 23, 2021, 07:56:07 AM
Hi Hi Rabie
It appears Anydesk is not using the  USER  environmental variable to determine  user_data_dir  and as a result
is defaulting to root for some reason.

See if running these export commands helps any:
Code: [Select]
export XDG_CONFIG_HOME=/home/$USER/.config
export XDG_SESSION_CLASS=user

From the Ubuntu anydesk.trace:
Quote
app.common_path - user_data_dir = /home/user/.anydesk, logged_in_user_data_dir = /home/user/.anydesk, current_home = /home/user
Am I correct that the user name you used here is  user ?

On the Ubuntu machine, run this command and attach the  env.txt  file to your next post:
Code: [Select]
env > env.txt
Title: Re: Anydesk
Post by: Juanito on December 23, 2021, 08:15:05 AM
You could also load the xdg-user-dirs extension and run xdg-user-dirs-update.
Title: Re: Anydesk
Post by: Rabie on December 23, 2021, 09:07:06 AM
Quote
Have you tried creating /home/user/.anydesk on tinycore?
no, but now i did, it didn't help. also i think that doesn't make sense, because anydesk should look at the actual user directory

Quote
Alternatively, you could set the permissions for /root/.anydesk to root:staff
this directory doesn't exist

Quote
It appears Anydesk is not using the  USER  environmental variable to determine  user_data_dir  and as a result
is defaulting to root for some reason.
i think this is the Problem..

Quote
See if running these export commands helps any:
Code: [Select]
export XDG_CONFIG_HOME=/home/$USER/.config
export XDG_SESSION_CLASS=user
keep getting the same error

Quote
Am I correct that the user name you used here is  user ?

Yes that is right

Quote
On the Ubuntu machine, run this command and attach the  env.txt  file to your next post:
See Attachment
i also tried to set those like in the Ubuntu Machine:
Code: [Select]
export XDG_SESSION_TYPE=tty
export XDG_SESSION_ID=4
Quote
You could also load the xdg-user-dirs extension and run xdg-user-dirs-update.

i just did that, the path won't change  :-\
Title: Re: Anydesk
Post by: GNUser on December 23, 2021, 08:07:27 PM
Assuming your username on TCL is tc, why not just copy the config directory from your Ubuntu machine (/home/user/.anydesk), which we know is working, to TCL (/home/tc/.anydesk)?

Then do this on your TCL machine:
Code: [Select]
sudo ln -sf /home/tc/.anydesk /root/.anydesk
Title: Re: Anydesk
Post by: Rich on December 23, 2021, 09:16:33 PM
Hi Rabie
...
Quote
Alternatively, you could set the permissions for /root/.anydesk to root:staff
this directory doesn't exist ...
Code: [Select]
sudo mkdir /root/.anydesk
sudo chown root:staff /root/.anydesk
Title: Re: Anydesk
Post by: Rabie on December 24, 2021, 02:56:12 AM
Assuming your username on TCL is tc, why not just copy the config directory from your Ubuntu machine (/home/user/.anydesk), which we know is working, to TCL (/home/tc/.anydesk)?

Then do this on your TCL machine:
Code: [Select]
sudo ln -sf /home/tc/.anydesk /root/.anydesk


Hi GNUser,

i already tried that:

Code: [Select]
tc@box:/opt/anydesk-6.0.1$ ./anydesk
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error
sh: lsb_release: not found
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error

(anydesk:13631): GLib-GObject-CRITICAL **: 10:47:54.366: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(anydesk:13631): GLib-GObject-CRITICAL **: 10:47:54.368: g_object_set: assertion 'G_IS_OBJECT (object)' failed

Code: [Select]
nano /home/tc/.gtkrc-2.0
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
gtk-theme-name="Raleigh"
gtk-icon-theme-name="nuoveXT2"
gtk-font-name="Sans 10"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
include .gtkrc-2.0.mine
even if i comment the last line, just the Unknown scanner will go away but anydesk it doesn't start
But at least anydesk doesn't say anymore, that it clouldn't access the /root/.anydesk dir and try to start
 
Title: Re: Anydesk
Post by: Rabie on December 24, 2021, 03:04:13 AM
Hi Rabie
...
Quote
Alternatively, you could set the permissions for /root/.anydesk to root:staff
this directory doesn't exist ...
Code: [Select]
sudo mkdir /root/.anydesk
sudo chown root:staff /root/.anydesk

hi Rich,
if i make the dir myself, i get this error

Code: [Select]
info 2021-12-24 11:02:39.438         ad   main  26146  26146                       app.common_path - user_data_dir = /root/.anydesk, logged_in_user_data_dir = /root/.anydesk, current_home = /root

  error 2021-12-24 11:02:39.438         ad   main  26146  26146                       app.common_path - Found no place for system data.
Title: Re: Anydesk
Post by: Rich on December 24, 2021, 07:40:09 AM
Hi Rabie
... this time i got the error "double free or corruption (fasttop)" without running it as root ...
I just realized, you're still running as root. The anydesk.trace file you posted on December 20 shows this:
Code: [Select]
   info 2021-12-20 22:38:20.424         ad   main  15880  15880                       app.common_path - user_data_dir = /home/tc/.anydesk, logged_in_user_data_dir = /home/tc/.anydesk, current_home = /home/tc

   info 2021-12-20 22:38:20.424         ad   main  15880  15880                       app.common_path - initialized user = /home/tc/.anydesk, system = /home/tc/.anydesk
   info 2021-12-20 22:38:20.424         ad   main  15880  15880             app.named_process_starter - Spawning new process with: UID: 1001, DPY: , ID: , SEAT: 38736144
See where it says  UID: 1001 , that is the ID for user  tc.  The other trace files I looked at show UID as zero, which
belongs to user  root.

This is from the most recent trace file:
Code: [Select]
   info 2021-12-24 10:49:55.980         ad   main  15350  15350                       app.common_path - user_data_dir = /root/.anydesk, logged_in_user_data_dir = /root/.anydesk, current_home = /root

   info 2021-12-24 10:49:55.980         ad   main  15350  15350                       app.common_path - initialized user = /root/.anydesk, system = /root/.anydesk
   info 2021-12-24 10:49:55.981         ad   main  15350  15350             app.named_process_starter - Spawning new process with: UID: 0, DPY: , ID: , SEAT: 40280672
 ----- SNIP -----
warning 2021-12-24 10:49:56.010       tray   wrk0  15353  15360        base.signal.global.shared_file - open (/var/lib/AccountsService/users/tc) failed (2): Datei oder Verzeichnis nicht gefunden
warning 2021-12-24 10:49:56.010       tray   wrk0  15353  15360                      unix_app.control - Could not update account image (File not found: /home/tc/.face.icon).
It shows it starting as root and later looking for files belonging to user tc.

On your Ubuntu system, make a copy of the  .anydesk  directory:
Code: [Select]
tar -czf anydeskDir.tar.gz .anydeskand attach  anydeskDir.tar.gz  to your next post.

Also, what does this command return:
Code: [Select]
id
Title: Re: Anydesk
Post by: Rabie on December 24, 2021, 09:01:53 AM
Hi Rich,

Quote
... this time i got the error "double free or corruption (fasttop)" without running it as root ...
I just realized, you're still running as root. The anydesk.trace file you posted on December 20 shows this:

you are very right with that, so i went back to find out what i did back then.
this is what i found out:
Quote
Hi Rabie
Install  dbus.tcz  and start it like this:
Code: [Select]
sudo /usr/local/etc/ init.d/dbus start

See if that makes those  dbus  errors go away.

i wrote this line in /opt/bootlocal  "sudo /usr/local/etc/ init.d/dbus start"
so the warnings go away, but i didn't realize, that after dbus start, anydesk is defaulting to root.

so i stoped dbus and startet anydesk again and anydesk is defaulting to /home/tc but with those errors (See Attachments):
Code: [Select]
tc@box:/opt/anydesk-6.0.1$ ./anydesk

(process:18470): GLib-GObject-WARNING **: 16:41:21.333: invalid (NULL) pointer instance

(process:18470): GLib-GObject-CRITICAL **: 16:41:21.333: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:18470): GLib-GObject-WARNING **: 16:41:21.333: invalid (NULL) pointer instance

(process:18470): GLib-GObject-CRITICAL **: 16:41:21.333: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:18474): GLib-GObject-WARNING **: 16:41:21.352: invalid (NULL) pointer instance

(process:18474): GLib-GObject-CRITICAL **: 16:41:21.352: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:18474): GLib-GObject-WARNING **: 16:41:21.352: invalid (NULL) pointer instance

(process:18474): GLib-GObject-CRITICAL **: 16:41:21.352: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error

(anydesk:18470): GLib-GObject-CRITICAL **: 16:41:21.460: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(anydesk:18470): GLib-GObject-CRITICAL **: 16:41:21.462: g_object_set: assertion 'G_IS_OBJECT (object)' failed
sh: lsb_release: not found
double free or corruption (fasttop)
maybe i should start dbus as a normal user

edit:


Code: [Select]
tc@box:/opt/anydesk-6.0.1$ /usr/ local /etc/ init.d / dbus start
tc@box:/opt/anydesk-6.0.1$
tc@box:/opt/anydesk-6.0.1$ ./anydesk
(process:23146): GLib-GObject-WARNING **: 17:20:12.929: invalid (NULL) pointer instance
(process:23146): GLib-GObject-CRITICAL **: 17:20:12.929: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(process:23146): GLib-GObject-WARNING **: 17:20:12.929: invalid (NULL) pointer instance
(process:23146): GLib-GObject-CRITICAL **: 17:20:12.929: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

Title: Re: Anydesk
Post by: Rabie on December 24, 2021, 09:09:00 AM
Quote
On your Ubuntu system, make a copy of the  .anydesk  directory:

#tar -czf anydeskDir.tar.gz .anydesk
and attach  anydeskDir.tar.gz  to your next post.

Also, what does this command return:
id

From the Ubuntu machine:
Code: [Select]
user@ubuntu:~$ id
uid=1000(user) gid=1000(user) groups=1000(user),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),120(lpadmin),131(lxd),132(sambashare)
Title: Re: Anydesk
Post by: Juanito on December 25, 2021, 06:14:14 AM
maybe i should start dbus as a normal user

When you start dbus as root, it will fallback to user tc once started.
Title: Re: Anydesk
Post by: Rich on December 25, 2021, 07:17:53 PM
Hi Rabie
I decided to see If I could get anydesk to run on Tinycore version 10 x86.
I downloaded and unpacked  anydesk-6.0.1-i386.tar.gz  which is the latest 32 bit version.

I download these missing dependencies from the Ubuntu repository:
Code: [Select]
tc@E310:~/AnyDesk$ ls -l *.deb
-rw-r--r-- 1 tc staff  75348 Dec 25 14:01 libgtkglext1_1.2.0-8_i386.deb
-rw-r--r-- 1 tc staff  43780 Dec 25 20:25 libpangox-1.0-0_0.0.2-5.1_i386.deb
-rw-r--r-- 1 tc staff  38452 Dec 25 14:35 libpolkit-gobject-1-0_0.105-20ubuntu0.18.04.5_i386.deb
-rw-r--r-- 1 tc staff 224260 Dec 25 19:26 libsystemd0_237-3ubuntu10.50_i386.deb
tc@E310:~/AnyDesk$
I unpacked and copied the libraries to  /usr/local/lib  and ran  sudo ldconfig.

My system starts  dbus  from  bootlocal.sh, and as Juanito stated, ownership reverts to user tc:
Code: [Select]
tc@E310:~/AnyDesk$ ps aux | grep system
tc        7715  0.0  0.0   1704   320 pts/9    S+   20:58   0:00 grep system
tc        8960  0.0  0.0   2376  1588 ?        Ss   Oct12   0:00 /usr/local/bin/dbus-daemon --system
tc@E310:~/AnyDesk$

It spits out a few warnings/errors, but it starts:
Code: [Select]
tc@E310:~/AnyDesk/anydesk-6.0.1-i386/anydesk-6.0.1$ ./anydesk
No UTF-8. Trying to change locale.
C.UTF-8: not available.
Locale sucessfully changed.
No UTF-8. Trying to change locale.
C.UTF-8: not available.
Locale sucessfully changed.
No UTF-8. Trying to change locale.
C.UTF-8: not available.
Locale sucessfully changed.

(anydesk:7478): Gtk-CRITICAL **: 19:53:29.190: IA__gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed

(anydesk:7478): Gtk-CRITICAL **: 19:53:29.207: IA__gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed

(anydesk:7478): Gtk-CRITICAL **: 19:53:29.229: IA__gtk_signal_connect_full: assertion 'GTK_IS_OBJECT (object)' failed

(anydesk:7478): Gtk-CRITICAL **: 19:53:29.229: IA__gtk_signal_connect_full: assertion 'GTK_IS_OBJECT (object)' failed
sh: lsb_release: not found
sh: lsb_release: not found
tc@E310:~/AnyDesk/anydesk-6.0.1-i386/anydesk-6.0.1$ double free or corruption (fasttop)
After I exit the program, the command prompt returns. 10 seconds after that, the  double free  error appears.

(http://forum.tinycorelinux.net/index.php?action=dlattach;topic=25405.0;attach=6016)

I attached a copy of the  anydesk.trace  file it created if that's of interested.

Maybe some of what I did will help in some way.
Title: Re: Anydesk
Post by: Juanito on December 26, 2021, 12:33:00 AM
If x86 starts, perhaps you need a symlink /lib64 -> /lib for x86_64?
Title: Re: Anydesk
Post by: xor on December 26, 2021, 12:59:51 AM
MultiLib ! :) :D
Title: Re: Anydesk
Post by: Rabie on December 26, 2021, 07:15:36 AM
Quote
I unpacked and copied the libraries to  /usr/local/lib  and ran  sudo ldconfig.

Hi Rich,
OMG i am going crazy, i decided to install tinycore 32x again as a fresh start and do exactly what you did.
I also downloaded the latest virsion of anydesk: anydesk-6.0.1-i386.tar.gz

I downloaded all deb from here:
http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/ubuntu/pool/
and copied them like that:

Code: [Select]
tc@box:~/anydesk-6.0.1$ sudo cp -a /opt/ubuntu_deb/libpangox/usr/lib/i386-linux-gnu/libpangox-1.0.so.0* /usr/local/lib
tc@box:~/anydesk-6.0.1$ sudo cp -a /opt/ubuntu_deb/libpolkit/usr/lib/i386-linux-gnu/libpolkit-gobject-1.so.0* /usr/local/lib
tc@box:~/anydesk-6.0.1$ sudo cp -a /opt/ubuntu_deb/libsystemd0/lib/i386-linux-gnu/libsystemd.so.0* /usr/local/lib
tc@box:~/anydesk-6.0.1$ sudo cp -a /opt/ubuntu_deb/libgtkglext/usr/lib/i386-linux-gnu/libg* /usr/local/lib
tc@box:~/anydesk-6.0.1$
tc@box:~/anydesk-6.0.1$ sudo ldconfig
ldconfig: /usr/local/lib/libpangox-1.0.so.0 is not a symlink
ldconfig: /usr/local/lib/libpolkit-gobject-1.so.0 is not a symlink
ldconfig: /usr/local/lib/libsystemd.so.0 is not a symlink
ldconfig: /usr/local/lib/libgdkglext-x11-1.0.so.0 is not a symlink
ldconfig: /usr/local/lib/libgtkglext-x11-1.0.so.0 is not a symlink
tc@box:~/anydesk-6.0.1$
tc@box:~/anydesk-6.0.1$

did you get that with ldconfig ?

Code: [Select]
tc@box:~/anydesk-6.0.1$ ./anydesk
No UTF-8. Trying to change locale.
C.UTF-8: not available.
en_US.UTF-8: not available.
Couldn't set the locale to UTF-8.
No UTF-8. Trying to change locale.
C.UTF-8: not available.
en_US.UTF-8: not available.
Couldn't set the locale to UTF-8.
No UTF-8. Trying to change locale.
C.UTF-8: not available.
en_US.UTF-8: not available.
Couldn't set the locale to UTF-8.

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.129: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.132: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.132: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.132: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.154: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.154: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.155: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.155: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): Gtk-CRITICAL **: 16:07:10.155: IA__gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.158: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.158: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.158: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.158: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): Gtk-CRITICAL **: 16:07:10.158: IA__gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.159: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.159: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.159: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.159: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.159: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.159: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.160: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.160: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.160: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.160: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.160: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.160: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.160: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.160: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.160: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.160: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): Gtk-CRITICAL **: 16:07:10.164: IA__gtk_signal_connect_full: assertion 'GTK_IS_OBJECT (object)' failed

(anydesk:8113): Gtk-CRITICAL **: 16:07:10.164: IA__gtk_signal_connect_full: assertion 'GTK_IS_OBJECT (object)' failed
sh: lsb_release: not found

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.193: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.193: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.193: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.193: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.193: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.193: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(anydesk:8113): GdkPixbuf-CRITICAL **: 16:07:10.193: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
Trace/breakpoint trap
Title: Re: Anydesk
Post by: Rich on December 26, 2021, 07:29:15 AM
Hi Rabie
I forgot to mention I use TC10. I'll update my previous post to reflect that.

... did you get that with ldconfig ? ...
Yes. That's because when the symlink from the  .deb  file got copied, it got copied as the file it was pointing to.
Instead of  libpangox-1.0.so.0* , use  lib*.so.0.*  to copy the libraries without the symlinks.  ldconfig  will recreate
the symlinks for you.
Title: Re: Anydesk
Post by: Rabie on December 26, 2021, 07:43:07 AM
Hi Rabie
I forgot to mention I use TC10. I'll update my previous post to reflect that.

... did you get that with ldconfig ? ...
Yes. That's because when the symlink from the  .deb  file got copied, it got copied as the file it was pointing to.
Instead of  libpangox-1.0.so.0* , use  lib*.so.0.*  to copy the libraries without the symlinks.  ldconfig  will recreate
the symlinks for you.

ok i installed the latest of tinycore 12x
but it won't work, i did exactly what u did
i dont know what am i missing  :'(

dbus is falling back to tc as i wanted
Title: Re: Anydesk
Post by: Rich on December 26, 2021, 08:04:04 AM
Hi Rabie
It's possible some libraries got recompiled in later versions of Tinycore and broke something.

It's also possible you are missing an extension. Although they are not all necessary, these all appear relevant:
Code: [Select]
tc@E310:~$ ls -1 /usr/local/tce.installed/* | grep -E "gtk|gdk|pix|glib"
/usr/local/tce.installed/dbus-glib
/usr/local/tce.installed/gdk-pixbuf2
/usr/local/tce.installed/glib1
/usr/local/tce.installed/glib2
/usr/local/tce.installed/glibc_add_lib
/usr/local/tce.installed/glibc_apps
/usr/local/tce.installed/glibc_gconv
/usr/local/tce.installed/glibmm
/usr/local/tce.installed/gtk1
/usr/local/tce.installed/gtk2
/usr/local/tce.installed/gtk3
/usr/local/tce.installed/gtkmm
/usr/local/tce.installed/pixman
tc@E310:~$

If you want to try this, you may have to try under TC10 x86.
Title: Re: Anydesk
Post by: Rich on December 26, 2021, 08:20:16 AM
Hi Rabie
I also see  SSL/TLS  errors:
Code: [Select]
  error 2021-12-26 16:14:26.802  local_svc   main   8186   8186                  anynet.ssl_transform - SSL error:14094415:lib(20):func(148):reason(1045)
  error 2021-12-26 16:14:26.802  local_svc   main   8186   8186    9                        handshake - TLS handshake failed (ssl_14094415).
Bothe  gnutls  and  openssl  have been updated since TC10.
Title: Re: Anydesk
Post by: Rabie on December 26, 2021, 08:55:12 AM
Hi Rabie
It's possible some libraries got recompiled in later versions of Tinycore and broke something.

It's also possible you are missing an extension. Although they are not all necessary, these all appear relevant:
Code: [Select]
tc@E310:~$ ls -1 /usr/local/tce.installed/* | grep -E "gtk|gdk|pix|glib"
/usr/local/tce.installed/dbus-glib
/usr/local/tce.installed/gdk-pixbuf2
/usr/local/tce.installed/glib1
/usr/local/tce.installed/glib2
/usr/local/tce.installed/glibc_add_lib
/usr/local/tce.installed/glibc_apps
/usr/local/tce.installed/glibc_gconv
/usr/local/tce.installed/glibmm
/usr/local/tce.installed/gtk1
/usr/local/tce.installed/gtk2
/usr/local/tce.installed/gtk3
/usr/local/tce.installed/gtkmm
/usr/local/tce.installed/pixman
tc@E310:~$

If you want to try this, you may have to try under TC10 x86.

Hi Rich, yes man that did it with version 10x

Quote
Hi Rabie
I also see  SSL/TLS  errors:
Code: [Select]
  error 2021-12-26 16:14:26.802  local_svc   main   8186   8186                  anynet.ssl_transform - SSL error:14094415:lib(20):func(148):reason(1045)
  error 2021-12-26 16:14:26.802  local_svc   main   8186   8186    9                        handshake - TLS handshake failed (ssl_14094415).
Bothe  gnutls  and  openssl  have been updated since TC10.

even when i installed openssl and gnutls, i am still getting SSL/TLS errors and anydesk can't make the connection to the Server (See Attachments)
No ID
Code: [Select]
  error 2021-12-26 17:52:04.284  local_svc   main   5755   5755                  anynet.ssl_transform - SSL error:14094415:lib(20):func(148):reason(1045)
  error 2021-12-26 17:52:04.284  local_svc   main   5755   5755    9                        handshake - TLS handshake failed (ssl_14094415).

Title: Re: Anydesk
Post by: Rich on December 26, 2021, 10:21:39 AM
Hi Rabie
I have  gnutls3.6, openssl, and openssl-1.1.1  installed.

In your attached image, the text field under  This Desk  has a value of zero. Is that what it defaulted to or did you
change it to zero to hide the  Client-ID?
Title: Re: Anydesk
Post by: Rabie on December 26, 2021, 11:33:09 AM
Hi Rabie
I have  gnutls3.6, openssl, and openssl-1.1.1  installed.

In your attached image, the text field under  This Desk  has a value of zero. Is that what it defaulted to or did you
change it to zero to hide the  Client-ID?

no i didn't change anything, its zero because of the TLS Problem, it can't connect to the anydesk Server i think.

i had openssl, and openssl-1.1.1 and just installed gnutls3.6 and retested it:
Code: [Select]
tc@box:~/anydesk-6.0.1$ ls -1 /usr/local/tce.installed /* | gre p -E "gtk|gdk|pix|glib|gnutls|openssl"
/usr/local/tce.installed/dbus-glib
/usr/local/tce.installed/gdk-pixbuf2
/usr/local/tce.installed/gdk-pixbuf2-dev
/usr/local/tce.installed/glib1
/usr/local/tce.installed/glib2
/usr/local/tce.installed/glib2-dev
/usr/local/tce.installed/glib2-python
/usr/local/tce.installed/glibc_add_lib
/usr/local/tce.installed/glibc_apps
/usr/local/tce.installed/glibc_gconv
/usr/local/tce.installed/glibmm
/usr/local/tce.installed/gnutls
/usr/local/tce.installed/gnutls3.6
/usr/local/tce.installed/gtk1
/usr/local/tce.installed/gtk2
/usr/local/tce.installed/gtk2-dev
/usr/local/tce.installed/gtk3
/usr/local/tce.installed/gtkmm
/usr/local/tce.installed/openssl
/usr/local/tce.installed/openssl-1.1.1
/usr/local/tce.installed/openssl-1.1.1-dev
/usr/local/tce.installed/openssl-dev
/usr/local/tce.installed/pixman
/usr/local/tce.installed/pixman-dev

same error in anydesk.trace:
Code: [Select]
error 2021-12-26 20:27:24.882  local_svc   main   6013   6013                  anynet.ssl_transform - SSL error:14094415:lib(20):func(148):reason(1045)
 error 2021-12-26 20:27:24.882  local_svc   main   6013   6013    9                        handshake - TLS handshake failed (ssl_14094415)

Edit:
anydesk started even on the 12x86 Version after i installed the above listed extensions but also with the same TLS error
Title: Re: Anydesk
Post by: Rabie on December 26, 2021, 01:08:44 PM
Hi Rich,

it worked  :D  :D  :D

i didn't do anything alse but wait! and suddenly got the Client ID

thank you very very much for your help, i am so happy  :D


You may have an idea how to get it to work on 64x Version, its not necessary but it would save me so much time, so i don't have to install my system over
Title: Re: Anydesk
Post by: Rich on December 26, 2021, 02:47:09 PM
Hi Rabie
A couple of notes:
When anydesk starts up, it does not overwrite  anydesk.trace , it appends to it, so the previous results are still there.
When I was trying to get anydesk to run, I deleted  ~/.anydesk  between each attempt to start with a clean slate.

I just fired up an old laptop and it has TC11 x86_64 on it. I'll see if I can get anydesk running on it.
Title: Re: Anydesk
Post by: Rabie on December 26, 2021, 02:52:00 PM
Quote
When anydesk starts up, it does not overwrite  anydesk.trace , it appends to it, so the previous results are still there.
When I was trying to get anydesk to run, I deleted  ~/.anydesk  between each attempt to start with a clean slate.
that is what i exactly did between each attempt.

Quote
I just fired up an old laptop and it has TC11 x86_64 on it. I'll see if I can get anydesk running on it.
Thank you again for that
Title: Re: Anydesk
Post by: Rabie on December 29, 2021, 12:51:58 PM
Hi Rich,
Quote
I just fired up an old laptop and it has TC11 x86_64 on it. I'll see if I can get anydesk running on it.

did you try to run anydesk on the Laptop with TC11 x86_64  ?  ;D
Title: Re: Anydesk
Post by: Rich on December 29, 2021, 02:23:53 PM
Hi Rabie
I have been trying to get the GUI to come up for the past few days. After satisfying dependencies and reworking
the  init  file, all I can get from it is this:

See attached file.

I did see on Google where some individuals mentioned they had the service running and had an icon in the tray, but
they could not get the GUI to come up. None of those indivuals found a solution.
Code: [Select]
tc@box:~/AnyDesk/anydesk-6.1.1$ ps aux | grep -i anyd
27265 root     /usr/bin/anydesk --service
27268 root     /usr/bin/anydesk --tray
27280 tc       grep -i anyd
tc@box:~/AnyDesk/anydesk-6.1.1$

I even searched the executable for commandline switches using this command:
Code: [Select]
strings ./anydesk | grep "\-\-" | cut -c 1-24None of what I found helped.

Sorry, but I think you will either have to settle on the 32 bit version or run it under Ubuntu.
Title: Re: Anydesk
Post by: Rabie on December 29, 2021, 02:38:04 PM
Hi Rabie
I have been trying to get the GUI to come up for the past few days. After satisfying dependencies and reworking
the  init  file, all I can get from it is this:

See attached file.

I did see on Google where some individuals mentioned they had the service running and had an icon in the tray, but
they could not get the GUI to come up. None of those indivuals found a solution.
Code: [Select]
tc@box:~/AnyDesk/anydesk-6.1.1$ ps aux | grep -i anyd
27265 root     /usr/bin/anydesk --service
27268 root     /usr/bin/anydesk --tray
27280 tc       grep -i anyd
tc@box:~/AnyDesk/anydesk-6.1.1$

I even searched the executable for commandline switches using this command:
Code: [Select]
strings ./anydesk | grep "\-\-" | cut -c 1-24None of what I found helped.

Sorry, but I think you will either have to settle on the 32 bit version or run it under Ubuntu.

Hi Rich,
thank you very much, you have done enough.
i will wait a little bit untill TC 13x released and update my whole system to it.
hopefully it doesn't take long.  :D
i wish you a happy new year !