Install Citrix Receiver on 64bit Ubuntu

You are here:
< Back

Prepare yourself for this, it will more than likely be time consuming and frustrating…. even with these instructions.  This process and apparently Citrix software is not for the beginner and it is seriously disappointing that Citrix brags about cross platform compatibility, but to them that apparently means Windows and iPad.

First, I can’t guarantee this will work for everyone or for anyone for that matter.  This is only what worked for me.

Start by meeting all the requirements.  There should be a distinction made between the 32bit and 64bit requirements as this is what held me up for a while.  I followed this guide originally and while the general process seems to be correct, the versions are not defined.

https://help.ubuntu.com/community/CitrixICAClientHowTo

The process was started by installing libmotif4 nspluginwrapper and the Citrix Receiver client as the guide above suggested.  Next libmotif-dev was installed and finally the 32bit drivers were installed.  This may have been obvious for most, but when the Citrix download site has a completely seperate section for 64bit versions, it was assumed a 64bit version actually existed:

sudo apt-get install libmotif4 nspluginwrapper

The offical Citrix receiver client was installed from the deb package obtained from the Citrix website but the configuration steps failed (shown below).

 dpkg: error processing icaclient (--install): subprocess installed post-installation script returned error exit status 2 
Errors were encountered while processing: icaclient

A search found the following information which allowed the installation to complete successfully.

Changing line 2648 in icaclient.postinst found in /var/lib/dpkg/info/

$ cd /var/lib/dpkg/info
$ nano icaclient.postinst

The original code:

echo $Arch|grep "i[0-9]86" &gt;/dev/null

What the code should be in order to complete configuration successful on a 64bit platform:

echo $Arch|grep -E "i[0-9]86|x86_64" &gt;/dev/null

And then executing the following completed the installation of the Citrix receiver client successfully.

$ sudo dpkg --configure icaclient

Attempting to open the Citrix Receiver resulted in the following error:

error while loading shared libraries: libXm.so.4

After verifying the libraries were installed, it was the next step to install the development libraries with the following.

sudo apt-get install libmotif-dev

This resulted in the same error when attempting to open the Citrix Receiver again.

The solution, (maybe) or it may have been a mixture of the commands, was to install the 32 bit versions.  Below is what I believe will get the Citrix Receiver working in Ubuntu 13.04 64bit.

sudo apt-get install libmotif4 flashplugin-installer curl nspluginwrapper ia32-libs libmotif4:i386

The other issue that you might face is a certificate issue that prevents connection after the Citrix Receiver has been configured and a connection is attempted.  You may get the following message and it will fail to connect.

Citrix SSL Error

This is because, Citrix requires certificate validation, but be default installation fails to include any certificates that are trusted.  This can be easily resolved by creating a symbolic link to the trusted certificates for Mozilla using the following command:

sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/

Once all these steps were completed, successful access to the company Citrix environment was achieved.  Thank you Citrix for making this so easy.  Boo.  How difficult would it be to modify the file in the “64bit version” to include the right syntax? Actually it would work for both version since it is only a check.  The worst part of this whole thing is apparently it has been this way for several versions of Ubuntu and the Receiver.

A personal note:  Please get things together Citrix, if you tout full cross platform support, then you better be ready to deliver just that.

Last Updated On October 24, 2017