You must remove all the /etc/rc?.d/ references of xsession, xdm and kdm, and put.
Inside of /etc/rc5.d/ you must have something like S99gdm, and I think all will be correct

Good Luck