IT lexicon › Security › xtrlock

xtrlock

Security På svenska → Updated: 2026-10-11

An X11 lock that hides nothing: the screen stays visible, but the pointer turns into a padlock and nothing responds until the password is typed.

Ian Jackson wrote xtrlock in 1993, and it is the opposite of xlock. No fractals, no black screen — it simply takes a grab on keyboard and mouse, swaps the cursor for a little lock and waits for the user's password. That suits labs and open-plan offices where you want a build or a log to stay visible while you fetch coffee, without anyone being able to type into your terminal.

All of its security rests on the grab covering every input, and X makes that harder than it sounds. In 2016 it turned out xtrlock didn't block XInput 2 multitouch events, so on a touchscreen you could poke your way past it. The program is small enough to read in an afternoon, which remains its best argument.

← Back to the lexicon