Friday, March 15, 2013

Installing Forticlient SSL on Linux Mint (64 bits)

I need to use this rather crappy VPN client one to connect to a couple of an associate data centers.
These is are the steps to install the Fortigate SSL Client on Linux Mint Maya.
As usual, unpack it and execute the installer:
usul > ./forticlientsslvpn 
./forticlientsslvpn: error while loading shared libraries: \
libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
It'll fail, so, install the 32 bits libraries:
usul > sudo apt-get install ia32-libs-gtk
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'ia32-libs' instead of 'ia32-libs-gtk'
The following extra packages will be installed:
  bluez-alsa:i386 glib-networking:i386 gstreamer0.10-plugins-base:i386 gstreamer0.10-plugins-good:i386 gstreamer0.10-x:i386
  gtk2-engines:i386 gtk2-engines-murrine:i386 gtk2-engines-oxygen:i386 gtk2-engines-pixbuf:i386 gvfs:i386 gvfs-libs:i386
  ia32-libs-multiarch:i386 ibus-gtk:i386 libaa1:i386 libacl1:i386 libaio1:i386 libao-common libao4:i386 libatk1.0-0:i386
  libattr1:i386 libaudiofile1:i386 libavc1394-0:i386 libbz2-1.0:i386 libcaca0:i386 libcairo-gobject2:i386 libcairo2:i386
  libcanberra-gtk-module:i386 libcanberra-gtk0:i386 libcanberra0:i386 libcap2:i386 libcdparanoia0:i386 libcroco3:i386
  libcupsimage2:i386 libcurl3:i386 libdatrie1:i386 libdbus-glib-1-2:i386 libdv4:i386 libesd0:i386 libgail-common:i386
  libgail18:i386 libgconf-2-4:i386 libgdbm3:i386 libgdk-pixbuf2.0-0:i386 libgettextpo0:i386 libgnome-keyring0:i386
  libgomp1:i386 libgtk2.0-0:i386 libgudev-1.0-0:i386 libibus-1.0-0:i386 libidn11:i386 libiec61883-0:i386 libjasper1:i386
  libmad0:i386 libmikmod2:i386 libncursesw5:i386 libnspr4:i386 libnss3:i386 libodbc1:i386 libpango1.0-0:i386
  libpixman-1-0:i386 libproxy1:i386 libpulse-mainloop-glib0:i386 libpulsedsp:i386 libqt4-designer:i386 libqt4-opengl:i386
  libqt4-qt3support:i386 libqt4-scripttools:i386 libqt4-svg:i386 libqt4-test:i386 libraw1394-11:i386 librsvg2-2:i386
  librsvg2-common:i386 librtmp0:i386 libsdl-image1.2:i386 libsdl-mixer1.2:i386 libsdl-net1.2:i386 libsdl-ttf2.0-0:i386
  libsdl1.2debian:i386 libshout3:i386 libslang2:i386 libsoup-gnome2.4-1:i386 libsoup2.4-1:i386 libspeex1:i386 libssl0.9.8:i386
  libstdc++5:i386 libtag1-vanilla:i386 libtag1c2a:i386 libtdb1:i386 libthai0:i386 libtheora0:i386 libudev0:i386
  libunistring0:i386 libvisual-0.4-0:i386 libvisual-0.4-plugins:i386 libvorbisfile3:i386 libwavpack1:i386 libxaw7:i386
  libxcb-render0:i386 libxcb-shm0:i386 libxft2:i386 libxmu6:i386 libxp6:i386 libxtst6:i386 odbcinst1debian2:i386 oss-compat
  xaw3dg:i386
Suggested packages:
  murrine-themes:i386 kde-config-gtk-style:i386 libpam-ldap:i386 libpam-winbind:i386 libnss-ldap:i386 libroar1:i386
  libsndio0:i386 roaraudio-server:i386 libcanberra-pulse:i386 libdv-bin:i386 oss-compat:i386 pulseaudio-esound-compat:i386
  gnome-keyring:i386 libjasper-runtime:i386 libmyodbc:i386 odbc-postgresql:i386 tdsodbc:i386 unixodbc-bin:i386
  ttf-baekmuk:i386 ttf-arphic-gbsn00lp:i386 ttf-arphic-bsmi00lp:i386 ttf-arphic-gkai00mp:i386 ttf-arphic-bkai00mp:i386
  libraw1394-doc:i386 librsvg2-bin:i386 speex:i386
