How to install network-manager-openconnect-gnome from source

Asked by David McCallum

I'm trying to fix what I believe is a bug in network-manager-openconnect-gnome. I've made the change and compiled my code, but it doesn't seem to affect the "Connect to VPN" window I'm trying to modify. I've identified the following files that need to be updated:

/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-vpn-plugin-openconnect-editor.so
/usr/share/gnome-vpn-properties/openconnect/nm-openconnect-dialog.ui
/usr/share/metainfo/network-manager-openconnect.metainfo.xml

When I overwrite those files with my own, nothing changes. In fact, I find that I can even delete these files and reboot the computer, and the VPN window still appears. Which makes no sense to me. These are the files that are installed by network-manager-openconnect-gnome, and uninstalling through synaptic causes the window to vanish. But deleting them manually has no effect?

What am I doing wrong?

Here is a screenshot of the window I'm talking about: www.junction404.com/group_error.png (You can ignore the red arrow)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu network-manager-openconnect Edit question
Assignee:
No assignee Edit question
Solved by:
David McCallum
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Maybe you are misinterpreting things.

As far as I know, the "standard" network-manager and network-manager-gnome programs already contain VPN functions.
The task of the network-manager-openconnect and network-manager-openconnect-gnome packages is adding specific controls to the screen for entering the openconnet-specific data.

In the screen shot that you linked I see no openconnect-specific information. So I assume that this is just the "standard" network-manager-gnome screen.

Which Ubuntu release are you running?
The suspected bug that you mentioned, did you already report it in Bug #1997277 ?

Revision history for this message
David McCallum (dmccallum9) said :
#2

> Maybe you are misinterpreting things.

Turns out you are right!

> In the screen shot that you linked I see no openconnect-specific information. So I assume that this is just the "standard" network-manager-gnome screen.

Yep, that was it. I hadn't realized that both network-manager-openconnect and network-manager-openconnect-gnome came from the same source archive, so I wasn't copying all the binary files over.

> Which Ubuntu release are you running?

The Jammy one.

> The suspected bug that you mentioned, did you already report it in Bug #1997277 ?

Yes. That's the one I'm investigating.