Can't save VPN passwords in Network manager (Xubuntu 16.04)

In Ubuntu 18.04 and previously in 16, you can allow saving of the VPN password by clicking the question mark

ubuntu vpn settings

This lists your options including:

  • Store the password only for this user
  • Store the password for all users
  • Ask for the password every time
  • The password is not required

If you choose one of the first two it should save the password for you.

The changes will also show in: /etc/NetworkManager/system-connections/{VPN Connection name} file


I almost feel that this question should be deleted, since I was incorrect that I wasn't able to save VPN passwords in network-manager. In fact, what was happening was that the passwords were being saved (probably in my keyring), but that they just weren't being displayed back to me when I re-opened network manager. This makes sense from a security standpoint, but I just didn't realize that was the expected behavior. On top of this, I had an unrelated issue with actually connecting to the internet via my VPN, so that confounded this issue. Perhaps posting this will help someone else.