8006a32520
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/xorg-x11-xinit#a25ca0d570daa8835efe66e52fa242153972e2f1
16 lines
500 B
Diff
16 lines
500 B
Diff
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
|
|
@@ -140,8 +140,10 @@
|
|
have_vtarg="yes"
|
|
fi
|
|
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
|
|
|
|
XCOMM if no display, use default
|