Bug#774392: debian-edu-config: the script 09debian-edu-missing-home fails to work with kdm (in jessie)
The script should inform users if the home directory isn't available and
show a hint about a possible reason and how to solve the problem.
This doesn't work anymore cause now kdm sets $HOME=/ before the script
The patch has been tested and committed to git.
diff --git a/etc/X11/Xsession.d/09debian-edu-missing-home b/etc/X11/Xsession.d/09debian-edu-missing-home
index e348bf7..ae74cdd 100755
@@ -5,14 +5,14 @@
if [ -r /etc/debian-edu/config ] ; then
if echo "$PROFILE" | egrep -q 'Workstation|Thin-Client-Server|Minimal' ; then
- if [ ! -d $HOME ] ; then
+ if [ ! -d $HOME -o / = "$HOME" ] ; then
cat <<EOF | \
xmessage -buttons Understood:0 -timeout 30 -center -file -
-Missing user home directory $HOME.
+Missing user home directory.
-Check if the current computer DNS name in the NIS netgroup
+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, http://www/gosa/ .
+the NFS server. This is done using Gosa, https://www/gosa/ .