Ubuntu安装IBM的vpn客户端
root@pc:/home/wang/Downloads# id | sed -e 's/(.*//'
uid=0
root@pc:/home/wang/Downloads# sh vpnsetup.sh
Installing Cisco AnyConnect Secure Mobility Client...
Extracting installation files to /tmp/vpn.ri85Xt/vpninst343485413.tgz...
Unarchiving installation files to /tmp/vpn.ri85Xt...
Starting Cisco AnyConnect Secure Mobility Client Agent...
Done!
root@pc:/home/wang/Downloads#
图形不能启动
好像主程序启动了。
Starting Cisco AnyConnect Secure Mobility Client Agent...
Done!
root@pc:/home/wang/Downloads# ps -ef |grep "isco"
root 21471 1 0 16:30 ? 00:00:00 /opt/cisco/anyconnect/bin/vpnagentd
root 21697 21140 0 16:33 pts/3 00:00:00 grep --color=auto isco
root@pc:/home/wang/Downloads#
不能启动vpn
root@pc:/opt/cisco/anyconnect/bin# ll
total 2020
drwxr-xr-x 3 root root 4096 May 28 16:30 ./
drwxr-xr-x 9 root root 4096 May 28 16:30 ../
-rwxr-xr-x 1 root root 502 May 28 16:30 anyconnect_uninstall.sh*
-rwxr-xr-x 1 root root 346880 May 28 16:30 manifesttool*
drwxr-xr-x 2 root root 4096 May 28 16:30 plugins/
-rwxr-xr-x 1 root root 60523 May 28 16:30 vpn*
-rwxr-xr-x 1 root root 8122 May 28 16:30 vpn_uninstall.sh*
-rwsr-xr-x 1 root root 678419 May 28 16:30 vpnagentd*
-rwxr-xr-x 1 root root 403235 May 28 16:30 vpndownloader*
-rwxr-xr-x 1 root root 375831 May 28 16:30 vpndownloader-cli*
-rwxr-xr-x 1 root root 169571 May 28 16:30 vpnui*
root@pc:/opt/cisco/anyconnect/bin# ./vpnui
./vpnui: error while loading shared libraries: libpangox-1.0.so.0: cannot open shared object file: No such file or directory
root@pc:/opt/cisco/anyconnect/bin#
安装一下依赖
root@pc:/opt/cisco/anyconnect/bin# apt search pangox
Sorting... Done
Full Text Search... Done
libpangox-1.0-0/focal,now 0.0.2-5ubuntu1 amd64 [installed]
pango library X backend
libpangox-1.0-dev/focal 0.0.2-5ubuntu1 amd64
pango library X backend - development files
libpangoxft-1.0-0/focal,now 1.44.7-2ubuntu4 amd64 [installed,automatic]
Layout and rendering of internationalized text
root@pc:/opt/cisco/anyconnect/bin# apt install libpangox-1.0-0
root@pc:/opt/cisco/anyconnect/bin#
再次运行./vpnui 就可以了 哈哈
去掉勾选 Block Connections to untrusted servers