Thanks for reply.. :)
The keyboard layout was changed after defining the password. I am able to log
in through terminal and change the password through sudo passwd command. the
problem still persists as i am unable to log in to Graphical interface even
if i click alt+f7 after logging in through terminal (i am shown the same
enter password page).
I have tried entering password in both layouts, it seems the password is not
the problem as it does not show invalid password error in red. It tries to
accept it but loops back to the same screen.
i am new to gnulinux and unable to follow 3rd paragraph. what will following
the last line achieve ?