---
title: "How to Guide to Remote Desktop Raspberry Pi with AnyDesk"
description: "Learn how to connect through the remote desktop Raspberry Pi via the AnyDesk application in this ATA Learning tutorial!"
canonical: "https://adamtheautomator.com/remote-desktop-raspberry-pi/"
---

# How to Guide to Remote Desktop Raspberry Pi with AnyDesk

> Learn how to connect through the remote desktop Raspberry Pi via the AnyDesk application in this ATA Learning tutorial!

Source: https://adamtheautomator.com/remote-desktop-raspberry-pi/

---

ATA Learning

Tap to hide

[

ATA Learning

](/)

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Search for:  

*   [](https://twitter.com/adbertram)
*   [](https://github.com/Adam-the-Automator)
*   [](https://www.linkedin.com/company/adam-the-automator-llc)
*   [](/feed/)

![How to Guide to Remote Desktop Raspberry Pi with AnyDesk](https://adamtheautomator.com/wp-content/uploads/2023/06/remote-desktop-raspberry-pi.jpg)

# How to Guide to Remote Desktop Raspberry Pi with AnyDesk

[![](https://secure.gravatar.com/avatar/2788bb1a3f735603f81eca51d68daec56a9d97e805a10268fb2c20afcc76b81b?s=192&d=mm&r=g)Nicholas Xuan Nguyen](https://adamtheautomator.com/author/nicholas-xuan-nguyen/)19 June 20236 min. read

Categories: [IT Ops](/category/it-ops/)

Tags:[Raspberry Pi](/tag/raspberry-pi/)

Table of Contents

*   [Prerequisites](#prerequisites)
*   [Downloading the AnyDesk Remote Desktop for Raspberry Pi](#downloading-the-anydesk-remote-desktop-for-raspberry-pi)
*   [Installing the AnyDesk Remote Desktop via DEB Package](#installing-the-anydesk-remote-desktop-via-deb-package)
*   [Fixing the “Loading Share Libraries” Error](#fixing-the-loading-share-libraries-error)
*   [Establishing a Remote Desktop Connection via AnyDesk](#establishing-a-remote-desktop-connection-via-anydesk)
*   [Conclusion](#conclusion)

Since the demand for remote access has grown globally, have you chosen a remote desktop solution that works best for you? Why not set up AnyDesk? This guide will guide you to Remote Desktop Raspberry Pi with AnyDesk.

AnyDesk provides a secure and intuitive way to remotely access and control Raspberry Pi devices. And in this tutorial, you will learn how to install and establish a remote desktop connection with your Raspberry Pi.

Discover how to access and fully control your Raspberry Pi from anywhere securely!

## Prerequisites

Before you proceed with setting up AnyDesk on your Raspberry Pi, make sure you have the following in place:

*   A [Raspberry Pi device connected to your network](https://adamtheautomator.com/windows-for-raspberry-pi/) – This tutorial uses Raspberry Pi 4.
    
*   A device to remotely access your Raspberry Pi – This tutorial uses a Windows 11 PC.
    

Related:[How to install Windows for Raspberry Pi: A Practical Guide](https://adamtheautomator.com/windows-for-raspberry-pi/)

*   A stable and reliable internet connection for both devices.
    
*   SSH access enabled on your Raspberry Pi, or you can connect it to a monitor or TV.
    

Related:[Learn How to Remotely Access Raspberry PI Devices](https://adamtheautomator.com/how-to-remotely-access-raspberry-pi/)

## Downloading the **AnyDesk R**emote Desktop for Raspberry Pi

One of the standout features of AnyDesk is that the development team has specifically optimized the software for the Raspberry Pi. AnyDesk has a dedicated version designed to run natively on the Raspberry Pi platform.

This optimized build of AnyDesk delivers excellent performance, boasts low latency, and offers bandwidth-efficient communication.

To download AnyDesk for your Raspberry Pi, follow these steps:

1\. Open your favorite web browser, and visit the official [AnyDesk download page](https://anydesk.com/en/downloads/raspberry-pi?dv=raspberrypi).

2\. Locate the Raspberry Pi button on the download page, and copy the link.

The download link provides you with the latest version of AnyDesk for Raspberry Pi devices. At this time of writing, the latest version is v6.2.1.

![Copying the download link for the Raspberry Pi version of AnyDesk](https://adamtheautomator.com/wp-content/uploads/2023/06/image-120.png)

Copying the download link for the Raspberry Pi version of AnyDesk

3\. Next, SSH into your Raspberry Pi using a terminal window or connect it to a monitor and keyboard.

4\. Now, run the `wget` command below to download the AnyDesk DEB package (`anydesk_6.2.1-1_armhf.deb`) to your current directory.

Ensure you replace the download link in the command with the one you copied from step two.

```bash
wget https://download.anydesk.com/rpi/anydesk_6.2.1-1_armhf.deb
```

Related:[PowerShell wget : Awesome Way to Download a File](https://adamtheautomator.com/powershell-download-file/)

![remote desktop raspberry pi - Downloading AnyDesk remote desktop for Raspberry Pi](https://adamtheautomator.com/wp-content/uploads/2023/06/image-119.png)

Downloading AnyDesk remote desktop for Raspberry Pi

5\. Lastly, run the `ls` command below to verify the downloaded DEB package (`anydesk_6.2.1-1_armhf.deb`).

```bash
ls -l anydesk_6.2.1-1_armhf.deb
```

If the DEB package exists, you will see its details, as shown below, confirming the successful download.

![Verifying the downloaded DEB package](https://adamtheautomator.com/wp-content/uploads/2023/06/image-118.png)

Verifying the downloaded DEB package

## Installing the AnyDesk Remote Desktop via DEB Package

Now that you have the DEB package downloaded, you are ready to install AnyDesk remote desktop for Raspberry Pi. Since you are working on a DEB package, you must ensure all dependencies are satisfied before installing the package.

To install AnyDesk via its DEB package:

1\. Run the below [`apt update`](https://linuxize.com/post/how-to-use-apt-command/#updating-package-index-apt-update) command to update your system packages. This command ensures that all your packages are up-to-date and there is no conflict when installing AnyDesk.

Related:[Learning Ubuntu Apt Get Through Examples](https://adamtheautomator.com/ubuntu-apt-get/)

```bash
sudo apt update -y
```

![Updating the system packages](https://adamtheautomator.com/wp-content/uploads/2023/06/image-126.png)

Updating the system packages

2\. Next, execute the following [`apt install`](https://linuxize.com/post/how-to-use-apt-command/#installing-packages-apt-install) command to install the necessary dependencies for AnyDesk. These dependencies are essential for the following:

*   Handling ZIP archives
*   Providing an interface between the graphics hardware and the OS.
*   Enabling applications to render graphics seamlessly

```bash
sudo apt install libminizip1 libegl1-mesa -y
```

![Installing the necessary dependencies for AnyDesk](https://adamtheautomator.com/wp-content/uploads/2023/06/image-125.png)

Installing the necessary dependencies for AnyDesk

3\. After installing dependencies, run the `dpkg` command below to install AnyDesk via the DEB package you downloaded (`anydesk_6.2.1-1_armhf.deb`).

Note that the installation process might take some time to complete.

```bash
sudo dpkg -i anydesk_6.2.1-1_armhf.deb
```

Related:[Comprehensive Guide to Install Deb Packages on Ubuntu](https://adamtheautomator.com/install-deb-packages-on-ubuntu/)

![Installing AnyDesk on Raspberry Pi](https://adamtheautomator.com/wp-content/uploads/2023/06/image-124.png)

Installing AnyDesk on Raspberry Pi

If you encounter dependency issues, run the following `apt-get` command to fix them. Otherwise, skip this command, and jump to step four.

```bash
sudo apt-get -f install
```

![Fixing dependency issues](https://adamtheautomator.com/wp-content/uploads/2023/06/image-123.png)

Fixing dependency issues

4\. Now, run the below `anydesk` command to check the `--version` of AnyDesk installed on your system

```bash
anydesk --version
```

This output confirms you have successfully installed AnyDesk, and you can jump to the “Establishing a Remote Desktop Connection with AnyDesk” section.

![Checking the installed version of AnyDesk](https://adamtheautomator.com/wp-content/uploads/2023/06/image-122.png)

Checking the installed version of AnyDesk

Did you get an error saying **anydesk: error while loading shared libraries**, as shown below instead? If yes, continue reading the following section to fix the error.

![Getting a shared library error](https://adamtheautomator.com/wp-content/uploads/2023/06/image-121.png)

Getting a shared library error

## Fixing the “Loading Share Libraries” Error

If you received the loading share libraries error, you can fix it. This error commonly occurs when a dependency mismatch or the necessary libraries are not installed.

> 💡 _If your installation went smoothly, you could skip to the “Establishing a Remote Desktop Connection with AnyDesk” section._

AnyDesk relies on the _libpolkit-gobject-1.so.0_ shared library for certain operations related to authentication and authorization. If this library is missing or inaccessible, AnyDesk cannot function properly and kicks off the error message.

To resolve this error, the suggested steps involve adding the `armhf` architecture, installing the required libraries, and creating symbolic links:

1\. Run the following command, which does not provide output but modifies the `dpkg` configuration file to include the `armhf` architecture. Doing so enables the `apt` package manager to handle ARM packages.

```bash
sudo dpkg --add-architecture armhf
```

2\. Next, execute the below `apt install` command to install the required libraries for resolving the shared library error.

Below is a quick breakdown of the libraries to install:

| Library | Function |
| --- | --- |
| `**libpolkit-gobject-1-0:armhf**` | This library supports PolicyKit, which is used for authentication and authorization purposes in Linux systems. |
| `**libraspberrypi0:armhf**`, `**libraspberrypi-dev:armhf**`, and `**libraspberrypi-bin:armhf**` | These libraries are specific to the Raspberry Pi and provide low-level access to various hardware components, such as the GPU, video codecs, and other peripherals. |
| `**libgles-dev:armhf**` and `**libegl-dev:armhf**` | These libraries support OpenGL ES (GLES) and EGL, which are essential for graphics rendering applications, including AnyDesk. |

```bash
sudo apt install libpolkit-gobject-1-0:armhf libraspberrypi0:armhf libraspberrypi-dev:armhf libraspberrypi-bin:armhf libgles-dev:armhf libegl-dev:armhf
```

![Installing the required libraries for resolving the shared library error](https://adamtheautomator.com/wp-content/uploads/2023/06/image-129.png)

Installing the required libraries for resolving the shared library error

3\. Once installed, run each of the following commands, which do not produce output to the terminal, but create symbolic links for the required libraries. Creating symbolic links ensures that the shared libraries are accessible to AnyDesk.

```bash
sudo ln -s /usr/lib/arm-linux-gnueabihf/libGLESv2.so /usr/lib/libbrcmGLESv2.so
sudo ln -s /usr/lib/arm-linux-gnueabihf/libEGL.so /usr/lib/libbrcmEGL.so
```

4\. Now, reboot your Raspberry Pi, and rerun the below command to check AnyDesk’s version installed.

```bash
anydesk --version
```

You can see below that version 6.2.1 has been installed successfully without any errors.

![Checking the installed version of AnyDesk](https://adamtheautomator.com/wp-content/uploads/2023/06/image-122.png)

Checking the installed version of AnyDesk

5\. Lastly, run the below commands to `start` and check the `status` of the AnyDesk service.

```bash
sudo systemctl start anydesk.service
sudo systemctl status anydesk.service
```

If all goes well, you will the AnyDesk service status is **active (running)**, as shown below.

![Checking the AnyDesk service status](https://adamtheautomator.com/wp-content/uploads/2023/06/image-127.png)

Checking the AnyDesk service status

## Establishing a Remote Desktop Connection via AnyDesk

At this point, you have successfully installed and configured AnyDesk on your Raspberry Pi. But you will never know if AnyDesk works unless you try establishing a remote connection.

Before connecting remotely via AnyDesk, you will need the Unique ID assigned to your Raspberry Pi, also known as the AnyDesk address or Alias. Each installation of AnyDesk automatically generates a unique nine-digit ID that serves as the Pi’s address on the network.

To establish a remote desktop connection via AnyDesk:

1\. Open AnyDesk on your Raspberry Pi from the main menu (top-left) → **Internet →** **AnyDesk**.

![Opening AnyDesk on Raspberry Pi](https://adamtheautomator.com/wp-content/uploads/2023/06/image-134.png)

Opening AnyDesk on Raspberry Pi

2\. Once AnyDesk opens, copy your Pi’s Unique ID or AnyDesk address, as shown below.

![Copying the Unique ID / AnyDesk address](https://adamtheautomator.com/wp-content/uploads/2023/06/image-133.png)

Copying the Unique ID / AnyDesk address

3\. [Download](https://anydesk.com/en/downloads/windows?dv=win_exe), install, and open the AnyDesk application on your Windows PC.

4\. Now, input the Unique ID you copied from your Raspberry Pi into the designated field at the top and hit Enter. Doing so initiates the remote desktop connection to your Raspberry Pi.

![Initiating a remote desktop connection to the Raspberry Pi device](https://adamtheautomator.com/wp-content/uploads/2023/06/image-132.png)

Initiating a remote desktop connection to the Raspberry Pi device

5\. Finally, click **Accept** on your Raspberry Pi to authorize the remote desktop connection.

![Accepting the remote desktop connection](https://adamtheautomator.com/wp-content/uploads/2023/06/image-131.png)

Accepting the remote desktop connection

If successful, you can now access and control your Raspberry Pi from your Windows 11 PC device, as shown below.

![Accessing the Raspberry Pi device remotely](https://adamtheautomator.com/wp-content/uploads/2023/06/image-130.png)

Accessing the Raspberry Pi device remotely

## Conclusion

AnyDesk is a feature-packed remote desktop software that offers secure, high-performance, and reliable connections for accessing your Raspberry Pi remotely. And in this tutorial, you learned how to install and configure AnyDesk for a remote desktop on Raspberry Pi.

You can now successfully establish a secure remote desktop connection to gain access and control your Raspberry Pi from any location.

Why not try the [remote file transfer feature](https://anydesk.com/en/features/remote-file-transfer) or [multi-display mode](https://support.anydesk.com/knowledge/how-do-i-work-with-multiple-displays)? Discover more about AnyDesk and see how it can help work better or collaborate with others from anywhere!

Share this article

[Share on X](https://twitter.com/intent/tweet?url=https%3A%2F%2Fadamtheautomator.com%2Fremote-desktop-raspberry-pi%2F&text=How%20to%20Guide%20to%20Remote%20Desktop%20Raspberry%20Pi%20with%20AnyDesk)[Share on Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fadamtheautomator.com%2Fremote-desktop-raspberry-pi%2F)[Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fadamtheautomator.com%2Fremote-desktop-raspberry-pi%2F)

## Related Posts

![](https://adamtheautomator.com/wp-content/uploads/2023/09/hoobs.jpg)

### [HOOBS & Raspberry Pi: The Perfect DIY Smart Home Combo](/hoobs/)

Learn how HOOBS works in concert with Raspberry PI to create a DIY smart home combo that works to extend what you can automate!

![](https://adamtheautomator.com/wp-content/uploads/2023/08/java-on-raspberry-pi.jpg)

### [Learn How to Install Java on Raspberry Pi](/java-on-raspberry-pi/)

Learn how to install and get started with the ins and outs of Java on Raspberry Pi in this ATA Learning tutorial!

![](https://adamtheautomator.com/wp-content/uploads/2023/06/docker-raspberry-pi.jpg)

### [How to Install Docker on Raspberry Pi 4](/docker-on-raspberry-pi/)

Excerpt: Learn how to get started with installing Docker on Raspberry Pi 4 and offload development to a small flexible system.

## Categories

*   [IT Ops](/category/it-ops/)
*   [Cloud](/category/cloud/)
*   [DevOps](/category/devops/)
*   [Home Ops](/category/home-ops/)
*   [Information Security](/category/infosec/)
*   [Software Development](/category/software-development/)

## Site

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Copyright 2026© ATA Learning | [Privacy Policy](/privacy/)
