[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#743015: xinit does not handle starting X correctly



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 to: