I had the same problem in Ubuntu 11.04 (32-bit). I found out that pam_listfile.so was not in /lib/security. I did a search and found it. Then I went to /etc/pam.d/gdm and changed the path from:
...