After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 766841 - Network Manager Fails to Automatically Connect to VPN After User Login
Network Manager Fails to Automatically Connect to VPN After User Login
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: VPN: openvpn
1.1.x
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-05-24 14:04 UTC by brett
Modified: 2020-11-12 14:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description brett 2016-05-24 14:04:26 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.
Comment 1 André Klapper 2020-11-12 14:30:42 UTC
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).