summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdata/Xsession.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/Xsession.in b/data/Xsession.in
index b2d98f2f..118518ca 100755
--- a/data/Xsession.in
+++ b/data/Xsession.in
@@ -153,6 +153,8 @@ if [ -n "$GDM_LANG" ]; then
export LANG
fi
+xhost +si:localuser:`id -un` || :
+
# run all system xinitrc shell scripts.
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for i in /etc/X11/xinit/xinitrc.d/* ; do