I was testing Fedora 21 alpha and in process of setting the development environment. But today morning I ended up in a login screen loop which drove me crazy!
Upon investigation I realized that the issue was because I edited the /etc/environment for adding path which was somehow not correct.
I logged in to recovery console and removed it and this fixed the issue..
.
Fedora 21 – Login Screen Loop