Completely lock your display
C M4 Makefile Shell
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
doc Update toolchain / notes Feb 13, 2017
extras first version on github Nov 29, 2010
src Update toolchain / notes Feb 13, 2017
.gitignore Update toolchain / notes Feb 13, 2017
.travis.yml
AUTHORS
COPYING Update toolchain / notes Feb 13, 2017
ChangeLog
Makefile.am
NEWS Update toolchain / notes Feb 13, 2017
README Update toolchain / notes Feb 13, 2017
README.md Remove boostrap.sh (old fashioned), update README and Travis Feb 13, 2017
TODO first version on github Nov 29, 2010
configure.ac Update toolchain / notes Feb 13, 2017

README.md

xfreeze

This tool completely locks up your display, using various hacks. After starting, you cannot even use Ctrl-Alt-Fn or the SysRq keys (but you can still use SSH to login and kill xfreeze).

How to build and install

autoreconf -i
./configure && make
sudo make install

First step is not required for distributed source tarballs.

How to use

  1. Start xfreeze
  2. Display is locked
  3. To unlock the display, you just have to input your password, and press ENTER. There is no graphical user interface.

Additional information

If you use PAM (most distributions do), you have to e.g. create a xfreeze entry in /etc/pam.d:

cat > /etc/pam.d/xfreeze << "EOF"
auth        required       pam_unix.so
EOF

The xfreeze binary must have root privileges to do things like disabling SysRq keys and disabling VT-switching. If you want to use xfreeze as user, just set the s-bit, e.g.:

chown root:root /usr/local/bin/xfreeze
chmod 4755 /usr/local/bin/xfreeze

If you don't want any untested suid-root binarys on your system, you can use the script and helper-programs in the extras/ subdir. Check the c-files, and if you trust them, use them together with the script.

If you want xfreeze to be started after a certain idle time, use xautolock (http://www.ibiblio.org/pub/Linux/X11/screensavers/).

For command-line options, try xfreeze --help or read the manpage.