Installing Citrix client on Linux

I need to use Citrix for remote support and I want to use my normal Linux desktop to do it.

Access to Citrix is via XenApp ( used to be called MetaFrame ) hosted on your companies web site and accessed via a browser.

For the current version of the Citrix client on 64bit Ubuntu you also needs lots of 32bit libraries so if you have not already installed the 32 bit multiarch then

sudo dpkg --add-architecture i386
sudo apt-get update

Now download the Linux client. Go to www.citrix.com , downloads , Download receiver.  Open up the question “Where can I download Citrix Receiver on other platforms and devices” and select Linux, Debian Packages , Full Package ( Self support ). Receiver for Linx ( X86_64 )

In Ubuntu firefox will ask what you want to do with the file – select the default which is to open with GDebi Package Installer. The package installer will then start up and click on Install Package.

The installer incorrectly configures the Firefox plugin to run via nspluginwrapper rather than native 64bit. To correct this :-

sudo rm -f /usr/lib/mozilla/plugins/npwrapper.npica.so /usr/lib/firefox/plugins/npwrapper.npica.so
sudo rm -f /usr/lib/mozilla/plugins/npica.so
sudo ln -s /opt/Citrix/ICAClient/npica.so /usr/lib/mozilla/plugins/npica.so
sudo ln -s /opt/Citrix/ICAClient/npica.so /usr/lib/firefox-addons/plugins/npica.so

Setup firefox so it always activates the plugin. Open up firefox , Tools – Add_ons – Plugins. Ensure that the “Citrix Receiver for Linux” is set for always activate

Use Firefox to go to your companies Citrix site , login in and access a Citrix service – the Citrix Receiver will startup on your desktop but you will often get an error such as

You have not chosen to trust “/C=US/ST=/L=/0=Equifax Secure Certificate Authority/CN=”, the issuer of the server’s security certificate (SSL error 61).

Citrix certicate error

The error is caused by the Citrix client not having the required certificate. You can download the root certificate from the authority – see below – or it is often worth trying to copy over the certificates Firefox has as it has many of the common ones.

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

sudo c_rehash /opt/Citrix/ICAClient/keystore/cacert

Citrix should now work just fine.

If you really do need to install the root certificate then go to the certificate authority’s ( the one mentioned in the error message – i.e. Equifax ) website and download the root certificate

For the Equifax one above go to http://www.geotrust.com/resources/root-certificates/index.html and download  Equifax_Secure_Certificate_Authority_DER.cer

For VeriSign Class 3 :-

You have not chosen to trust “VeriSign Class 3 Public Primary Certification Authority – G5”, the issuer of the server’s security certificate (SSL error 61).

citrix-error-verisign

 

To get the VeriSign G5 cert http://www.verisign.com/support/roots.html save the PCA-3G5.pem to your home directory – rename it to PCA-3G5.crt

Copy the certificate to opt/Citrix/ICAClient/keystore/cacerts/  using sudo and rename it to .crt from .cer or .pem

Prevent Citrix from using the whole screen

On Ubuntu I had a problem where I could not minimise the Citrix window or get back to the desktop.

The following changes in ~/.ICAClient/wfclient.ini     solved the problem

DesiredHRES=1024
DesiredVRES=768

UseFullScreen=false

Now the Citrix window does not come up full screen

Problem with Control key sticking

I had an issue with the control key sticking in a Citrix session. i.e. if I used ^D to log out of a putty session then all my following keystrokes are prefixed by the control key ! The only way around it was to logout of Citrix and log back it. Citrix has fixed this in later versions so upgrade to the latest version ( you need to do the nspluginwarapper fix above after you upgrade otherwise the Citrix plugin will not launch )

 

3 thoughts on “Installing Citrix client on Linux”

  1. Excellent – thank you , this worked for me as well using the below

    user@mintlinux ~ $ uname -a
    Linux mintlinux 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
    user@mintlinux ~ $

    user@mintlinux ~ $ more /etc/lsb-release
    DISTRIB_ID=LinuxMint
    DISTRIB_RELEASE=17.3
    DISTRIB_CODENAME=rosa
    DISTRIB_DESCRIPTION=”Linux Mint 17.3 Rosa”
    wicus@mintlinux ~ $

Leave a Reply

Your email address will not be published. Required fields are marked *