Skip to content
LINUX

AnyDesk doesn’t work after upgrading to Ubuntu 22.04 LTS

A
Author
Apr 17, 2023 · 4 min read
AnyDesk doesn’t work after upgrading to Ubuntu 22.04 LTS

Fixing AnyDesk on Ubuntu 22.04 LTS: A Step-by-Step Guide

Ubuntu 22.04 LTS (Long Term Support) is the latest version of Ubuntu, and while it brings a host of improvements and new features, it can occasionally cause compatibility issues with third-party applications. One such application is AnyDesk, a popular remote desktop software. If you’ve recently upgraded to Ubuntu 22.04 LTS and are experiencing issues with AnyDesk, you are not alone. Many users have reported problems where the application simply refuses to open or crashes immediately after launching.

If you’re an AnyDesk user on Ubuntu 22.04 LTS and you’re looking for a solution, you’re in the right place. In this blog post, we’ll take a look at why this issue occurs and provide a simple step-by-step solution to get AnyDesk running smoothly again.

Why Does AnyDesk Stop Working After Upgrading to Ubuntu 22.04 LTS?

After upgrading to Ubuntu 22.04 LTS, some users find that AnyDesk either doesn’t launch or crashes after a few seconds. This problem typically arises due to changes in the underlying libraries that AnyDesk depends on. One of the most common causes of this issue is a missing or outdated library that AnyDesk relies on to function properly. If your system continues to show compatibility issues even after reinstalling AnyDesk, go for updating/upgrading the Linux kernel in Ubuntu to make sure everything is running on the latest version.

One such library is libpangox-1.0-0, which provides the necessary support for certain graphical applications. AnyDesk uses this library for rendering its user interface, and if the library is incompatible or missing, AnyDesk fails to start.

Solution to Fix AnyDesk on Ubuntu 22.04 LTS

Fortunately, the fix is relatively simple. You can resolve this issue by manually installing the required version of the libpangox-1.0-0 library that AnyDesk needs. Here’s a step-by-step guide to help you get AnyDesk working again on your system.

Step 1: Download the Required Library

The first step in solving the AnyDesk issue on Ubuntu 22.04 LTS is to download the correct version of the libpangox-1.0-0 library. This library isn’t included in the official Ubuntu 22.04 repositories, so we’ll download it directly from the Debian repositories, which is where this library is still available.

To begin, open a terminal window on your Ubuntu machine (you can do this by pressing Ctrl+Alt+T) and run the following command:

wget http://ftp.us.debian.org/debian/pool/main/p/pangox-compat/libpangox-1.0-0_0.0.2-5.1_amd64.deb

This command uses wget to download the libpangox-1.0-0 package from the Debian repository. The package is specifically built for 64-bit systems (hence the amd64 in the filename), so ensure you are on a 64-bit version of Ubuntu.

Step 2: Install the Library

Once the package has been downloaded, you can proceed to install it. To install the library, use the apt package manager with the following command:

sudo apt install ./libpangox-1.0-0_0.0.2-5.1_amd64.deb

The ./ indicates that the .deb file is located in the current directory, so make sure you’re in the directory where the downloaded file is located. When you run the command, sudo will ask you to enter your password. This is required to grant the necessary administrative permissions to install the library.

Once the installation is complete, the system should have the required version of the libpangox-1.0-0 library installed.

Step 3: Launch AnyDesk

Now that the required library is installed, you can try launching AnyDesk again. You can either launch it from the terminal by typing:

anydesk

Or, you can open it from the application menu.

If everything has been done correctly, AnyDesk should now open without any issues. The graphical user interface (GUI) should load up, and you can resume using AnyDesk for remote desktop access.

Step 4: Additional Troubleshooting

If, for any reason, the above steps do not resolve the issue, you may want to try a few additional troubleshooting steps:

1. Reinstall AnyDesk

Sometimes, a clean reinstall of AnyDesk can help resolve lingering issues. To reinstall AnyDesk, run the following commands:

sudo apt remove anydesk
sudo apt purge anydesk
sudo apt update
sudo apt install anydesk

This will remove AnyDesk from your system, purge all its configuration files, and then reinstall it from the official repositories.

2. Update Your System

After an upgrade to a new Ubuntu version, there may be additional updates available that could help resolve compatibility issues. Run the following commands to update your system:

sudo apt update
sudo apt upgrade

This ensures that all your packages are up to date and can help resolve any dependency issues that may be affecting AnyDesk.

3. Check for Missing Dependencies

You can also check if AnyDesk is missing any other dependencies by running the following command:

ldd /usr/bin/anydesk

This will list all the shared libraries that AnyDesk depends on. If any libraries are missing or incompatible, you may need to install them manually.

Conclusion

AnyDesk is an excellent remote desktop application, but like many third-party apps, it can occasionally experience compatibility issues when new versions of Ubuntu are released. Fortunately, if you’re running into problems with AnyDesk after upgrading to Ubuntu 22.04 LTS, the solution is simple.

A
Author

Author at The Creative Coders.

The monthly build log

One email a month. New posts, lessons, and the occasional strong opinion. No spam.