2018-05-28 21:12:29 +02:00
|
|
|
--- ./startx.cpp.orig 2018-03-11 16:07:52.205154560 -0500
|
|
|
|
+++ ./startx.cpp 2018-03-11 16:09:46.094163992 -0500
|
|
|
|
@@ -201,6 +201,7 @@
|
|
|
|
server=$defaultserver
|
|
|
|
|
|
|
|
#ifdef __linux__
|
2020-06-19 21:59:04 +02:00
|
|
|
+ if [ -x /lib/elogind/elogind -o -x /lib64/elogind/elogind ]; then
|
2016-06-30 22:26:57 +02:00
|
|
|
XCOMM When starting the defaultserver start X on the current tty to avoid
|
|
|
|
XCOMM the startx session being seen as inactive:
|
|
|
|
XCOMM "https://bugzilla.redhat.com/show_bug.cgi?id=806491"
|
2018-05-28 21:12:29 +02:00
|
|
|
@@ -209,6 +210,7 @@
|
|
|
|
tty_num=$(echo "$tty" | grep -oE '[0-9]+$')
|
|
|
|
vtarg="vt$tty_num -keeptty"
|
2016-06-30 22:26:57 +02:00
|
|
|
fi
|
2018-05-28 21:12:29 +02:00
|
|
|
+ fi
|
2016-06-30 22:26:57 +02:00
|
|
|
#endif
|
|
|
|
|
2018-05-28 21:12:29 +02:00
|
|
|
XCOMM For compatibility reasons, only use xserverrc if there were no server command line arguments
|