doc.rustdesk.com/content/client/linux/_index.en.md

70 lines
1.9 KiB
Markdown
Raw Normal View History

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
#### Ubuntu (>= 16)
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-07-15 21:54:43 +02:00
#### CentOS/Fedora (>= 18)
```sh
2022-05-04 19:41:06 +02:00
sudo yum localinstall ./rustdesk-<version>.rpm
2022-05-04 06:52:47 +02:00
```
#### Arch/Manjaro
```sh
2022-05-04 06:52:47 +02:00
sudo pacman -U ./rustdesk-<version>.pkg.tar.zst
```
2023-08-27 20:43:57 +02:00
#### openSUSE (>= Leap 15.0)
```sh
2022-05-04 19:41:06 +02:00
sudo zypper install --allow-unsigned-rpm ./rustdesk-<version>-suse.rpm
```
### ~~X11 Required~~
2023-07-15 21:54:43 +02:00
~~RustDesk does not support Wayland yet; you need switch to X11 manually.~~
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
[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/) |
[Arch](https://bbs.archlinux.org/viewtopic.php?id=218319)
2022-05-04 06:52:47 +02:00
#### Login Screen
2022-05-04 06:52:47 +02:00
2023-10-22 07:36:18 +02:00
Login screen using Wayland is not supporte 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
```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 %}}
#### 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).
You can run:
```bash
$ 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
```
**NOTE**: The number in parentheses after audit is timestamp.
If the output contains `avc: denied`, you need to add SElinux policies, please refer to [SELinux](./selinux/).