Cannot start VPN from command line
I'm running RiseupVPN 0.21.2 on Arch Linux. When I try to run the VPN from the command line (using riseup-vpn --start-vpn on
as mentioned in help), I get this:
qrc:/qml/main.qml:150:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
QSystemTrayIcon::setVisible: No Icon set
qrc:/qml/main.qml:19:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qml: systray init completed
qml: show systray
qml: Platform: linux
qml: DEBUG: Pre-seeded providers:
qml: {
"default": "riseup",
"providers": [
{
"apiURL": "https://api.black.riseup.net/",
"applicationName": "RiseupVPN",
"askForDonations": "true",
"auth": "anon",
"authEmptyPass": "false",
"binaryName": "riseup-vpn",
"caCertString": "-----BEGIN CERTIFICATE-----
[confidential]
-----END CERTIFICATE-----",
"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": "2021-02-08 23:57:09",
"tosURL": "https://riseup.net/tos"
}
]
}
2021/05/06 00:31:57 -start-vpn should be 'on' or 'off'
2021/05/06 00:31:57 Client expects anon auth
The log stays at this and the VPN icon appears on the systray (but it shows 'X' in the icon and 'RiseupVPN off' upon right-click). When I start the VPN from this systray icon, the log shows (in continuation to the above log):
2021/05/06 00:35:15 Fetching certificate to /tmp/leap-303853007/openvpn.pem
[confidential]
2021/05/06 00:35:20 New connection into the management
2021/05/06 00:35:20 Event: INFO: OpenVPN Management Interface Version 3 -- type 'help' for more info
2021/05/06 00:35:20 Event: AUTH
2021/05/06 00:35:22 Event: GET_CONFIG
[confidential]
But isn't just --start-vpn on
supposed to launch and start the VPN? I tried both --start-vpn on
and --start-vpn 'on'
, but neither of them works. Is there any other parameter I need to set?