doc.rustdesk.com/content/client/linux/_index.zh-cn.md
fufesou 2924d7239c doc, selinux policies
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-10-21 19:33:07 +08:00

65 lines
1.4 KiB
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Linux
weight: 4
---
### 安装
#### Ubuntu (>= 16)
```bash
# 请忽略磁盘错误使用报告
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~~
~~RustDesk 尚未支持 Wayland; 您需要手动切换到 X11。~~
RustDesk 现在有实验性的 Wayland 支持,您可能需要下载 [nightly version](https://github.com/rustdesk/rustdesk/releases/tag/nightly) 来启用这一特性。
#### 显示服务器
[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)
#### 登陆屏幕
`/etc/gdm/custom.conf``/etc/gdm3/custom.conf` 中,将如下的该行更改为 `WaylandEnable=false`
```ini
#WaylandEnable=false
```
{{% notice note %}}
请**重新启动**来使上述变更生效
{{% /notice %}}
#### 权限问题
如果您发现 RustDesk 的 --server 进程没有启动,即执行 `ps -ef | grep -E 'rustdesk +--server'` 没有输出。
那么很可能是权限问题。
SELinux 权限添加请参考[SELinux](./selinux/)。