I really like the script you guys made to auto launch the VPN. I'm trying to leverage your start_vpn.sh script that you use for your Focal VPN example in other distros.
I'm getting the following error when I try to use this script in Jammy/Kali:
1081.3 ++ notify-send -u critical -t 0 -i /usr/share/icons/ubuntu-mono-dark/status/22/network-error.svg 'VPN Configuration Failed' 'An error occurred with exit code 1 while executing: notify-send -u critical -t 0 -i "${ICON_OFFLINE}" "Connecting to VPN" "Please wait while the VPN connection is being established...".\n\nPlease review the log at /dockerstartup/vpn_start.log'
1081.3 Error spawning command line “dbus-launch --autolaunch=e929270e24d94fe8895b4fcfadc3dd90 --binary-syntax --close-stderr”: Child process exited with code 1
1081.3 ++ exit 1
dbus-launch is present in both of these distro's so not sure why this error is happening. I tried building my own Focal VPN build and it does work in that distro so something changed between Focal and Jammy that this script no longer works.
Also note that Jammy/Kali don't have some of the dependencies this script requires which I added separately.
jq (Jammy/Kali)
unzip (Jammy/Kali)
libnotify-bin (kali)
Can you test this with other distros to make useable across more distros?
Closing issue, I was using the vpn_start.sh script separately from install_vpn.sh, but it appears that script installs all the prequisites needed to work on those distro's so now everything is working.
I really like the script you guys made to auto launch the VPN. I'm trying to leverage your start_vpn.sh script that you use for your Focal VPN example in other distros.
Script here: https://github.com/kasmtech/workspaces-images/tree/develop/src/ubuntu/install/vpn/start_vpn.sh
I'm getting the following error when I try to use this script in Jammy/Kali:
dbus-launch is present in both of these distro's so not sure why this error is happening. I tried building my own Focal VPN build and it does work in that distro so something changed between Focal and Jammy that this script no longer works.
Also note that Jammy/Kali don't have some of the dependencies this script requires which I added separately.
Can you test this with other distros to make useable across more distros?