gnome-power-manager doesn't show icon as non-root user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-power-manager (Ubuntu) |
Invalid
|
Low
|
komputes |
Bug Description
Binary package hint: gnome-power-manager
The battery icon only seems to show if I do
$ sudo gnome-power-manager
That is, if gnome-power-manager is run as root, the battery icon in the notification area in the taskbar shows. If I run as a normal user, it doesn't.
I assume that there is some permission issue.
I did an strace and it looks like a normal user gets stuck at
poll([{fd=5, events=POLLIN}, {fd=3, events=POLLIN}, {fd=11, events=
whereas the root user gets past this and starts opening up files in /usr/share/
$ lsb_release -rd
Description: Ubuntu lucid (development branch)
Release: 10.04
$ apt-cache policy gnome-power-manager
gnome-power-
Installed: 2.29.91-0ubuntu3
Candidate: 2.29.91-0ubuntu3
Version table:
*** 2.29.91-0ubuntu3 0
100 /var/lib/
ProblemType: Bug
Architecture: i386
Date: Thu Mar 4 08:01:28 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100213)
Package: gnome-power-manager 2.29.91-0ubuntu3
ProcEnviron:
PATH=(custom, no user)
LANG=C
SHELL=/bin/bash
ProcVersionSign
SourcePackage: gnome-power-manager
Uname: Linux 2.6.32-
Changed in gnome-power-manager (Ubuntu): | |
assignee: | nobody → David Bensimon (davidbensimon) |
Changed in gnome-power-manager (Ubuntu): | |
status: | Incomplete → Invalid |
BTW, this may be related to bug 529911, but I'm not sure.