diff options
Diffstat (limited to 'abs/core/xorg-xinit/xserverrc')
-rw-r--r-- | abs/core/xorg-xinit/xserverrc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/abs/core/xorg-xinit/xserverrc b/abs/core/xorg-xinit/xserverrc index 6a636c1..6b57eeb 100644 --- a/abs/core/xorg-xinit/xserverrc +++ b/abs/core/xorg-xinit/xserverrc @@ -1 +1,6 @@ -exec /usr/bin/X -nolisten tcp +#!/bin/sh +if [ -z "$XDG_VTNR" ]; then + exec /usr/bin/X -nolisten tcp "$@" +else + exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR +fi |