Exactly same thing happen to me. Ubuntu 6.06, GDM 2-14.10-0ubuntu1. Second login always failed, so there is a problem. -- gdm write error to authorization file https://launchpad.net/bugs/53074