diff options
author | Simon Rettberg | 2019-04-30 15:44:48 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-04-30 15:44:48 +0200 |
commit | f111de8d1a213cd4e9e79fa8bdf99906271c8bc0 (patch) | |
tree | 69f1c452a0e7b59451d0825d015ea6f591ab0e92 /core/modules/idleaction | |
parent | [kexec-reboot] isolate kexec.target (not start!) (diff) | |
download | mltk-f111de8d1a213cd4e9e79fa8bdf99906271c8bc0.tar.gz mltk-f111de8d1a213cd4e9e79fa8bdf99906271c8bc0.tar.xz mltk-f111de8d1a213cd4e9e79fa8bdf99906271c8bc0.zip |
[idleaction] Allow root access to display
Diffstat (limited to 'core/modules/idleaction')
-rw-r--r-- | core/modules/idleaction/data/etc/X11/Xsession.d/50-allow_root | 6 |
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 +: + |