How to open .ica file and setup Citrix client on Ubuntu.

The Citrix ICA Client (=Citrix Receiver) allows access to remote Windows sessions run from a Citrix server. If you want to open .ica file using ICA client on Ubuntu, here is what you should do:

  1. Download and install the 32-bit version of libmotif3 and create a symlink:

    1
    2
    3
    $ wget -c http://nl.archive.ubuntu.com/ubuntu/pool/multiverse/o/openmotif/libmotif3_2.2.3-4_i386.deb
    $ sudo dpkg -i libmotif*i386.deb
    $ sudo ln -s /usr/lib/libXm.so.3 /usr/lib/libXm.so.4
  2. Download the Citrix Receiver 12.1 .deb files for ‘Receiver for Linux 12.1 from here

  3. Run hdxcheck.sh, which was installed with the Citrix Receiver:

    1
    $ sudo /opt/Citrix/ICAClient/util/hdxcheck.sh

    Look back through the messages displayed to check that it found libjpeg.so, as it might fail to do so despite it being installed. If it failed to find it then you can edit /opt/Citrix/ICAClient/util/hdxcheck.sh and change
    Lib=find *libjpeg.so* to Lib=find / -name *libjpeg.so*
    and run hdxcheck.sh again.

  4. Firefox will using ICA client to open .ica file, or you can manually choose /opt/Citrix/ICAClient/wfica.sh to open .ica file.

Reference:
 CitrixICAClientHowTo