Steps: git clone http://git.suckless.org/slock edit config.mk: change X11INC and X11LIB to /usr/include/X11 change CFLAGS to include -g make sudo make install /usr/local/bin/slock
Press ENTER Segmentation fault End of steps. - Running it as sudo it doesn't segfault on enter, but doesn't accept pw either. I have to switch ttys to kill the process to get desktop back. - Perhaps this helps?: $ gdb -q slock Reading symbols from /usr/local/bin/slock...(no debugging symbols found)...done. (gdb) (gdb) run Starting program: /usr/local/bin/slock cannot disable the out-of-memory killer for this process [Inferior 1 (process 4979) exited with code 01] no bt full output.