Created attachment 222139 [details] Patch to solve the problem described gsmartcontrol-root does not work on systems where PolKit (pkexec) is used to enter the root password.
The password can be entered, but the application does not start afterwards. The following error can be seen when calling from the command line. Unable to init server: Verbindung mit 127.0.0.1 ist gescheitert: Connection refused (gsmartcontrol:2642): Gtk-WARNING **: 20:59:04.176: cannot open display:
^Triage: [tags] in issue Titles are deprecated
Moin moin Committed with a minor change to not hard-code /usr/local. mfg Tobias
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=924cc379b6dcabc9625e6c04849f4618c739f62a commit 924cc379b6dcabc9625e6c04849f4618c739f62a Author: Lars Herschke <lhersch@dssgmbh.de> AuthorDate: 2022-01-31 19:35:33 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2022-01-31 19:40:12 +0000 sysutils/gsmartcontrol: fix binary path in policy file PR: 253231 sysutils/gsmartcontrol/Makefile | 4 +++- .../files/patch-data_org.gsmartcontrol.policy (new) | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-)
A commit in branch 2022Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f97fe90e0a0cc38a9e874fc8f5a3e76a4f042384 commit f97fe90e0a0cc38a9e874fc8f5a3e76a4f042384 Author: Lars Herschke <lhersch@dssgmbh.de> AuthorDate: 2022-01-31 19:35:33 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2022-01-31 19:41:20 +0000 sysutils/gsmartcontrol: fix binary path in policy file PR: 253231 (cherry picked from commit 924cc379b6dcabc9625e6c04849f4618c739f62a) sysutils/gsmartcontrol/Makefile | 4 +++- .../files/patch-data_org.gsmartcontrol.policy (new) | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-)