- 输入
gsettings get org.gnome.desktop.lockdown disable-lock-screen- 如果返回false则设置无误。如果返回true,执行:
gsettings set org.gnome.desktop.lockdown disable-lock-screen false- 尝试直接使用
dm-tool lock- 使用如下指令,切换到gdm3。
sudo dpkg-reconfigure gdm3 gsettings get org.gnome.desktop.lockdown disable-lock-screengsettings set org.gnome.desktop.lockdown disable-lock-screen falsedm-tool locksudo dpkg-reconfigure gdm3
评论 (0)