I also use the vga=791 parameter, and I can confirm Renzo Bagnati report. See Renzo report here: https://launchpad.net/distros/ubuntu/+source/kdebase/+bug/63615/comments/15 -- (kdm) wrong keyboard behavior at first login https://launchpad.net/bugs/63615