Cisco Anyconnect installation problem

Hi,

I am new to Fedora and using latest version.
I followed this instruction .My problem is " Step 3: Launch Cisco AnyConnect". I don’t see anything on my Desktop!

Do I need to install and pre-package before that?
FYI: My Fedora is raw and didn’t install any packages.

By desktop, I think it means from your desktop environment. If you use Fedora Workstation, it uses GNOME and GNOME doesn’t have desktop icons. Press Super key (the key with a windows icon) and type anyconnect and the app will appear on the dash (if there is not any other problem), and click on it (or hit enter).

I did that but as you see in this recorded video, nothing happens when I click on Anyconnect icon!
https://streamable.com/3ccz5o

I am not familiar with anyconnect and it is a 3. party app, so I can’t help you with that.

But do you really need to use the Cisco’s software?
There is a package in the Fedora repository called openconnect (and NetworkManager-openconnect-gnome) fully compatible with Cisco AnyConnect VPN and flawlessly integrated with GNOME.

5 Likes

I use OpenConnect instead of AnyConnect succesfully. You just need to know the URL of the servers you’re connecting to. My work has switched to using Cisco Duo for authentication, so I have to use openconnect-sso ontop of OpenConnect, which allows me to do the Duo piece.

Then from a terminal I do the following with my known URLs.

openconnect-sso -s https://vpn-cluster-london.company.com/ssl

2 Likes

Yes, I just need AnyConnect.
Maybe I need to install any pre-package, right?
If so what is that?

Could you help with AnyConnect?

Well Let’s star with the beginning…

I saw in your attach picture you have a gnome .desktop file…

What is it?

A . desktop file is simply a shortcut that is used to launch application in Linux . Without the . desktop file , your application won’t show up in the Applications menu and you can’t launch it.

Where to find it?

1.- For the whole system this files are stored in /usr/share/applications/
2.- For your $USER this files are stored in ~/.local/share/applications/

Problem

When You don’t get a response in this kind of files is because there is an error… and we don’t get some kind of trace…

Procedure

once we have this, proceeds to find AnyConnect .desktop file… and do a cat AnyConnect.desktop file. (I don’t know it this is exactly the name, I only give it a name to explain this procedure)…

Just find the Exec command inside this *.desktop file and execute the command did you get in this spec file in terminal, and see what kind of error do you get?

  • Exec=application → The command that starts this application from a shell. It can have arguments.

REFERENCE

https://developer.gnome.org/integration-guide/stable/desktop-files.html.en

https://developer.gnome.org/desktop-entry-spec/

NOTE

And share with us the output… to get more information…

Regards.,

1 Like

Thanks hhlp,

See screenshot attached.
What should I do now?

Use less cisco-anyconnect.desktop to view the file.

1 Like

The file is exist in the screenshot, no need to locate that.
Whats the next step now?

That is the next step.
There you can look at which exectutable the .desktop actually invoke.
It should be the Exec or TryExec line.
Then copy and paste such executable in the command line, and look if there are error messages (as @hhlp explained above).

2 Likes
[Desktop Entry]
Type=Application
Name=Cisco Anyconnect Secure Mobility Client
Comment=Connect to a private network using the Cisco Anyconnect Secure Mobility Client
Exec=/opt/cisco/anyconnect/bin/vpnui
Icon=/opt/cisco/anyconnect/pixmaps/vpnui48.png
Terminal=false
Encoding=UTF-8

Ok.
Try to exec the command /opt/cisco/anyconnect/bin/vpnui and see what happens, if errors are reported.

1 Like

Here us the result:
[username@localhost bin]$ sudo ./vpnui
./vpnui: error while loading shared libraries: libpangox-1.0.so.0: cannot open shared object file: No such file or directory

some dependency problem here…

dnf search pangox
================================================
pangox-compat.i686 : Compatibility library for pangox
pangox-compat.x86_64 : Compatibility library for pangox
pangox-compat-devel.i686 : Development files for pangox-compat
pangox-compat-devel.x86_64 : Development files for pangox-compat

Install this package in your system:

sudo dnf install pangox-compat

and try again… to executing in terminal as @alciregi point to you

NOTE

also you can connect via terminal

https://www.osradar.com/how-to-connect-to-vpn-server-with-cisco-anyconnect-from-linux-terminal/

Regards.,

[username@localhost bin]$ ./vpnui
I/O warning : failed to load external entity “/opt/cisco/anyconnect/CustomerExperienceFeedback/CustomerExperience_Feedback.xml”
I/O warning : failed to load external entity “/opt/cisco/anyconnect/CustomerExperienceFeedback/CustomerExperience_Feedback.xml”
I/O warning : failed to load external entity “/opt/cisco/anyconnect/CustomerExperienceFeedback/CustomerExperience_Feedback.xml”