[BUG+PATCH] riseup-vpn does not work on phosh
Hi,
There has been a bug report recently when someone is unable to get riseup-vpn to get in phosh (on their librem device).
This seems to stem from the fact that riseup-vpn hard-codes some polkit process names in pkg/vpn/launcher_linux.go
which does not include phosh and hence fails for them with an error of not being able to find polkit running.
On adding this patch (added in for ukui as well), it seems to work fine for them (as they reported to me over IM)
--- a/pkg/vpn/launcher_linux.go
+++ b/pkg/vpn/launcher_linux.go
@@ -110,6 +110,8 @@
"gnome-flashback",
"fingerprint-polkit-agent",
"xfce-polkit",
+ "polkit-ukui-authentication-agent-1",
+ "phosh",
}
processes, err := ps.Processes()
If deemed appropriate, please consider applying.