It happened to me when I installed XFCE and kept my config files in my /home. The "default session" looked for the KDE session and when not found sent me back to login screen. Changing the session at login screen would help.