I have a machine (with mythtv installed) which automatically login a user, whose home directory is located on a server accessed by NFS4. In about 6 of 10 times it works like a charm, but sometimes the login stops because the home directory is not yet accessible. The home directory mount is mananged by autofs (using LDAP) and NFS4 on client and server (running Ubuntu 10.04). Any ideas, how to configure 'wait until home is ready' for my auto-login?