From 0157c64491c7c88991ade69ba163e44225b039dc Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Thu, 29 Oct 2020 20:57:59 +0100 Subject: [bug] detect correctly polkit in kde and lubuntu - Resolves: #374 --- pkg/vpn/launcher_linux.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/vpn/launcher_linux.go') 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", -- cgit v1.2.3