Ok, I've figured it out. Somehow, ~/.Xauthority was wrong. Since the script to lock the screen called /usr/share/acpi-support/power- funcs:getXuser(), it set $XAUTHORITY to point to my homedir, while everything else was using a file in /tmp. The files $XAUTHORITY and ~/.Xauthority differed*, which is wrong. I'm not sure why this happened.
*I mean I know they are different files, but they had different contents as well. -- lock screen fails after 6.06.1 update https://launchpad.net/bugs/55511 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
