2015-03-18 12:57:23 +00:00
|
|
|
diff -up xinit-1.3.4/startx.cpp~ xinit-1.3.4/startx.cpp
|
|
|
|
--- xinit-1.3.4/startx.cpp~ 2015-03-18 12:13:11.000000000 +0100
|
|
|
|
+++ xinit-1.3.4/startx.cpp 2015-03-18 12:49:49.445624223 +0100
|
2015-04-30 12:22:11 +00:00
|
|
|
@@ -140,8 +140,10 @@
|
|
|
|
have_vtarg="yes"
|
2015-03-18 12:57:23 +00:00
|
|
|
fi
|
2015-04-30 12:22:11 +00:00
|
|
|
done
|
|
|
|
-if [ "$have_vtarg" = "no" ]; then
|
|
|
|
+if [ "$have_vtarg" = "no" -a x"$vtarg" != x ]; then
|
|
|
|
serverargs="$serverargs $vtarg"
|
|
|
|
+ XCOMM Fedora specific mod to make X run as non root
|
|
|
|
+ export XORG_RUN_AS_USER_OK=1
|
|
|
|
fi
|
2015-03-18 12:57:23 +00:00
|
|
|
|
2016-08-29 12:08:49 +00:00
|
|
|
XCOMM if no display, use default
|