[other] V23 anyconnect 连接异常解决(GUI正常启动)
Tofloor
poster avatar
TLT
deepin
2023-12-18 07:02
Author

image.png

原文链接

在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 Favorite View the author
All Replies
hanzn-zzx
deepin
2023-12-18 21:21
#1

like

Reply View the author