Linux distributions
TMA-SLES16-1.8.7
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
Својства
- Оперативни системи
- sles-16
- Ознаке
- cis-convertedlinux
- Референца
- CIS SUSE Linux Enterprise 16 Benchmark v1.0.0 - 1.8.7
Проверите овај рачунар
Покрените ово на рачунару за који имате дозволу за проверу. Скенирање ради у режиму само за читање.
shell
tmaegis scan --target linux --level 2