Maybe this bug has to be assigned to networkmanager or nm-applet. I am not sure but I suspect it is related to the bump of networkmanager to 1.2.4. When trying to use a VPN connection from nm-applet nothing happens. Starting nm-applet in a terminal will only reveal the following line when I unsuccessfully try to use a VPN connection: (nm-applet:5603): nm-applet-WARNING **: VPN Connection activation failed: (org.freedesktop.NetworkManager.ConnectionNotAvailable) The VPN service 'org.freedesktop.NetworkManager.openconnect' was not installed. I have net-misc/networkmanager-openconnect installed (version 1.2.4). Running NM_SERIAL_DEBUG=1 NetworkManager --no-daemon 2>&1 | tee /tmp/nm-serial.txt did not provide any additional insight either.
This could be due to the --without-libnm-glib configure option as main NM is still built with nm-glib compat (as it is needed by many other reverse deps that are not NM plugins) In summary, it would be helpful if you could try to recompile it without that option and test if that fixes this (and all the other 1.2.4 bugs)
I tried compiling in a local overlay removing --without-libnm-glib from the ebuild (and even adding --with-libnm-glib), and this did not fix the issue. I also tried putting installing =net-misc/networkmanager-openconnect-1.2.2 from a local overlay and this also did not fix the issue. Regardless of whether or not --without-libnm-glib was present in the ebuild, the following appeared at the end of the build: * Removing unnecessary /usr/lib64/NetworkManager/libnm-openconnect-properties.la (no static archive) * Removing unnecessary /usr/lib64/NetworkManager/libnm-vpn-plugin-openconnect.la (no static archive) >>> Completed installing networkmanager-openconnect-1.2.<2 or 4> into /var/tmp/portage/net-misc/networkmanager-openconnect-1.2.<2 or 4>/image/ * Final size of build directory: 13992 KiB * Final size of installed tree: 2656 KiB strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version usr/libexec/nm-openconnect-service usr/lib64/NetworkManager/libnm-vpn-plugin-openconnect.so usr/libexec/nm-openconnect-service-openconnect-helper usr/lib64/NetworkManager/libnm-openconnect-properties.so usr/libexec/nm-openconnect-auth-dialog ecompressdir: bzip2 -9 /usr/share/doc
To be clear, I can connect successfully using "nmcli --ask c u <VPN NAME>" with =net-misc/networkmanager-1.2.4 from the official tree, but toggling the VPN switch in any networkmanager GUI settings results in the VPN switching off immediately without showing any prompt.
Update: (comment from https://bugs.gentoo.org/show_bug.cgi?id=610034) Installing =net-misc/networkmanager-openconnect-1.2.4 from a local overlay with the line --without-libnm-glib \ removed does not fix the problem (even after rebooting). However, for me, everything worked again after installing =net-misc/networkmanager-openconnect-1.2.2 from a local overlay (by copying networkmanager-openconnect-1.2.4.ebuild and renaming it to networkmanager-openconnect-1.2.2.ebuild, removing the --without-libnm-glib line) and then rebooting.
I have a similar issue with et-misc/networkmanager-openconnect-1.2.4-r1 nmcli connects to my vpn, via gui it doesn't (reversed journalentry): Jan 20 22:38:07 eg-server NetworkManager[17620]: <info> [1516484287.7132] vpn-connection[0x...,"Name",0]: VPN service disappeared Jan 20 22:38:07 eg-server NetworkManager[17620]: <info> [1516484287.7123] vpn-connection[0x...,"Name",0]: VPN plugin: state changed: stopped (6) Jan 20 22:38:07 eg-server NetworkManager[17620]: <error> [1516484287.7102] vpn-connection[0x....,"Name",0]: Failed to request VPN secrets #3: No agents were available for this request. Jan 20 22:38:07 eg-server NetworkManager[17620]: <info> [1516484287.6965] vpn-connection[0x...,"Name",0]: Saw the service appear; activating connection Jan 20 22:38:07 eg-server NetworkManager[17620]: <info> [1516484287.6840] vpn-connection[0x...,"Name",0]: Started the VPN service, PID 17671 Jan 20 22:38:07 eg-server NetworkManager[17620]: <info> [1516484287.6763] audit: op="connection-activate" uuid="6f..." name="NAme" pid=17654 uid=1000 result="success"
Pls ignore, it works on anonther box so no bug...
Is this still a problem?
Hi, I am now at version 1.2.6 and I do get a pop-up window asking me for a password when connecting to VPN. I don't have an account for that VPN anymore, so I can test for a successful connect/login to the VPN, but the pop-up window is certainly the fix to my initial report of "nothing happens". I am marking this ticket RESOLVED & FIXED. Thank you for your time and cooperation!