GNOME Bugzilla – Bug 792365
Don't show "connection.autoconnect" option for VPN's in gnome-control-center
Last modified: 2018-03-02 11:56:55 UTC
After coming back from suspension my openvpn doesn't connect automatically as configured to connect automatically. Tested on Ubuntu gnome 17.10 amd64.
There is not enough information provided to understand what happens. In general, connection.autoconnect=yes does not work for VPNs. You might want to try to set "connection.secondaries" on an underlying connection.
I remember that on a older stack and older distro it worked fine setting it all up by UI, now it seems that a lot of UI settings have been removed. I will try your advice and edit the network profile manually.
Ok, editing the file manually solved the problem but what should we do about this bug? Change component to indicate the UI?
can you describe better what you are doing, and what you think is the bug here?
The bug is that automatic connection in the VPN properties GUI is selected and it doesn't work, and as I said this all worked in an earlier gnome stack using the GUI only, it appears options have been removed from the GUI.
In nm-connection-editor, I don't see such an option for VPNs. It's unclear which GUI you are using, do you use gnome-control-center from Gnome 3? Which version of the GUI? Besides, I think that NetworkManager until now never supported autoconnect for VPNs. It's a missing feature. If the GUI exposed such a setting, was it really working with NetworkManager?
nm-connection-editor doesn't show that option, it's in the gnome-control-center where it shows, i'm using version 3.26.2 I think the setting exposed in a prior gnome-control-center was a connection.secondaries on a primary network to connect also a secondary. Should I change this bug as to gnome-control-center ?
g-c-e shouldn't have a "connection.autoconnect" option for VPN's, because it doesn't work. Also, the "connection.secondary" should possibly be shown for non VPN types. Reassigning.
Created attachment 368208 [details] [review] network: Don't show "Auto-connect" for VPNs It's not supported for VPNs.
Attachment 368208 [details] pushed as 9b9e0e0 - network: Don't show "Auto-connect" for VPNs
Does this fix implement connection.secondary for non VPN's?
(In reply to effew from comment #11) > Does this fix implement connection.secondary for non VPN's? No, it does not.