Hello,
I need to reconfigure Gnome in CentOS for avoiding that a normal user could lock screen using task bar option and/or "Super L" key (Windows Key + L). How could I configure Gnome? I need to do that in several computers, so I can't do "login" in X environment of each computer, but I need to reconfigure executing from command line (multiple SSH connections).
Thanks.
On Thu, Apr 06, 2017 at 02:46:12PM +0200, Daniel Ruiz Molina wrote:
I need to reconfigure Gnome in CentOS for avoiding that a normal user could lock screen using task bar option and/or "Super L" key (Windows Key + L). How could I configure Gnome? I need to do that in several computers, so I can't do "login" in X environment of each computer, but I need to reconfigure executing from command line (multiple SSH connections).
Hello,
If I understand you correctly, you want to disable the screen lock.
This is done differently in CentOS6 vs. CentOS7 GNOME.
In C7, you'd want to use the 'lockdown' feature in dconf:
https://help.gnome.org/admin/system-admin-guide/stable/dconf-lockdown.html.e...
Specifically, you'd want to set 'disable-lock-screen' to true in the /org/gnome/desktop/lockdown' settings.
It's been a while since I did the same thing with C6, but I think you need to edit a file /etc/gconf/gconf.xml.mandatory/desktop/gnome/lockdown/%gconf.xml, and set 'disable_lock_screen' to true.