/usr/share/ltsp/xinitrc.d/I00-xauth is in ltsp-client-core 5.3.7-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | # Generate XAUTHORITY if not already set
# NOTE: ldm generates its XAUTHORITY in the screen script, so this
# should only apply to other sessions
if [ -z "$XAUTHORITY" ] && [ -n "$DISPLAY" ]; then
rm /var/run/xauth-$DISPLAY-* 2>/dev/null
XAUTHORITY=`mktemp -u /var/run/xauth-$DISPLAY-XXXXXXXXX`
export XAUTHORITY
xauth generate $DISPLAY . trusted || true
fi
|