It seems as if the usage of pam_tmpdir /etc/pam.d/common-session: session optional pam_tmpdir.so had caused the problem. After removing that logging in worked three times. Some incompatibility between gdm and libpam? -- gdmgreeter hangs https://launchpad.net/bugs/68136