Make sure you already have the ia32-libs libraries installed since they are required by 32 bit programs running on 64 bit linux. They probably are, but just in case...
sudo apt-get install ia32-libs
Download the linux x86 client of your choice from Citrix and install it (I used the tar.gz file), after you extract it to a folder run:
sudo ./setupwfc
Once that's done you can check if it doesn't run with the following command:
/usr/lib/ICAClient/wfcmgr -icaroot /usr/lib/ICAClient
Note:
It should be requesting "libXm.so.4" and if it was a 64 bit application you could install OpenMotif like so:
sudo apt-get install libmotif4
...but it wont have a 32 bit version in it and the client is a 32 bit application which wont use a 64 bit library.
Create a temp folder and go to it in the console, once there run the following commands:
wget http://archive.ubuntu.com/ubuntu/pool/multiverse/o/openmotif/libmotif4_2.3.3-5ubuntu1_i386.deb dpkg -x libmotif4_2.3.3-5ubuntu1_i386.deb ./libmotif/ sudo mv ./libmotif/usr/lib/* /usr/lib32/ sudo chown -R root: /usr/lib32/* rm libmotif3_2.2.3-4_i386.deb rm -rf ./libmotif/
You should now be able to either click on the icon from the applications menu or you could simply run the first command in step 3.
If you are not running an Ubuntu (Kubuntu, Xubuntu, etc.) distro just make sure to replace the wget command with the right url to your distro's archive.
Enjoy and happy linuxing,
Marlon