Information
Setting the screensaver mode to blank-only conceals the contents of the display from passersby.
Solution
Configure RHEL 10 to prevent a user from overriding the picture-uri setting for graphical user interfaces.
Note: The example below is using the database "local" for the system. If the system is using another database in "/etc/dconf/profile/user", the file should be created under the appropriate subdirectory.
Update the "/etc/dconf/db/local.d/00-security-settings" file to prevent a user from overriding the "picture-uri" setting:
$ sudo vi /etc/dconf/db/local.d/00-security-settings
[org/gnome/desktop/screensaver]
picture-uri=''
Update the "/etc/dconf/db/local.d/locks/00-security-settings-lock" file to prevent a user from modifying the lock applied to the "picture-uri" setting:
$ sudo vi /etc/dconf/db/local.d/locks/00-security-settings-lock
/org/gnome/desktop/screensaver/picture-uri
Update the dconf system databases:
$ sudo dconf update