Public bug reported:

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.

** Affects: acpi-support (Ubuntu)
     Importance: Undecided
         Status: New

-- 
getXuser function doesn't work for user who ran startx
https://bugs.launchpad.net/bugs/311514
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to