ICA Citrix Client & plugin on Ubuntu 10.04 64 bits

Here are the steps to install  Xen App Citrix Client aka ICA Client and the browser plugin on Ubuntu 10.04 64bit

ICA Client

Make a temporary directory
mkdir /tmp/citrix

Go to : 
(don't use wget, it wont work)

Fetch the tgz and save it to this directory : /tmp/citrix/

Setup this variable

TAR_FILE=`ls /tmp/citrix/linuxx86*.tar.gz | tail -1`

Extract the file
cd /tmp/citrix
tar xzf $TAR_FILE
sudo ./setupwfc

Press "1" (Install Citrix Receiver for Linux 11.100)
Press "enter" ("/usr/lib/ICAClient" for destination)
Press "y"  (Do you want to proceed?)
Press "y" (Proceed with installation?)
Read the disclaimer and press 1 (I accept)
Select defaults options. And quit when installation is done.

After this, /usr/lib/mozilla/plugins/npica.so should exists

Now it's time to get /usr/lib/ICAClient/wfcmgr work with your 64 bit installation.

For this you need to install ia32-libs
sudo apt-get install ia32-libs

There still one library missing (libXm.so.4)
If you do :
ldd /usr/lib/ICAClient/wfcmgr  | grep not

Fetch libmotif3 32bits and make it look like libmotif4... (I know it's bad)

You will see that libXm is in fact missing. Unfortunately this library is not available for Ubuntu 10.04
You will need to fetch libmotif3 from a 32bit distribution and install it by hand in /usr/lib32, and make it look like the version 4 of openmotif using a symlink this is far from ideal... But it works.

mkdir -p /tmp/libmotif3/libmotif
cd /tmp/libmotif3/
dpkg -x  libmotif3_2.2.3-2_i386.deb libmotif
sudo cp -rv  /tmp/libmotif3/libmotif/usr/lib/* /usr/lib32/
cd /usr/lib32/
sudo ln -s libXm.so.3.0.2 libXm.so.4

From now on this should not output anything :
ldd /usr/lib/ICAClient/wfcmgr  | grep not

Browser Plugin

To install the plugin, you must fist stop firefox, and install nspluginwrapper

sudo apt-get install nspluginwrapper

"wrap" the npica.so plugin
nspluginwrapper -i /usr/lib/mozilla/plugins/npica.so

check with :
nspluginwrapper -l

Start firefox check about:plugins you should see ICA client.

No comments:

Post a Comment