For me it has even been like that that I was completely sure that I wrote the correct passwords for both my layouts since I know them quite well. Still no luck. Hard to know which layout is really used, could be some obscure X configuration even for all I know.
-- Screensaver password dialog does not indicate keyboard layout https://launchpad.net/bugs/49222 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs