2022-05-04 06:52:47 +02:00
---
2023-07-15 21:54:43 +02:00
title: Linux
2022-05-04 06:52:47 +02:00
weight: 4
---
### Installation
2023-11-04 22:08:01 +01:00
#### Ubuntu (≥ 16)
2022-07-10 05:20:52 +02:00
2023-10-10 21:36:19 +02:00
```sh
2022-05-04 06:52:47 +02:00
# please ignore the wrong disk usage report
sudo apt install -fy ./rustdesk-< version > .deb
```
2023-11-04 22:08:01 +01:00
#### CentOS/Fedora (≥ 18)
2022-07-10 05:20:52 +02:00
```sh
2022-05-04 19:41:06 +02:00
sudo yum localinstall ./rustdesk-< version > .rpm
2022-05-04 06:52:47 +02:00
```
2023-10-23 21:50:37 +02:00
#### Arch Linux/Manjaro
2022-07-10 05:20:52 +02:00
```sh
2022-05-04 06:52:47 +02:00
sudo pacman -U ./rustdesk-< version > .pkg.tar.zst
```
2023-11-04 22:08:01 +01:00
#### openSUSE (≥ Leap 15.0)
2022-07-10 05:20:52 +02:00
```sh
2022-05-04 19:41:06 +02:00
sudo zypper install --allow-unsigned-rpm ./rustdesk-< version > -suse.rpm
```
2023-05-25 04:50:25 +02:00
### ~~X11 Required~~
2023-07-15 21:54:43 +02:00
~~RustDesk does not support Wayland yet; you need switch to X11 manually.~~
2022-07-10 05:20:52 +02:00
2023-10-22 07:36:18 +02:00
RustDesk now has experimental Wayland support since v1.2.0.
2022-05-04 06:52:47 +02:00
#### Display Server
2022-07-10 05:20:52 +02:00
[Ubuntu ](https://askubuntu.com/questions/1260142/ubuntu-set-default-login-desktop ) |
[Fedora ](https://docs.fedoraproject.org/en-US/quick-docs/configuring-xorg-as-default-gnome-session/ ) |
2023-10-23 21:50:37 +02:00
[Arch Linux ](https://bbs.archlinux.org/viewtopic.php?id=218319 )
2022-05-04 06:52:47 +02:00
2022-07-10 05:20:52 +02:00
#### Login Screen
2022-05-04 06:52:47 +02:00
2023-10-23 21:50:37 +02:00
Login screen using Wayland is not supported yet. If you wanna access login screen after reboot or logout with RustDesk, you need to change login screen to X11, please modify below line to `WaylandEnable=false` in `/etc/gdm/custom.conf` or `/etc/gdm3/custom.conf` :
2022-05-04 06:52:47 +02:00
2022-07-10 05:20:52 +02:00
```ini
2022-05-04 06:52:47 +02:00
#WaylandEnable=false
```
2022-07-05 05:21:39 +02:00
{{% notice note %}}
2023-10-10 21:36:19 +02:00
Please **reboot** to make above changes taking effect.
2022-07-05 05:21:39 +02:00
{{% /notice %}}
2023-10-21 13:33:07 +02:00
#### Permissions Issue
2023-10-22 07:20:35 +02:00
If SELinux is enabled, RustDesk will not work properly in either X11 or Wayland environments, related [issues ](https://github.com/search?q=repo%3Arustdesk%2Frustdesk+SElinux&type=issues ).
2023-10-21 13:33:07 +02:00
2023-10-21 17:38:41 +02:00
You can run:
2023-10-23 21:50:37 +02:00
```sh
2023-10-21 17:38:41 +02:00
$ sudo grep 'comm="rustdesk"' /var/log/audit/audit.log | tail -1
type=AVC msg=audit(1697902459.165:707): avc: denied { name_connect } for pid=31346 comm="rustdesk" dest=53330 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:ephemeral_port_t:s0 tclass=tcp_socket permissive=0
```
2023-10-23 21:50:37 +02:00
{{% notice note %}}
The number in parentheses after `audit` is timestamp.
{{% /notice %}}
If the output contains `avc: denied` , you need to add SELinux policies, please refer to [SELinux ](https://rustdesk.com/docs/en/client/linux/selinux/ ).
2023-10-21 17:45:47 +02:00