0

I'm testing a feature in psensor that requires root privilege but the app indicator applet didn't show in the unity panel when I launched the app with gksu except when it's started as normal user. Is there any workaround for this?

3
  • export DISPLAY = :0 Jul 17, 2012 at 6:49
  • That env var is already set to ":0"
    – Flint
    Jul 17, 2012 at 7:34
  • does psesnor have a dbus api? there's that or policykit Jul 17, 2012 at 10:05

1 Answer 1

1

AFAIK, there is only one feature of psensor which requires root privilege, the disk monitoring using the atasmart library (--use-libatasmart). You can use the hddtemp instead. Do you have a specific reason to use libatasmart?

Eventually, you can change the permission of the disk that you want to monitor to avoid the need of being root, but it will open a security hole...

psensor does not use directly dbus, but the appindicator library does...

It sounds like the issue is at dbus level: https://bugs.launchpad.net/indicator-appmenu/+bug/592842

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .