Bug 253231 - sysutils/gsmartcontrol: fix when using PolKit
Summary: sysutils/gsmartcontrol: fix when using PolKit
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-03 20:17 UTC by Lars Herschke
Modified: 2021-02-04 14:10 UTC (History)
1 user (show)

See Also:


Attachments
Patch to solve the problem described (561 bytes, patch)
2021-02-03 20:17 UTC, Lars Herschke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Herschke 2021-02-03 20:17:01 UTC
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.
Comment 1 Lars Herschke 2021-02-03 20:25:51 UTC
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:
Comment 2 Fernando Apesteguía freebsd_committer 2021-02-04 14:10:41 UTC
^Triage: [tags] in issue Titles are deprecated