Some time ago I created a VPN connection using Ubuntus own Network Manager, which worked fine! Now, a few months later, I want to go in and edit the connections details, but instead I get this error: unable to load VPN connection editor.
Any idea how this could be solved?
[UPDATE]
Starting the connection manager manually with nm-connection-editor lets you edit the settings, but that still leaves the original error.
6 Answers
Run
sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnomeThis will prompt for both your password, and a Y/n answer, please provide it with your password, and Y.
1If you use a vpnc connection, like with FritzBox routers, run
sudo apt install network-manager-vpnc network-manager-vpnc-gnome The answers are quite specific. What helped me was indeed:
Running
nm-connection-editorfrom the terminalThe following warning gives you the hint to the missing dependency
Could not load editor VPN plugin for “org.freedesktop.NetworkManager.XYZ” (missing plugin file "/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-vpn-plugin-XYZ-editor.so").
- Install the missing dependency via
sudo apt-get install network-manager-XYZ-gnome, i.e. using one of
- network-manager-l2tp-gnome
- network-manager-openconnect-gnome
- network-manager-pptp-gnome
- network-manager-vpnc-gnome
- network-manager-openvpn-gnome
- ...
With the missing /usr/lib/x86_64-linux-gnu/NetworkManager/libnm-vpn-plugin-XYZ-editor.so now installed on your system, the network editor will continue working like a charm.
1Try this:
sudo apt-get install network-manager-pptp-gnome 3 I have had a similar issue on Ubuntu 18.04 which persisted after installing all the dependencies listed in other answers.
Starting nm-connection-editor from terminal logged the warning below
** (nm-connection-editor:8495): WARNING **: 19:18:23.811: Could not load editor VPN plugin for “org.freedesktop.NetworkManager.l2tp” (missing plugin file "/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-vpn-plugin-l2tp-editor.so").
and the answer to that was
sudo apt install network-manager-l2tp-gnome
sudo service network-manager restartas given in How do I connect to L2TP over IPsec using Network Manager?.
On Ubuntu 20.04 it was network-manager-openconnect-gnome:
sudo apt install network-manager-openconnect-gnome