[Bug 311514] Re: getXuser function doesn't work for user who ran startx
Bug Watch Updater
311514 at bugs.launchpad.net
Thu Aug 11 01:32:15 UTC 2011
** Changed in: acpi-support (Debian)
Status: Unknown => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to acpi-support in Ubuntu.
https://bugs.launchpad.net/bugs/311514
Title:
getXuser function doesn't work for user who ran startx
Status in “acpi-support” package in Ubuntu:
Fix Released
Status in “acpi-support” package in Debian:
Fix Released
Bug description:
Binary package hint: acpi-support
The getXuser function in /usr/share/acpi-support/power-funcs doesn't
work for me, as I log in on the console and then run startx. Hence,
finger does not list me as logged in to an X session, but rather as on
the tty on which I logged in. Hence, getXuser doesn't return a value,
and the scripts that rely on it don't work.
I'm not sure how to get that information, but since the X user finding
code simply enumerates the displays and tries to find the owner for
each, it would seem in the same spirit to check the output of finger,
and if there's only one user, then try that one.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/311514/+subscriptions
More information about the foundations-bugs
mailing list