summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2020-10-29 20:57:59 +0100
committerRuben Pollan <meskio@sindominio.net>2020-10-30 17:58:07 +0100
commit0157c64491c7c88991ade69ba163e44225b039dc (patch)
treee4c95debf8522f3ff28531aca1902d8539dcb05e /pkg
parent0235b6ce9c2448150015ed285981d8b073bc4dee (diff)
[bug] detect correctly polkit in kde and lubuntu
- Resolves: #374
Diffstat (limited to 'pkg')
-rw-r--r--pkg/vpn/launcher_linux.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/vpn/launcher_linux.go b/pkg/vpn/launcher_linux.go
index b91bb3e..3e872cd 100644
--- a/pkg/vpn/launcher_linux.go
+++ b/pkg/vpn/launcher_linux.go
@@ -100,9 +100,10 @@ func isPolkitRunning() (bool, error) {
// TODO shouldn't we also check for polkitd running?
var polkitProcNames = [...]string{
"polkit-gnome-authentication-agent-1",
- "polkit-kde-authentication-agent-1",
+ "polkit-kde-auth",
"polkit-mate-authentication-agent-1",
"lxpolkit",
+ "lxqt-policykit-agent",
"lxsession",
"gnome-shell",
"gnome-flashback",