GNOME Bugzilla – Bug 766841
Network Manager Fails to Automatically Connect to VPN After User Login
Last modified: 2020-11-12 14:30:42 UTC
Ubuntu 16.04 (Unity) with Ethernet connection set to automatically connect to VPN in Network Manager after user login (to Ubuntu desktop). Network Manager does not automatically connect to VPN after login. Manually selecting the VPN connection from Network Manager applet in the system tray after login results in normal VPN connection. Changing "password-flags=1" to "password-flags=0" in the VPN configuration file in /etc/NetworkManager/system-connections, Network-Manager adds "password=XXXX" to that configuration file where XXXX is VPN connection password in plain text. This change allows Network Manager to connect to VPN automatically after user login. Having to store VPN password in plain text in order for Network Manager to automatically connect is not secure. It appears Network Manager cannot obtain VPN password from Seahorse after user login. However Network Manager can obtain VPN password from Seahorse if VPN auto connect is turned off and user selects VPN connection manually from Network Manager applet.
bugzilla.gnome.org is being shut down in favor of a GitLab instance. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time. If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/ Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).