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).
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).
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
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 )