You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
500 B
15 lines
500 B
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
|
|
|