Files
sablink-distro/x11-apps/xinit/files/00-xhost
T

8 lines
255 B
Bash

#!/bin/sh
# Allow all local connections from the current UID
# This fixes issues with hostname changes (usually by dhcp clients)
# see bug 287498 for more info
[ -x /usr/bin/xhost ] && [ -x /usr/bin/id ] &&
xhost +si:localuser:`id -un` > /dev/null 2>&1