This could be related to upstart. I have a similar problem, where the keyboard does not work after the boot process is complete. By logging in remotely to the computer I shut down GDM and X, and on the VT below there was a terminal with the text: "The system has reached a state where there are no jobs running.", and that it would open a shell instead. This shell seemed to have received some of the keyboard input that was attempted while GDM was running.
Although, I have no knowledge about the workings of upstart, I am suspecting that it might have some relation to the boot process. It was not experienced until sysvinit was replaced by upstart. -- keyboard not working after logging in via gdm https://launchpad.net/bugs/59616 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs