1# This file is sourced by Xsession(5), not executed. 2 3# If xhost (from x11-xserver-utils) is installed, use it to give access 4# to the X server to any process from the same user on the local host. 5# Unlike other uses of xhost, this is safe since the kernel can check 6# the actual owner of the calling process. 7 8if type xhost >/dev/null 2>&1; then 9 xhost +si:localuser:root || : 10fi 11