diff options
author | V3n3RiX <venerix@gmail.com> | 2014-11-30 02:47:05 +0200 |
---|---|---|
committer | V3n3RiX <venerix@gmail.com> | 2014-11-30 02:47:05 +0200 |
commit | 320eacba135418ed594f4bf56d1b800450684e32 (patch) | |
tree | d8809f7910970831cbd92068c10842081cce90ca /x11-apps/xinit/files/xserverrc.1 | |
parent | 1ef8e53a80beb163ec407536582da6d11e4fa737 (diff) |
fix one 8 year long standing bug in xinit/startx
Diffstat (limited to 'x11-apps/xinit/files/xserverrc.1')
-rw-r--r-- | x11-apps/xinit/files/xserverrc.1 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-apps/xinit/files/xserverrc.1 b/x11-apps/xinit/files/xserverrc.1 new file mode 100644 index 00000000..6b57eeba --- /dev/null +++ b/x11-apps/xinit/files/xserverrc.1 @@ -0,0 +1,6 @@ +#!/bin/sh +if [ -z "$XDG_VTNR" ]; then + exec /usr/bin/X -nolisten tcp "$@" +else + exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR +fi |