I tried adding this line to /etc/X11/xdm/XResources: xlogin*allowNullPasswd: true in order to allow a user with no passwd to log in. (First I verified that the user can log in from the console, and yes, indeed it does not ask for a password.) Then I restarted xdm and tried to log in. The first time, it asks for a password, I leave the field empty, and fail to log in. The second time however, after having failed to log in, I simply type the same username again, and it does not prompt for a password, but immediately logs in, as it should have done the first time. If I log out and get back to the xdm prompt, the whole sequence can be repeated (user, empty password, fail; username, login successful). Reproducible: Always Steps to Reproduce: 1.add to /etc/X11/xdm/XResources 2./etc/init.d/xdm restart 3.type the username 4.for the password field, just hit enter 5.type the username 6.login successful Actual Results: must try to log in twice before it works Expected Results: should log in the first time, with no password The line in /etc/shadow for this user looks like this: s::13846:0:99999:7::: Portage 2.1.3.19 default-linux/x86/2007.0, gcc 4.1.2, glibc 2.6.1-r0, 2.6.22-gentoo-r9 use flags for xdm: ipv6 pam
Try w/ 1.1.6 and report back, please.
(In reply to comment #1) > Try w/ 1.1.6 and report back, please. I just emerged 1.1.6 and restarted xdm. The behavior is the same.
This appears likely to be an upstream Xorg bug. Please search bugs.freedesktop.org (xorg product) for your issue, and file a new bug if you do not find it. Next, please post the URL of your bug here so everyone can track it. Finally, we can incorporate the fix into Gentoo once it is fixed upstream, if you reopen the bug at that point to let us know.
see https://bugs.freedesktop.org/show_bug.cgi?id=13455