Skip to content

com.limdm.screenlock

Console: Screen lock.

{"idle_seconds": 300}
{"idle_seconds": 300, "hide_users": true, "allow_autologin": false}
Field Type Rules
idle_seconds number 30 to 3600
hide_users true or false optional; the login screen asks for the user name instead of listing users
allow_autologin true or false optional; false switches automatic and timed login off

Locks the screen after idle_seconds and before suspend, on every desktop, in a way users cannot change:

Desktop How
GNOME, Budgie, Cinnamon, MATE dconf system database with locked keys, disable-lock-screen locked to false too
KDE Plasma /etc/xdg/kscreenlockerrc, immutable through KDE kiosk ([$i])
Xfce xfconf system defaults with locked properties (xfce4-screensaver)
sway, Hyprland, river, labwc, niri, Wayfire swayidle with swaylock; for sway also /etc/sway/config.d
i3, bspwm, openbox, awesome, herbstluftwm xss-lock with i3lock and the X screensaver timeout

For compositors and window managers the agent starts its own locker in every session (user unit limdm-idle-lock, or directly where the user's service manager is out of reach) and starts it again within a minute when it is ended. Only that locker counts, not any process with a locker's name; on X11 the screensaver timeout is set again every minute, so xset s off does not help. Like every remediation this only happens with remediate on and desktop.screenlock not excluded. The check fails for a session without the locker, for desktops LiMDM cannot enforce (COSMIC, LXQt) and for Xfce without xfce4-screensaver. Missing tools are installed.

Login screen privacy is optional: without hide_users and allow_autologin the login manager is left as it is. With "allow_autologin": false automatic and timed login are switched off in GDM (AutomaticLoginEnable, TimedLoginEnable), SDDM and LightDM, in their drop in directories and in the main files (/etc/sddm.conf, /etc/lightdm/lightdm.conf), which would otherwise win. "hide_users": true hides the user list (GDM disable-user-list, LightDM greeter-hide-users, SDDM does not remember the last user). LightDM guest sessions are off whenever the login screen is managed. Agents before 0.9.2 reject the two keys as unknown, so add them only after the fleet runs 0.9.2.

Field reference

Generated from the payload schema of the server (GET /api/v1/schemas/{type}), the same reference the console editor shows. Unknown fields are rejected.

com.limdm.screenlock

Console: Screen lock. Screen lock after idle time, and login screen privacy.

Field Type Meaning Limits
idle_seconds integer Lock after idle (seconds) 30 to 3600. min 30; max 3600
hide_users boolean Hide user list The login screen asks for the user name instead of listing users.
allow_autologin boolean Allow automatic login Off switches automatic login off. default true
Example payload
{
  "idle_seconds": 300
}