[Pkg-acpi-devel] Bug#558216: followup

William Hopkins we.hopkins at gmail.com
Fri Nov 27 05:54:33 UTC 2009


followup note: I have discovered that /etc/acpi/lid.sh calls the getXuser function, sourced from /usr/share/acpi-support/power-funcs.
This function finds the current logged-on users via w -hs, and then exports the XAUTHORITY variable from there. This does not take into account the fact that w -hs will truncate long usernames (such as my own), and thus fails
running lid.sh returns "username" (truncated) not found





More information about the Pkg-acpi-devel mailing list