Ubuntu, ecryptfs, and changing password

I changed my password on my Ubuntu system this week, and then found that I couldn’t log in, except on a virtual terminal.

My home directory is encrypted, and apparently, it’s better to change a password using the graphical utilities, rather than the command line utilities. The following article was quite helpful in recovering:

http://askubuntu.com/questions/281491/cant-log-in-after-password-change-ecryptfs