2.2.1 Ensure X Window System is not installed
Audit#
Verify X Windows System is not installed:
dpkg-query -W -f='${binary:Package}\t${Status}\t${db:Status-Status}\n' xserver-xorg* | grep -Pi '\h+installed\b'
Nothing should be returned.
Remediation#
Remove the X Windows System packages: