RHEL-10-200080 - RHEL 10 must not have the "gdm" package installed.

Information

Unnecessary service packages must not be installed to decrease the attack surface of the system. A graphical environment is unnecessary for certain types of systems including a virtualization hypervisor.

Solution

Configure RHEL 10 to not have the "gdm" package installed with the following command:

$ sudo dnf -y remove gdm

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_10_V1R1_STIG.zip