From 0157c64491c7c88991ade69ba163e44225b039dc Mon Sep 17 00:00:00 2001
From: Ruben Pollan <meskio@sindominio.net>
Date: Thu, 29 Oct 2020 20:57:59 +0100
Subject: [PATCH] [bug] detect correctly polkit in kde and lubuntu

- Resolves: #374
---
 pkg/vpn/launcher_linux.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pkg/vpn/launcher_linux.go b/pkg/vpn/launcher_linux.go
index b91bb3e5..3e872cd4 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",
-- 
GitLab