fufesou 2924d7239c doc, selinux policies
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-10-21 19:33:07 +08:00

62 lines
1.5 KiB
Markdown
Executable File

---
title: Linux
weight: 4
---
### Installation
#### Ubuntu (>= 16)
```sh
# please ignore the wrong disk usage report
sudo apt install -fy ./rustdesk-<version>.deb
```
#### CentOS/Fedora (>= 18)
```sh
sudo yum localinstall ./rustdesk-<version>.rpm
```
#### Arch/Manjaro
```sh
sudo pacman -U ./rustdesk-<version>.pkg.tar.zst
```
#### openSUSE (>= Leap 15.0)
```sh
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. You may need to download the [nightly version](https://github.com/rustdesk/rustdesk/releases/tag/nightly) to enable this feature.
#### 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)
#### Login Screen
Modify below line to `WaylandEnable=false` in `/etc/gdm/custom.conf` or `/etc/gdm3/custom.conf`:
```ini
#WaylandEnable=false
```
{{% notice note %}}
Please **reboot** to make above changes taking effect.
{{% /notice %}}
#### Permissions Issue
If you find that RustDesk's --server process is not running, that is, there is no output when executing `ps -ef | grep -E 'rustdesk +--server'`.
Then it's probably a permissions issue.
Please refer to [SELinux](./selinux/) for adding SELinux policies.