xserverrc.2 143 Bytes
Newer Older
1 2 3 4 5 6
#!/bin/sh
if [ -z "$XDG_VTNR" ]; then
  exec /usr/bin/X -nolisten tcp "$@"
else
  exec /usr/bin/X -nolisten tcp -keeptty "$@" "vt$XDG_VTNR"
fi