doc.rustdesk.com/content/client/linux/_index.en.md
2023-11-04 22:08:01 +01:00

2.0 KiB
Executable File

title weight
Linux 4

Installation

Ubuntu (≥ 16)

# please ignore the wrong disk usage report
sudo apt install -fy ./rustdesk-<version>.deb

CentOS/Fedora (≥ 18)

sudo yum localinstall ./rustdesk-<version>.rpm

Arch Linux/Manjaro

sudo pacman -U ./rustdesk-<version>.pkg.tar.zst

openSUSE (≥ Leap 15.0)

sudo zypper install --allow-unsigned-rpm ./rustdesk-<version>-suse.rpm

X11 Required

RustDesk does not support Wayland yet; you need switch to X11 manually.

RustDesk now has experimental Wayland support since v1.2.0.

Display Server

Ubuntu | Fedora | Arch Linux

Login Screen

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:

#WaylandEnable=false

{{% notice note %}} Please reboot to make above changes taking effect. {{% /notice %}}

Permissions Issue

If SELinux is enabled, RustDesk will not work properly in either X11 or Wayland environments, related issues.

You can run:

$ 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

{{% 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.