Linux distributions
TMA-ROCKY10-1.8.6
Ensure Xwayland is configured
НизкийУровень 2Автоматическаяlinux
Описание
Xwayland is a compatibility layer that allows legacy X11 applications to run within a Wayland environment. It's effectively an X server that runs as a Wayland client, enabling existing X11 software to be displayed on a Wayland compositor.
Как проверяется
Метод проверки: Команда оболочки
shell
alt0() { command -v grep >/dev/null 2>&1 || { echo "step1: grep not installed"; return 1; }; command -v sed >/dev/null 2>&1 || { echo "step1: sed not installed"; return 1; }; o=$(bash -c 'sed -n '"'"'/\[daemon\]/,/\[/p'"'"' /etc/gdm/custom.conf | grep -Psi '"'"'^\h*waylandenable\b'"'"'' 2>&1); printf '%s\n' "$o" | tr -s ' \t' ' ' | sed 's/^ //;s/ $//' | grep -Fxq -- WaylandEnable=false || { echo step1: missing WaylandEnable=false; return 1; }; }; if alt0; then echo compliant; fi- Ожидаемый вывод
compliant
Как исправляется
Метод исправления: Рекомендация или патч инфраструктуры
Edit the file /etc/gdm/custom.conf and uncomment or add the following line in the [daemon] block: WaylandEnable=false Example: # GDM configuration storage [daemon] WaylandEnable=false [security] [xdmcp] [chooser] [debug] # Uncomment the line below to turn on debugging #Enable=true
Свойства
- Операционные системы
- rocky-10
- Теги
- cis-convertedlinux
- Источник
- CIS Rocky Linux 10 Benchmark v1.0.0 - 1.8.6
Проверить этот хост
Выполните команду на компьютере, аудит которого вам разрешён. Сканирование работает только на чтение.
shell
tmaegis scan --target linux --level 2