I am not able to login to Ubuntu. It boots like normal but hangs when showing the wallpaper, without any panels loaded. The cursor is the waiting circle (hourglass equivalent) and nothing happens.
I've set to logon automatically without prompting for password, and before the last restart, I had installed Docky.
EDIT 1: I logged on to console (recovery mode) and removed all startup applications I added from ~/.config/autostart but it didn't help.
EDIT:2 I removed Docky. Still not logging in. Panels are not getting loaded and Alt+F2 doesn't work
How can I fix this problem?