remove selinux

This commit is contained in:
rustdesk
2026-03-21 21:31:14 +08:00
parent 8a081dee3c
commit ba871a4a74
11 changed files with 0 additions and 177 deletions

View File

@@ -102,19 +102,3 @@ RustDesk從版本1.2.0開始具有實驗性Wayland支援。
請**重啟**以使上述更改生效。
{{% /notice %}}
### 權限問題
如果啟用了SELinuxRustDesk在X11或Wayland環境中都無法正常工作相關[問題](https://github.com/search?q=repo%3Arustdesk%2Frustdesk+SElinux&type=issues)。
您可以執行:
```sh
$ 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 %}}
`audit`後括號中的數字是時間戳記。
{{% /notice %}}
如果輸出包含`avc: denied`您需要新增SELinux策略請參閱[SELinux](https://rustdesk.com/docs/en/client/linux/selinux/)。