04-24-2020 09:38 AM
I just switched computers and have installed the AnyConnect Mobility VPN Client for Ubuntu Linux (client version 4.6.03049) on the new computer in order to connect to my university's VPN. On my previous computer for the longest time I simply used openconnect until very recently when I discovered one (and only one) VPN-protected resource that simply would not work with openconnect (it was like the DNS server simply didn't exist - the connection attempt failed in the browser right away) but worked fine with the official AnyConnect client.
Anyway, installation on the old machine worked just fine. However, on this new machine, trying to launch the AnyConnect client (/opt/cisco/anyconnect/bin/vpnui) from the application launcher takes about 15 seconds. It eventually does open and works fine, but it is really delayed. If instead I run from the command line using 'sudo', it launches right away. Running the non-gui '/opt/cisco/anyconnect/bin/vpn' runs fast with or without sudo.
Running vpnui both with or without sudo does give the following warning - but with sudo it happens right away while without the warning takes 10 or 15 seconds:
I/O warning : failed to load external entity "/opt/cisco/anyconnect/CustomerExperienceFeedback/CustomerExperience_Feedback.xml"
Any ideas what may be the problem? The only difference between my old and new computers software-wise is that my old computer was on Xubuntu 19.10 while my new one is on the newest Xubunbu 20.04.
Also, while I'm at it - is there a way to get the VPN client to minimize to the system tray like in Windows. Right now there is an icon in the system tray but the application still takes up space in the window panel as well.
04-24-2020 07:55 PM
04-25-2020 06:58 AM
Hi - thanks for the reply!
I'm using version 4.6 as that is what is provided by my university. Is there a way to get the 4.8 client on my own? I did use sudo for installation. FYI, this is the exact software and installation instructions I used:
All of the prereqs are installed. That set of instructions worked my two Ubuntu 19.10 computers. And like I said, it does work on my new 20.04 computer, but unless I launch the application via sudo, it takes forever to eventually launch (10-15 seconds), with the mouse pointer spinning in circles for the whole time. That is not the experience with my other installs.
04-26-2020 05:06 PM
04-27-2020 08:07 AM
Unfortunately the download page tells me that I need a valid service contract to download the 4.8 client. I changed my registration email address from my personal to my university thinking that might help, but it did not.
I'm going to be doing a fresh install of 20.04 on my laptop later today and will try the install on that. If it works and the client launches normally (without sudo), then it's something with my computer. If it also takes 15 seconds to launch without sudo, then it's probably something with ubuntu 20.04.
04-27-2020 11:04 AM
04-27-2020 06:23 PM
I just set up 20.04 (Xubuntu) on a a new machine. The first thing I did was install the anyconnect client (4.6, since that's all I get from my university and the download page on Cisco site won't let me do 4.8). It worked perfectly, launched immediately without sudo. Then I went about setting up my machine, installing new software, etc. Every once in a while I would launch anyconnect to make sure it was still working. And for the first few times, it worked great with no delay. But then the last time I tried, it had the same delay as my other machine. Bummer. While I didn't test AnyConnect after every single change, I did it after every few changes, so I do have just a small list of about 4 or 5 changes that could have been the culprit. I'll continue to investigate. But it does look like it is something with my setup (which is the exact same setup as it was on my 19.10 machines) combined with something with Xubuntu 20.04 compared to 19.10 that makes Anyconnect (at least 4.6) have some issue that causes a 10-15 second delay at launch.
04-27-2020 07:05 PM
04-28-2020 12:51 PM
I've never used Gnome - always XFCE. Did you think I had been using Gnome before experiencing this issue, or are you asking me to install Gnome fresh and see if it works with Gnome?
04-28-2020 06:48 PM
04-29-2020 07:01 PM
OK, no problem. I've used Gnome in the past, just at no point while experiencing this issue, I just wanted to ask before I went ahead and installed an entire new DE. I'll do that tomorrow.
in the meantime while at work today, I installed Xubuntu 20.04 in VirtualBox and tried to pinpoint exactly what I did to cause the issue. While my findings aren't conclusive, best I can tell is that the AnyConnect client stopped launching instantaneously once I installed Zoom. It's not a 100% certain finding, but in the VM I checked the launch of the Anyconnect client after every single change, and I didn't see the delay until I installed Zoom. But, uninstalling Zoom didn't remove the delay, so not sure what I can do with my findings.
04-29-2020 07:38 PM
05-22-2020 08:03 AM
FYI, this appears to have resolved itself. I have been using openconnect over the last few weeks after not being able to pinpoint why Anyconnect was taking so long to launch. A few kernel updates and other updates were installed via software updater in that time. Yesterday I had to use Anyconnect due to the issue I described with that one remote resource in the initial post, and it opened up instantaneously. I pulled out my laptop and verified that it too was working fine. So no real idea what was happening, but it seems to be fine now.
If anyone has any ideas on how to get Anyconnect to minimize just to the tray instead of also to the window panel, I'm all ears - although I think that's more of an xfce issue and I'll investigate that route.
08-16-2020 08:57 AM
Oh, in case anyone else out there is having the other issue I outlined in the initial post (a VPN-protected resource not reachable via OpenConnect but available via the official AnyConnect client), it was an issue with DNS setup on that new resource - those in charge of setting it up never set up an external DNS entry. I'm not sure why that didn't matter to the official AnyConnect client, but it's been resolved and now I can stick with the OpenConnect client for all of my needs.
02-09-2022 10:41 AM
I am challenged with this same issue. I have a custom ISO of 20.04 and install version 4.9.0637. The launch takes around 15 seconds to open. No errors are presented. This same client version is fine on 18.04. Additionally, one of our gateways is configured to MFA. The secondary window stopped opening and the AnyConnect client says to finish the authentication process in the AnyConnect Login window. Any thoughts on this?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide