summaryrefslogtreecommitdiff
path: root/x11/kdebase11/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdebase11/files')
-rw-r--r--x11/kdebase11/files/patch-ai23
1 files changed, 23 insertions, 0 deletions
diff --git a/x11/kdebase11/files/patch-ai b/x11/kdebase11/files/patch-ai
new file mode 100644
index 000000000000..103c8247a172
--- /dev/null
+++ b/x11/kdebase11/files/patch-ai
@@ -0,0 +1,23 @@
+*** kfm/kfmsu2.in.orig Sat Feb 28 15:26:31 1998
+--- kfm/kfmsu2.in Sat Feb 28 15:27:14 1998
+***************
+*** 2,10 ****
+ echo "--------------"
+ echo ""
+! echo "Allowing root user to use this display"
+! xhost +local:root
+ echo ""
+ echo "Logging in as super user"
+! su - -c "export DISPLAY=$DISPLAY; @kde_bindir@/kfm -sw >/dev/null"
+! xhost -local:root
+
+--- 2,10 ----
+ echo "--------------"
+ echo ""
+! echo "Allowing ALL (!) local users to use this display"
+! xhost +local:
+ echo ""
+ echo "Logging in as super user"
+! su root -c "echo DISPLAY=$DISPLAY @kde_bindir@/kfm -sw | /bin/sh > /dev/null"
+! xhost -local:
+