The gnome lock screen has been acting weird lately, I enter my password and hit enter, and after about five seconds it locks again. I then enter the password a second time, it unlocks, and I can continue doing whatever I like. Any idea on what's causing this?

I'm not using any GDM type things, just a command line and xinit to start it.