From f111de8d1a213cd4e9e79fa8bdf99906271c8bc0 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 30 Apr 2019 15:44:48 +0200 Subject: [idleaction] Allow root access to display --- core/modules/idleaction/data/etc/X11/Xsession.d/50-allow_root | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 core/modules/idleaction/data/etc/X11/Xsession.d/50-allow_root (limited to 'core/modules') 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 +: + -- cgit v1.2.3-55-g7522