Package: xinit

Version: 1.3.2-1

Severity: Normal

When you start X with startx, it may start X on a different tty from where
you logged in for that session. This would cause the systemd session to
break.

This fix for this is to modify the existing /etc/X11/xinit/xserverrc the
way Arch does.

My working xserverrc looks like this:

#!/bin/sh
if [ -z "$XDG_VTNR" ]; then
  exec /usr/bin/X -nolisten tcp "$@"
else
  exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR
fi

Reply via email to