network-manager-wireguard
network-manager-wireguard copied to clipboard
Ubuntu 18.10 Install Path Wrong
I followed the instructions including the fix for Ubuntu 18.04 given in #3
When I try to add the VPN connection using the gnome network settings, I see the following message in place of the configuration dialog
{Error: unable to load VPN connection editor
It seems to work from nm-connection-editor
though
Screenshot:
Nevermind I misunderstood the nm-connection-editor
window, it is not loading in that either
I was able to find out using nm-connection-editor
that the error is because of
** (nm-connection-editor:25609): WARNING **: 22:10:15.582: Could not load editor VPN plugin for “org.freedesktop.NetworkManager.wireguard” (missing plugin file "/usr/local/lib/NetworkManager/libnm-vpn-plugin-wireguard-editor.so").
The problem is I have no idea why it would be looking in that path, I tried every combination of libdir/sysdir options to make that I could think of and nothing fixed it. Finally I just copied over that .so file to the /usr/local/... path and of course that worked (or at least the UI is displaying without error).
It would be good to find out why this happens though and maybe make the install process a little smoother
Ok, had the same issue on Ubuntu 18.10 using Gnome. In both properties= and plugin= in the .name file (which should really be under /usr/lib/NetworkManager/VPN) I had /usr/local/lib... when it should be /usr/lib/...
Also, the directory /usr/local/lib/Networkmanager should not had been created in the first place, it is empty if not for the files installed by this code.