summaryrefslogtreecommitdiffstats
path: root/core/modules/idleaction/data
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/idleaction/data')
-rw-r--r--core/modules/idleaction/data/etc/X11/Xsession.d/50-allow_root6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/modules/idleaction/data/etc/X11/Xsession.d/50-allow_root b/core/modules/idleaction/data/etc/X11/Xsession.d/50-allow_root
new file mode 100644
index 00000000..663250d3
--- /dev/null
+++ b/core/modules/idleaction/data/etc/X11/Xsession.d/50-allow_root
@@ -0,0 +1,6 @@
+#!/bin/ash sourced
+
+# Allow root to connect to the x server
+xhost +si:localuser:root &> /dev/null
+:
+