al-skel/home/.xserverrc

8 lines
240 B
Bash
Executable File

#!/bin/sh
#
# executed by xinit when using startx
# make sure to be runnning in authenticated session with logind
# this will make it so you cannot bypass screenlock by switching terminals
exec /usr/bin/Xorg -nolisten tcp "$@" vt$XDG_VTNR