/etc/X11/Xsession.d/09debian-edu-missing-home is in debian-edu-config 1.818+deb8u2.
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 13 14 15 16 17 18 19 20 | #!/bin/sh
# Give a clue to why the home directory is missing.
# Should not update hostname on Main-Server, Roaming-Workstation and Standalone
if [ -r /etc/debian-edu/config ] ; then
. /etc/debian-edu/config
if echo "$PROFILE" | egrep -q 'Workstation|Thin-Client-Server|Minimal' ; then
if [ ! -d $HOME -o / = "$HOME" ] ; then
cat <<EOF | \
xmessage -buttons Understood:0 -timeout 30 -center -file -
Missing user home directory.
Check if the current computer DNS name is in the NIS netgroup
workstation-hosts and authorized to mount the home directories from
the NFS server. This is done using Gosa, https://www/gosa/ .
EOF
exit 1
fi
fi
fi
|