12

I have a problem with the GUI network-manager for VPN. When I use it I get an error message:

unable to load VPN network connection editor

If I use the terminal it works. How can I get the network GUI to work?. Any ideas?.

Zanna
  • 72,312

3 Answers3

20

I have just had the same problem which I fixed. I was attempting to add an OpenVPN connection (you haven't stated which type of VPN you're using) but the idea will work. I already had openvpn and network-manager-openvpn installed via apt, but I needed to add network-manager-openvpn-gnome

sudo apt install network-manager-openvpn-gnome

then restarted network manager (this kills networking until it's fully restarted)

sudo service network-manager restart

After this, I could open system settings again, go to networking and add my OpenVPN stuff.

This has been an issue for a couple of years and was answered here: Unable to load VPN connection editor in Ubuntu 14.04 LTS

Cheers

0

I have the same problem with my Ubuntu running in VMWare fusion. This works for me: Open network settings window, click on "Ifupdown (ens33)". Then you can connect VPN.

On every reboot you would need to redo it.

0
  • Made sure I had the following packages installed:

sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnome

  • Restart Network Manager:

sudo service network-manager restart

  • Made sure OpenVPN was running:

sudo service openvpn restart

I noticed the following errors in syslog grep VPN /var/log/syslog, can also check them look for them with systemctl status network-manager:

Failed to request VPN secrets #3: No agents were available for this request.

  • Opened connection with nmcli, solved the issue.

nmcli --ask connection up VPN-CONNECTION-NAME

holmberd
  • 101