-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: unable to load VPN connection editor #319
Comments
@k0rz3ni3wsky Once you've created your connection, use |
@claudiux I think the issue is bigger than that, other network plugins fail in a similar way. |
@leigh123linux We're not going to rewrite the NetworkManager code, are we? |
|
@leigh123linux You're right. In particular, the different types of VPN are poorly managed. Anything else? |
Same issue when setting up an OpenConnect VPN connection on Mint 22 |
I did the following modification to print out an error when trying to load a GTK3 VPN plug-in with cinnamon-control-center: diff --git a/panels/network/connection-editor/ce-page-vpn.c b/panels/network/connection-editor/ce-page-vpn.c
index a2aaa5d..fc70538 100644
--- a/panels/network/connection-editor/ce-page-vpn.c
+++ b/panels/network/connection-editor/ce-page-vpn.c
@@ -93,10 +93,12 @@ load_vpn_plugin (CEPageVpn *page, NMConnection *connection)
{
CEPage *parent = CE_PAGE (page);
GtkWidget *ui_widget, *failure;
+ GError *err = NULL;
page->editor = nm_vpn_editor_plugin_get_editor (page->plugin,
connection,
- NULL);
+ &err);
+
ui_widget = NULL;
if (page->editor)
ui_widget = GTK_WIDGET (nm_vpn_editor_get_widget (page->editor));
@@ -104,6 +106,8 @@ load_vpn_plugin (CEPageVpn *page, NMConnection *connection)
if (!ui_widget) {
g_clear_object (&page->editor);
page->plugin = NULL;
+ g_warning ("Could not load VPN editor plugin: %s", err ? err->message : "Unknown error");
+ g_error_free (err);
return;
}
vpn_cinnamonify_editor (ui_widget); The error turns out to be the following for GTK3 VPN plugins like sstp, l2tp and openconnect that are using
There used to be a workaround in place for Note: |
Hi: Any news on when this will be fixed or if there's a temporary workaround? Thank you! |
|
Distribution
Mint 21.2
Package version
Cinnamon 5.8.4
Graphics hardware in use
NVIDIA Geforce RTX 3060Ti LHR
Frequency
Always
Bug description
When trying to establish VPN connection using Secure Socket Tunneling Protocol (SSTP) the following error message shows up in the "Add VPN" window: "Error: unable to load VPN connection editor". Basically when trying to establish connection using this protocol there is no option to fill Gateway, Username, password fields etc.
Steps to reproduce
Expected behavior
Instead of the error message being shown, there should be option to fill in neccessary information such as Gateway or User Name
Additional information
No response
The text was updated successfully, but these errors were encountered: