Lock Screen In Gnome And Using Keyboard

Home » CentOS » Lock Screen In Gnome And Using Keyboard
CentOS 1 Comment

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.

One thought on - Lock Screen In Gnome And Using Keyboard

  • 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.en

    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.

LEAVE A COMMENT