Could not find polkit agent.
When I launch riseupvpn 0.20.4-137-g2a161e0 from beta channel on Kubuntu 18.04.5 LTS from command line, I get connected to the gateway and I also see an in icon in the systray as expected. At the same time a an alert with a ok button appears stating "Could not find polkit agent." If I tap the ok button, the vpn connection gets shut down.
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/1000/snap.riseup-vpn', please create it with 0700 permissions.
Fontconfig warning: "/etc/fonts/conf.avail/53-monospace-lcd-filter.conf", line 10: Having multiple values in <test> isn't supported and may not work as expected
qml: systray init completed
qml: DEBUG: Pre-seeded providers:
qml: {
"default": "riseup",
"providers": [
{
"apiURL": "https://api.black.riseup.net/",
"applicationName": "RiseupVPN",
"askForDonations": "true",
"auth": "anon",
"authEmptyPass": "",
"binaryName": "riseup-vpn",
"caCertString": "[removed]",
"donateURL": "https://riseup.net/vpn/donate",
"geolocationAPI": "https://api.black.riseup.net:9001/json",
"helpURL": "https://riseup.net/support",
"name": "Riseup",
"providerURL": "riseup.net",
"timeStamp": "2020-10-09 22:41:19",
"tosURL": "https://riseup.net/tos"
}
]
}
2020/10/17 00:14:09 Client expects anon auth
2020/10/17 00:14:09 Fetching certificate to /tmp/leap-879447430/openvpn.pem
2020/10/17 00:14:11 Got sorted gateways: [shag.riseup.net redshank.riseup.net hornero.riseup.net zarapito.riseup.net hoatzin.riseup.net mouette.riseup.net pie.riseup.net hirondelle.riseup.net fournier.riseup.net gaei.riseup.net yal.riseup.net cisne.riseup.net swan.riseup.net garza.riseup.net]
2020/10/17 00:14:11 Picked best gateways for location: [{{[{openvpn [tcp] [443] map[]}]} shag.riseup.net 212.83.182.127 amsterdam} {{[{openvpn [tcp] [443] map[]}]} redshank.riseup.net 212.83.165.160 amsterdam} {{[{openvpn [tcp] [443] map[]}]} hornero.riseup.net 212.129.4.141 amsterdam}]
2020/10/17 00:14:11 firewall start
2020/10/17 00:14:11 openvpn start: [--auth SHA1 --cipher AES-128-CBC --keepalive 10 30 --tls-cipher DHE-RSA-AES128-SHA --tun-ipv6 --remote 212.83.182.127 443 tcp4 --remote 212.83.165.160 443 tcp4 --remote 212.129.4.141 443 tcp4 --verb 1 --management-client --management 127.0.0.1 6061 --ca /tmp/leap-879447430/cacert.pem --cert /tmp/leap-879447430/openvpn.pem --key /tmp/leap-879447430/openvpn.pem]
2020/10/17 00:14:11 Checking if polkit is running after attempted launch
2020/10/17 00:14:11 no polkit
qml: ERRORS: nopolkit
qml: ERRORS: nopolkit
qml: ERRORS: nopolkit
2020/10/17 00:14:11 New connection into the management
2020/10/17 00:14:11 Event: INFO: OpenVPN Management Interface Version 1 -- type 'help' for more info
2020/10/17 00:14:12 Event: WAIT
qml: ERRORS: nopolkit
2020/10/17 00:14:12 Event: AUTH
qml: ERRORS: nopolkit
2020/10/17 00:14:14 Event: GET_CONFIG
qml: ERRORS: nopolkit
2020/10/17 00:14:14 Event: ASSIGN_IP: 10.41.0.46
qml: ERRORS: nopolkit
2020/10/17 00:14:14 Event: CONNECTED: 212.83.182.127
qml: ERRORS: nopolkit
[tap on ok button]
2020/10/17 00:24:38 Close: cleanup and vpn shutdown...
2020/10/17 00:24:38 firewall stop
2020/10/17 00:24:38 openvpn stop
2020/10/17 00:24:39 Close: cleanup and vpn shutdown...
2020/10/17 00:24:39 firewall stop
2020/10/17 00:24:39 Event: EXITING: SIGTERM
2020/10/17 00:24:39 openvpn stop