You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-apps/xinit/files/00-xhost

8 lines
255 B

#!/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