---
title: "AnyDesk for Linux / Raspberry Pi"
slug: "anydesk-for-linux-raspberry-pi"
updated: 2026-03-20T09:43:08Z
published: 2026-03-20T09:43:08Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.anydesk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AnyDesk for Linux / Raspberry Pi

AnyDesk runs on most Linux distributions, but official support is limited to the following:

- Ubuntu 18.04 and newer
- Debian 9 and newer
- Red Hat Enterprise Linux (RHEL) 8
- OpenSUSE 42/15
- Linux Mint 20 and newer

If you use a Linux distribution not listed here, AnyDesk may not operate correctly, and official support is not available.

> [!CAUTION]
> 🚨 **IMPORTANT**
> 
> AnyDesk supports only unmodified versions of the listed Linux distributions. System changes, such as using Xorg with xrdp, are not compatible and will not be supported.

A graphical desktop environment (Xorg session) is required for incoming connections. Wayland sessions are **not** supported for incoming sessions, but can be used to initiate outgoing connections.

To check if your session is using Wayland or Xorg, run:

```bash
echo $XDG_SESSION_TYPE
```

AnyDesk cannot run as the root user. To restart the AnyDesk service, use:

```bash
sudo systemctl restart anydesk
```

For installation dependencies and guidance, refer to the [Linux installation article](/v1/docs/install-anydesk).

---

## Remove license

To remove your license on Linux:

1. Open the **menu** in the upper-right corner of AnyDesk.
2. Select **About AnyDesk**.
3. Open **Enter license key**, then press **OK**.

After doing so, your license status will revert to **free‑1**.

---

## File transfer and file manager

Use AnyDesk’s built-in file transfer features, see the [Manage and transfer files](/v1/docs/file-manager-and-file-transfer) for more details.

---

## Installing a custom client (TAR.GZ)

To install a Linux-based custom client provided as a TAR.GZ file:

1. Download and install the standard AnyDesk package for Linux/Raspberry Pi from the our website.
2. Download and extract your custom client TAR.GZ file from [**my.anydesk II**](http://my.anydesk.com/v2).
3. Close any running AnyDesk windows.
4. Open a terminal and run:

```arduino
sudo systemctl stop anydesk
sudo systemctl stop anydesk.service
```
5. Navigate to the extracted custom client directory.
6. Replace the standard executable with your custom version:
  - **Debian-based systems:**

```bash
sudo mv anydesk /usr/bin/anydesk
```
  - **RPM-based systems:**

```bash
sudo mv anydesk /usr/libexec/anydesk
```
7. Restart AnyDesk:

```nginx
sudo systemctl restart anydesk
```

Your custom client will now launch instead of the standard version, and the AnyDesk service will run at the login screen.

> [!NOTE]
> 🦉 For more details, see [**this article**](/v1/docs/installation).

---

## AnyDesk for Raspberry Pi

Supported devices and OS versions include:

- **Raspberry Pi 2, 3, 4, and 400**
- **Raspberry Pi OS**, both ARMHF and ARM64 variants
