when xdm is the default-display-manager, my computer can't display login window when boot with 'Ubuntu, with Linux 3.0.0-12-generic'. I have to choose 'Ubuntu, with Linux 3.0.0-12-generic (recovery mode)' first, then choose "resume..." to get to the gdm login window, and there is no way to choose which desktop to use (gdm, kdm, etc).
onega@ub-laptop:~$ cat/etc/X11/default-display-manager
/usr/bin/xdm
change default-display-manager to gdm fixed my problems.
onega@ub-laptop:~$ cat/etc/X11/default-display-manager
/usr/sbin/gdm