The following NEW packages will be installed:
  bluez-alsa:i386 glib-networking:i386 gstreamer0.10-plugins-base:i386 gstreamer0.10-plugins-good:i386 gstreamer0.10-x:i386
  gtk2-engines:i386 gtk2-engines-murrine:i386 gtk2-engines-oxygen:i386 gtk2-engines-pixbuf:i386 gvfs:i386 gvfs-libs:i386
  ia32-libs ia32-libs-multiarch:i386 ibus-gtk:i386 libaa1:i386 libacl1:i386 libaio1:i386 libao-common libao4:i386
  libatk1.0-0:i386 libattr1:i386 libaudiofile1:i386 libavc1394-0:i386 libbz2-1.0:i386 libcaca0:i386 libcairo-gobject2:i386
  libcairo2:i386 libcanberra-gtk-module:i386 libcanberra-gtk0:i386 libcanberra0:i386 libcap2:i386 libcdparanoia0:i386
  libcroco3:i386 libcupsimage2:i386 libcurl3:i386 libdatrie1:i386 libdbus-glib-1-2:i386 libdv4:i386 libesd0:i386
  libgail-common:i386 libgail18:i386 libgconf-2-4:i386 libgdbm3:i386 libgdk-pixbuf2.0-0:i386 libgettextpo0:i386
  libgnome-keyring0:i386 libgomp1:i386 libgtk2.0-0:i386 libgudev-1.0-0:i386 libibus-1.0-0:i386 libidn11:i386
  libiec61883-0:i386 libjasper1:i386 libmad0:i386 libmikmod2:i386 libncursesw5:i386 libnspr4:i386 libnss3:i386 libodbc1:i386
  libpango1.0-0:i386 libpixman-1-0:i386 libproxy1:i386 libpulse-mainloop-glib0:i386 libpulsedsp:i386 libqt4-designer:i386
  libqt4-opengl:i386 libqt4-qt3support:i386 libqt4-scripttools:i386 libqt4-svg:i386 libqt4-test:i386 libraw1394-11:i386
  librsvg2-2:i386 librsvg2-common:i386 librtmp0:i386 libsdl-image1.2:i386 libsdl-mixer1.2:i386 libsdl-net1.2:i386
  libsdl-ttf2.0-0:i386 libsdl1.2debian:i386 libshout3:i386 libslang2:i386 libsoup-gnome2.4-1:i386 libsoup2.4-1:i386
  libspeex1:i386 libssl0.9.8:i386 libstdc++5:i386 libtag1-vanilla:i386 libtag1c2a:i386 libtdb1:i386 libthai0:i386
  libtheora0:i386 libudev0:i386 libunistring0:i386 libvisual-0.4-0:i386 libvisual-0.4-plugins:i386 libvorbisfile3:i386
  libwavpack1:i386 libxaw7:i386 libxcb-render0:i386 libxcb-shm0:i386 libxft2:i386 libxmu6:i386 libxp6:i386 libxtst6:i386
  odbcinst1debian2:i386 oss-compat xaw3dg:i386
0 upgraded, 107 newly installed, 0 to remove and 0 not upgraded.
Need to get 22.6 MB of archives.
After this operation, 68.5 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Once that is up & done, simply give the installer one more try:
./forticlientsslvpn 
/usr/local/bin/forticlientsslvpn/.//helper//setup.linux.sh: line 11: \
/usr/local/bin/forticlientsslvpn/.//helper/forticlientsslvpn.install.log: Permission denied
/usr/local/bin/forticlientsslvpn/.//helper//setup.linux.sh: line 12: \
xterm: command not found
It'll fail once again, because by default there is no xterm installed on Linux Mint MATE 13.
Edit the file setup.linux.sh, comment the line:
##      xterm -e "$0" 2
And add this line, just below the one commented:
        gnome-terminal -e "$0" 2
Then execute the installer:
./forticlientsslvpn
The first time you execute it there is a splash screen, the reason this thing wanted to use xterm.
After that there might be a menacing pop up informing the installation failed, but its crap, simply continue and be happy.

Labels: , , , , , ,

3 Comments:

Blogger delated said...

Hi, Great information thanks for that.
I still have one issue, the client start up seems it open the tunnel but I can not ping any remote server or host, as well the connetion close by himself in about half minute, I am on mint 14, 64 bit with forticlient 4.0.2285 the log tell me about pppd may die, but I do not know how to fix it.

thanks for the help

12:43 PM  
Blogger hictio said...

Hey, delated, I'm sorry, I can't give you a hand :( ...
I have Linux Mint Maya, that is 13, not 14.
Using Forticlient build 4.0.2068 I have no problem on either 32 nor 64 bits (of course on 64 you'll also need the 32 bits compat libraries).

6:29 PM  
Blogger Klaid Dias said...

Instale o xterm:

sudo apt-get install xterm

[]s
Klaid Dias

4:51 AM  

Post a Comment

<< Home