Can't Lock Graphical Desktop on RHEL 7.8

Latest response

Working on a project where they make graphical desktops available to their data scientists. Received a security finding that the desktops didn't have automate screenlocking enabled. Threw together some automation to make the requisite security settings. However, when users login, we're still getting a popup that says (see attached image-snippet):

Screen lock disabled
Screen locking requires the GNOME display manager

GNOME ScreenLock Alert

Now, the system does have the:

  • gdm-3.28.2-22.el7.x86_64
  • grubby-8.28-26.el7.x86_64
  • gnome-screensaver-3.6.1-20.el7.x86_64
  • dconf-0.28.0-4.el7.x86_64

RPMs all installed. And the relevant dconf settings are applied. So, I'm not sure what's going on. I haven't submitted the system for scanning, yet, because I assume the popup means the scans will fail (but that may be a bad assumption). If such is the case, anyone have any ideas why I'm getting this popup and how to remediate it?



Never mind. Just found out they were running the system at 3/multi-user rather than 5/graphical. Change the systemd-target and the error goes away. WTF.