I downgraded Anydesk in my Debian 12 installation from the latest 7.x version to 6.0.1, and I got a dependency error on the libpangox library and Anydesk 6.0.1 did not start properly.
/usr/bin/anydesk: error while loading shared libraries: libpangox-1.0.so.0: cannot open shared object file: No such file or directory
The quick fix (if there are no side-effects I might notice in the future) is a simple symbolic link:
root@x220:~# cd /usr/lib/x86_64-linux-gnu/ root@x220:/usr/lib/x86_64-linux-gnu# ln -s libpangoxft-1.0.so libpangox-1.0.so.0 root@x220:/usr/lib/x86_64-linux-gnu#
The libpangoxft-1.0.so file is provided by the libpango1.0-dev package, which was already installed in my system.
This fixed the issue and Anydesk started normally again, retaining my history of outgoing connections, as I did not mess with the ~/.anydesk directory.