Some checks failed
Test / test (push) Has been cancelled
Includes: - Dockerfile for native Cisco Secure Client in Docker - Build scripts (init-vpn.sh, startup-vnc.sh, vpn-connect.sh) - VNC configuration (xstartup, vnc.service) - build.sh for manual image builds - README documenting the architecture Note: cisco-secure-client-full.tar.gz is gitignored (large binary) Copy it from ~/projects/cisco-vpn/build/ before building. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
22 lines
424 B
Bash
22 lines
424 B
Bash
#!/bin/bash
|
|
# VNC xstartup - launches window manager and VPN UI
|
|
|
|
unset SESSION_MANAGER
|
|
unset DBUS_SESSION_BUS_ADDRESS
|
|
|
|
export XDG_RUNTIME_DIR=/tmp/runtime-root
|
|
mkdir -p $XDG_RUNTIME_DIR
|
|
chmod 700 $XDG_RUNTIME_DIR
|
|
|
|
# Start dbus session
|
|
[ -x /usr/bin/dbus-launch ] && eval $(dbus-launch --sh-syntax --exit-with-session)
|
|
|
|
# Start window manager
|
|
openbox &
|
|
sleep 2
|
|
|
|
# Start Cisco VPN UI
|
|
/opt/cisco/secureclient/bin/vpnui &
|
|
|
|
wait
|