I have open-connect VPN and would like to always have a connection, even before I login with my own account.
I have Ubuntu 16.04.2,
If I run the command line
nmcli con up id <VPN connection name> it will work, however it asks for username in a pop-up window, even it remember my username in visible text; then it asks for password, even it remembers it too (with the bullets), so I cannot use the
nmcli directly to accomplish what I want.
Of course I still don't know how to make it totally headless (I mean run this before I login to Ubuntu), but that's next question after I can create something to connect the openconnect VPN without asking me the username and password.