Network Manager Fails to Automatically Connect to VPN After User Login

Bug #1585202 reported by ptah on 2016-05-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)

Bug Description

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 in the system tray after login results in normal 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 allow 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.

Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in network-manager (Ubuntu):
importance: Undecided → Low
ptah (brett-h-l) wrote :

I'm new to bug reporting so help me understand how this is a Gnome issue? How do I differentiate between an Ubuntu bug and a bug that belongs elsewhere even though it occurs while using Ubuntu?

ptah (brett-h-l) wrote :

Bug 766841 in Bugzilla

ptah (brett-h-l) wrote :
Sebastien Bacher (seb128) wrote :

Thanks, reporting issues in Ubuntu is fine but often issues are in the upstream code and you have a better chance of somebody knowing the code looking at it there

Changed in network-manager (Ubuntu):
status: New → Triaged
Changed in network-manager:
importance: Unknown → Medium
status: Unknown → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.