Created attachment 1193952 [details] image of the missing VPN tab when editing a OpenVPN connection Description of problem: After installing NetworkManager-openvpn no VPN tab is visible when trying to add an OpenVPN connection. Version-Release number of selected component (if applicable): NetworkManager 1.2.4 2.fc24 NetworkManager-openvpn 1.2.4 2.fc24 How reproducible: Every time on my F24 Xfce install, including erasing and reinstalling the NetworkManager-openvpn package Actual results: No "VPN" tab, only "General", "IPv4 Settings" and "IPv6 Settings" show up when adding an OpenVPN connection Expected results: "VPN" tab showing up so I can add my username/password, CA... Additional info: see attachment
will work if the package: NetworkManager-openvpn-gnome is installed Is it possible to add this package as dependency to NetworkManager-openvpn?
(In reply to Marius Pfeffer from comment #1) > will work if the package: NetworkManager-openvpn-gnome is installed > > Is it possible to add this package as dependency to NetworkManager-openvpn? no, because NetworkManager-openvpn-gnome has a dependency on GTK, while NetworkManager-openvpn package has not. That is the reason for the split of the package. I am surprised that you can even edit the connection. That seems wrong and doesn't happen for me. After I remove NetworkManager-openvpn-gnome package (only leaving the NM-openvpn package), trying to edit a openvpn connection with nm-c-e results in a failure: Could not load editor VPN plugin for 'org.freedesktop.NetworkManager.openvpn' (missing plugin file "/usr/lib64/NetworkManager/libnm-vpn-plugin-openvpn-editor.so").
NetworkManager-openvpn-gnome is installed by default in Workstation, as well as in the Cinnamon and MATE spins. You might want to report this to the Xfce spin maintainers.
(In reply to Michael Catanzaro from comment #3) > NetworkManager-openvpn-gnome is installed by default in Workstation, as well > as in the Cinnamon and MATE spins. You might want to report this to the Xfce > spin maintainers. an interesting question is, why you see a crippled dialog without VPN tab. It should show the error message from comment 2 caused by the missing plugin.
(In reply to Thomas Haller from comment #4) > an interesting question is, why you see a crippled dialog without VPN tab. > It should show the error message from comment 2 caused by the missing plugin. I've tried removing NetworkManager-openvpn-gnome and same result (no VPN tab, no error message) appeared again. Seems to be reproducible.
can you copy&paste the messages you see when reproducing this with nm-connection-editor started in a terminal? Thanks
With NetworkManager-openvpn-gnome uninstalled: $ nm-connection-editor ** Message: vpn: (l2tp,/usr/lib/NetworkManager/VPN/nm-l2tp-service.name) file "/usr/lib64/NetworkManager/libnm-vpn-plugin-l2tp.so" not found. Did you install the client package? Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. Now I'm pressing Add, select OpenVPN and Create. Cripled (VPN missing) window and separate XFCE Policy Agent pops up. ** Message: Cannot save connection due to error: Editor initializing... ** (nm-connection-editor:18250): WARNING **: Could not load VPN user interface for service 'org.freedesktop.NetworkManager.openvpn': missing plugin file "/usr/lib64/NetworkManager/libnm-vpn-plugin-openvpn-editor.so". (nm-connection-editor:18250): Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed (nm-connection-editor:18250): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed (nm-connection-editor:18250): Gtk-CRITICAL **: gtk_notebook_insert_page: assertion 'GTK_IS_WIDGET (child)' failed (nm-connection-editor:18250): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed (nm-connection-editor:18250): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed (nm-connection-editor:18250): libnm-CRITICAL **: nm_vpn_editor_update_connection: assertion 'NM_IS_VPN_EDITOR (editor)' failed ** Message: Cannot save connection due to error: Invalid setting VPN: unspecified error (nm-connection-editor:18250): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed (nm-connection-editor:18250): libnm-CRITICAL **: nm_vpn_editor_update_connection: assertion 'NM_IS_VPN_EDITOR (editor)' failed (nm-connection-editor:18250): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed (nm-connection-editor:18250): libnm-CRITICAL **: nm_vpn_editor_update_connection: assertion 'NM_IS_VPN_EDITOR (editor)' failed (nm-connection-editor:18250): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed (nm-connection-editor:18250): libnm-CRITICAL **: nm_vpn_editor_update_connection: assertion 'NM_IS_VPN_EDITOR (editor)' failed (nm-connection-editor:18250): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
it's really a bug in nm-connection-editor. Fixed upstream by backport https://git.gnome.org/browse/network-manager-applet/commit/?id=7179976982f0280bd7d493ebb43c79cdaf0f30ff Upstream release 1.4.0 is already fixed, and so is Fedora 25.
network-manager-applet-1.2.4-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-cd5677124a
network-manager-applet-1.2.4-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-cd5677124a
network-manager-applet-1.2.4-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
This is still reproducible in Fedora 29. NetworkManager-openvpn doesn't have NetworkManager-openvpn-gnome as a dependency (not even a weak one though arguably it's a hard dependency).
> This is still reproducible in Fedora 29. Hi, This bug is closed for a long time. If you have symptoms that look similar, they may have entirely different cause. Even if the cause happens to be the same, we need more information than simply "does not work", because the original issues are (presumably) fixed. If you don't provide new information, it's unclear how to proceed. TL;DR: please open a new bug and provide fresh informations about the issue there. Thank you!! > NetworkManager-openvpn doesn't have NetworkManager-openvpn-gnome as a > dependency (not even a weak one though arguably it's a hard dependency). NetworkManager-openvpn-gnome depends on NetworkManager-openvpn (and not the other way around). That is intended and looks correct to me.