Bug#402087: Would be nice to fix this...
I've just installed a new system and hit this confusing "no error
message if $HOME doesn't exist" problem again. It would be great if
the code I proposed before, i.e.
# Warn if the user's home directory does not exist.
# It seems that $HOME is set to / after this script
# is executed, so we can't just compare $HOME with ~$USER.
if [ ! -d `eval echo ~$USER` ]
xmessage "Home directory does not exist!"
could be added to /etc/X11/xdm/Xstartup. Thanks.