Skip to content

Instantly share code, notes, and snippets.

@Mariyo
Last active March 15, 2025 18:03
Show Gist options
  • Save Mariyo/4b270c1938fa0f2296acc1bf32ed2c20 to your computer and use it in GitHub Desktop.
Save Mariyo/4b270c1938fa0f2296acc1bf32ed2c20 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Downloading packages
wget http://ftp.it.debian.org/debian/pool/main/g/gconf/gconf2_3.2.6-8_amd64.deb
wget http://ftp.it.debian.org/debian/pool/main/g/gconf/libgconf-2-4_3.2.6-8_amd64.deb
wget http://ftp.it.debian.org/debian/pool/main/g/gconf/gconf2-common_3.2.6-8_all.deb
wget http://ftp.it.debian.org/debian/pool/main/g/gconf/gconf-service_3.2.6-8_amd64.deb
wget http://ftp.it.debian.org/debian/pool/main/o/openldap/libldap-2.5-0_2.5.13%2bdfsg-5_amd64.deb
wget https://security.ubuntu.com/ubuntu/pool/universe/liba/libappindicator/libappindicator1_12.10.1+20.10.20200706.1-0ubuntu1_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/libd/libdbusmenu/libdbusmenu-gtk4_16.04.1+18.10.20180917-0ubuntu8_amd64.deb
# Configuring the libgconf-2-4 package
sudo dpkg --configure -a
# Installing the libldap-2.5-0 package
#sudo apt install libldap-2.5-0
# missing libnss3-tools
sudo apt install libnss3-tools
# Installing the gconf packages
sudo dpkg -i libldap-2.5-0_2.5.13+dfsg-5_amd64.deb
sudo dpkg -i libdbusmenu-gtk4_16.04.1+18.10.20180917-0ubuntu8_amd64.deb
sudo dpkg -i libgconf-2-4_3.2.6-8_amd64.deb
sudo dpkg -i gconf2-common_3.2.6-8_all.deb
sudo dpkg -i gconf-service_3.2.6-8_amd64.deb
sudo dpkg -i gconf2_3.2.6-8_amd64.deb
sudo dpkg -i libappindicator1_12.10.1+20.10.20200706.1-0ubuntu1_amd64.deb
# Resolving any potential dependency issues
sudo apt -f install
@Mariyo
Copy link
Author

Mariyo commented Mar 6, 2025

@Mac85 if you run Forticlient app, it means it worked (the purpose of this script). If you struggle with connection, its different problem and I propose you to contact admin of host you want to connect to.

@Mac85
Copy link

Mac85 commented Mar 6, 2025

@Mariyo Yes the app started correctly even without running your script. It only gives me problems when I try to connect

@skcna2
Copy link

skcna2 commented Mar 15, 2025

thanks for sharing 👍 unfortunately same here stucks on coonnecting, i use the latest VPN forticlient version from their web
version: 7.4.0.1636

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment