[other] 使用AnyConnect
Tofloor
poster avatar
星云
deepin
2023-11-12 22:42
Author

连接时提示 The VPN connection failed due to an unexpected internal error encountered by the VPN client.

image.png

解决办法:

1、需要安装: sudo apt install at-spi2-core

2、在终端使用sudo运行

sudo /opt/cisco/anyconnect/bin/vpnui

Reply Favorite View the author
All Replies
fax928
deepin
2023-11-13 00:00
#1

感谢分享。like

Reply View the author
TLT
deepin
2023-12-18 07:00
#2

原文链接

在vpnui目录下创建如下脚本

ok@ok-PC:/opt/cisco/anyconnect/bin$ cat vpnui_starter.sh 
#!/bin/bash
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /opt/cisco/anyconnect/bin/vpnui

在/usr/share/applications下修改desktop文件

ok@ok-PC:/usr/share/applications$ cat com.cisco.anyconnect.gui.desktop 
[Desktop Entry]
Type=Application
Name=Cisco Anyconnect Secure Mobility Client
Comment=Connect to a private network using the Cisco Anyconnect Secure Mobility Client
Exec=sh /opt/cisco/anyconnect/bin/vpnui_starter.sh
Icon=cisco-anyconnect
Terminal=false
Encoding=UTF-8
StartupNotify=true
Reply View the author