I am using Arch Linux with Gnome and I want to use
openconnect to connect to an VPN server. I can do this at the command-line without a problem, but I can't do this with Gnome; I get the following error:
NetworkManager: <error> [1475998103.4381] vpn-connection[0x28a9530,dc5d3708-967d-4e50-90ac-d0c892fe8ab3,"nm-vpn-connection.c",0]: Failed to request VPN secrets #3: No agents were available for this request.
The ArchLinux Wiki suggests to do:
ln -s /usr/lib/networkmanager/nm-openconnect-auth-dialog /usr/lib/gnome-shell/
but this also does not solve the problem.
The problem occurs when I click on connect; I am unable to activate the VPN connection with Gnome and NetworkManager.