fax928
2023-11-13 00:00 deepin
感谢分享。
Reply Like 0 View the author
感谢分享。
在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
Popular Events
More
连接时提示 The VPN connection failed due to an unexpected internal error encountered by the VPN client.
解决办法:
1、需要安装: sudo apt install at-spi2-core
2、在终端使用sudo运行
sudo /opt/cisco/anyconnect/bin/vpnui