suryadana / tpfanco

Automatically exported from code.google.com/p/tpfanco
0 stars 0 forks source link

tpfan-admin doesn't use PolicyKit #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
downloaded and installed all 3 latest deb packages in the order detailed on the 
installation wiki. Rebooted, launched admin, clicked on unlock and the admin 
window closes immediately.

Ubuntu 64bit 11.04 on LENOVO ThinkPad T60p (8741A11)

Original issue reported on code.google.com by allan.ba...@gmail.com on 9 Sep 2011 at 2:59

GoogleCodeExporter commented 9 years ago
can you start tpfan-admin from a terminal 
#tpfan-admin
and post the output after it crashes?

Original comment by DFEW.Entwickler@gmail.com on 9 Sep 2011 at 2:42

GoogleCodeExporter commented 9 years ago
Actually the problem is obvious when you launch tpfan-admin from terminal. 
FPrint is installed and is prompting in terminal for a fingerprint swipe. 
FPrint authentication is not being handled when launching tpfan-admin from 
System Settings.

Original comment by allan.ba...@gmail.com on 13 Sep 2011 at 2:13

GoogleCodeExporter commented 9 years ago
OK, I finally could reproduce your bug. The problem is that tpfan-admin doesn't 
use PolicyKit whereas FPrint assumes that all apps with GUI should use it.
https://launchpad.net/~fingerprint/+archive/fprint -> Issue 2

As for now I suggest that you use the workaround from FPrint's launchpad page, 
i.e. edit the "Thinkpad Fan Control" shortcut and replace 
"/usr/bin/tpfan-admin" by "gksu-polkit /usr/bin/tpfan-admin"

Original comment by DFEW.Entwickler@gmail.com on 17 Sep 2011 at 3:05