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?
On Ubuntu 10.04, both autofs and GDM are Upstart (
However, since neither has an explicit dependency on the other, there is nothing enforcing that GDM starts after autofs, so there is a race condition between the two.
The best way to solve this is to reconfigure GDM to only start once autofs has started. To do this, edit
add an additional clause so that it reads