This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
无 root 权限的 Xorg
Linux VDA 支持使用非 root 用户权限运行 Xorg,又称为“无 root 权限的”Xorg。 与以 root 用户身份运行相比,无 root 权限的 Xorg 的安全性有了显著提高。
注意:
- Xorg 不支持在 Amazon Linux 2 或 Linux 7 上执行无 root 权限操作。
- 无 root 权限的 Xorg 还需要 GPU 驱动程序的支持。 如果使用的是 Remote PC Access VDA,请测试并验证您的 GPU 驱动程序是否支持无 root 权限的 Xorg。
默认情况下,无 root 权限的 Xorg 处于禁用状态。 Red Hat 已经解决了影响 Xorg 服务器的 CVE-2024-31083 安全漏洞。
为了维护无 root 权限的 Xorg 功能,请按照以下步骤确保 MIT-SHM 在 ICA 会话中正常运行:
-
使用以下特定于发行版的命令将
cap_ipc_owner
功能直接应用到 Xorg 可执行文件,而非应用到包装程序脚本:-
Ubuntu、Debian:
sudo setcap 'cap_ipc_owner=+ep' /usr/lib/xorg/Xorg
-
RHEL、Rocky:
sudo setcap 'cap_ipc_owner=+ep' /usr/libexec/Xorg
-
SUSE:
sudo setcap 'cap_ipc_owner=+ep' /usr/libexec/Xorg /usr/bin/Xorg
-
-
使用以下命令启用无 root 权限的 Xorg:
sudo /opt/Citrix/VDA/bin/ctxreg create -k "HKLM\System\CurrentControlSet\Control\Citrix\Xorg" -t "REG_DWORD" -v "Rootless" -d "1" --force <!--NeedCopy-->
如果已启用无 root 权限的 Xorg,要将其禁用,请执行以下操作:
-
运行以下命令禁用该功能:
sudo /opt/Citrix/VDA/bin/ctxreg create -k "HKLM\System\CurrentControlSet\Control\Citrix\Xorg" -t "REG_DWORD" -v "Rootless" -d "0" --force <!--NeedCopy-->
-
使用特定于发行版的命令从 Xorg 可执行文件删除
cap_ipc_owner
功能:- Ubuntu、Debian:
sudo setcap 'cap_ipc_owner=-ep' /usr/lib/xorg/Xorg
- RHEL,Rocky:
sudo setcap 'cap_ipc_owner=-ep' /usr/libexec/Xorg
- SUSE:
sudo setcap 'cap_ipc_owner=-ep' /usr/libexec/Xorg /usr/bin/Xorg
- Ubuntu、Debian:
共享
共享
在本文中
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.