It somehow happened that you've changed your Display Manager from KDM to XDM.
Change it back!
(During installing the video drivers, there's supposed to be a question: what display manager do you want to use by default?)
What distro?
In debian, you do
Code:
dpkg-reconfigure xserver-xfree86
.