summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/feature_support-mate-polkit-agent1
-rw-r--r--src/leap/bitmask/services/eip/linuxvpnlauncher.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/changes/feature_support-mate-polkit-agent b/changes/feature_support-mate-polkit-agent
new file mode 100644
index 00000000..70ceb567
--- /dev/null
+++ b/changes/feature_support-mate-polkit-agent
@@ -0,0 +1 @@
+- Add support for Mate's polkit agent.
diff --git a/src/leap/bitmask/services/eip/linuxvpnlauncher.py b/src/leap/bitmask/services/eip/linuxvpnlauncher.py
index d24e7ae7..8747daa6 100644
--- a/src/leap/bitmask/services/eip/linuxvpnlauncher.py
+++ b/src/leap/bitmask/services/eip/linuxvpnlauncher.py
@@ -66,6 +66,7 @@ def _is_auth_agent_running():
polkit_options = [
'ps aux | grep polkit-[g]nome-authentication-agent-1',
'ps aux | grep polkit-[k]de-authentication-agent-1',
+ 'ps aux | grep polkit-[m]ate-authentication-agent-1',
'ps aux | grep [l]xpolkit'
]
is_running = [commands.getoutput(cmd) for cmd in polkit_options]