/usr/share/ltsp/xinitrc.d/I00-cluster 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 11 12 | # sourced
if [ -f /etc/ltsp/getltscfg-cluster.conf ]; then
if ( boolean_is_true "$LDM_AUTOLOGIN" || boolean_is_true "$LDM_GUESTLOGIN" ) && [ -z "$LDM_USERNAME" ]; then
login=$(echo "username" | nc $nc_q_param $LDM_SERVER 8001 | awk '{print $2}')
export LDM_USERNAME=$login
fi
if ! boolean_is_true "$CLUSTER_CONFIGURED" && [ -n "$(which ltsp-cluster-info)" ]; then
export HOME=/root/
ltsp-cluster-info
fi
fi
|