Table of contents:
- What is Citrix Workspace?
- Installing Citrix Workspace on Buster
- Previous Citrix Workspace and Receiver Steps on older Debian Versions
- Installing icaclient_13 on Wheezy
- Installing icaclient_13 on Jessie
- Installing icaclient_19 on Stretch
- Installing icaclient_19 on Buster
- Installing icaclient_20 on Buster
What is Citrix Workspace?
Citrix Workspace is a digital workspace software platform developed by Citrix Systems that allows multiple users to remotely access and operate Microsoft Windows desktops running in a datacenter or a public or private cloud, via devices located elsewhere.
Citrix Workspace has a proprietary license. The client works with Citrix environments only.
Installing Citrix Workspace on Buster
In 2018, Citrix Receiver was replaced by Citrix Workspace app.
Step 1: Download the official Citrix Workspace app
Download the official Citrix Workspace app for Debian available here
Scroll down to "Debian Packages" then select "Full Packages (Self-Service Support) additionally download "USB Support Packages"
Step 2: Install Citrix Workspace
Install Citrix Workspace and USB Support Packages using dpkg -i as root (or with sudo).
# dpkg -i icaclient_<PRESS TAB> to autocomplete # dpkg -i ctxusb_<PRESS TAB> to autocomplete
Step 3: Download your Employers CA Certificates
The following steps provide guidance on downloading CA certificates from your employer and using the ctx_rehash tool.
Step 3a: Download CA Certificates in PEM format Download CA certificates in PEM format. Save the certificate with .crt file extension.
Step 3b: Copy certificates to cacerts
- Switch to root user (or use sudo) and copy the .crt CA certificate file to /opt/Citrix/ICAClient/keystore/cacerts/ folder.
Step 3c: Create a Symbolic Link
Create a symbolic link from the mozilla certificates to Citrix's cacerts directory:
# ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/
Step 4: Citrix Rehash
Run the following command as root (or via sudo) for the ctx_rehash utility:
Step 5: Launch Citrix Workspace app
Launch the Citrix Workspace app and log in to your employers environment!
Previous Citrix Workspace and Receiver Steps on older Debian Versions
Installing icaclient_13 on Wheezy
If you are using a custom Linux kernel for 64-bit PC and want to run 32-bit programs, then you have to set the CONFIG_IA32_EMULATION Linux build configuration option, otherwise you won't be able to run 32-bit binaries.
First add the i386 architecture to your system:
$ dpkg --add-architecture i386 $ dpkg --print-architecture amd64 $ dpkg --print-foreign-architectures i386
As mentioned on mahesha.com (see sources) one needs to install files listed below.
$ aptitude install libxp6:i386 $ aptitude install libsm6:i386 $ aptitude install libxmu6:i386 $ aptitude install libxinerama1:i386 $ aptitude install libglib2.0-0:i386 $ aptitude install libxft2:i386 $ aptitude install libgtk2.0-0:i386
deb [arch=amd64,i386] http://http.us.debian...snip
Ubuntu.com (see sources) shows how to get rid of the nspluginwrapper dependency.
$ cd ~/Downloads $ mkdir ica_temp $ dpkg-deb -x icaclient_13.0.0_amd64.deb ica_temp $ dpkg-deb --control icaclient_13.0.0_amd64.deb ica_temp/DEBIAN $ su # emacs ica_temp/DEBIAN/control
And get rid of nspluginwrapper in the section Depends.
Rebuild the package.
$ dpkg -b ica_temp icaclient-modified.deb
Install this modified package.
$ su # dpkg -i icaclient-modified.deb
As last mission I had to export ThawtePremiumServerCA.crt into folder /opt/Citrix/ICAClient/keystore/cacerts as PEM file. It's quite possible that not everyone would have to do this last thing. Update: It turned out that the above mentioned is not needed.
One way to launch a session is like so: /opt/Citrix/ICAClient/wfica.sh launch.ica. Update: Launching like this lead to an error message SSL error, Contact your helpdesk with the following information: A network error occorred (SSL error 4). Lauching the application (Citrix remote desktop connection, Citrix Receiver) from within iceweasel by applying Open with wfica.sh did not bring an SSL error.
Installing icaclient_13 on Jessie
Download the official citrix receiver for Debian available here and run the following commands:
$ sudo apt-get install libwebkitgtk-1.0-0 $ sudo dpkg -i icaclient_18.104.22.1684519_amd64.deb
Note: Please modify the above command based on the latest icaclient version
You will neeed to configure Iceweasel to run the "launch.ica" file via "/opt/Citrix/ICAClient/wfica.sh"
Below is the fix for the SSL error
$ sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/
Installing icaclient_19 on Stretch
$ sudo apt-get install libwebkitgtk-1.0-0 $ sudo dpkg -i icaclient_22.214.171.124_amd64.deb
Installing icaclient_19 on Buster
Installing icaclient_20 on Buster
In 2018, Citrix Receiver was replaced by Citrix Workspace app. Download the official Citrix Workspace app for Debian available here and install it using dpkg -i as root (or with sudo). You do not, in my experience, need to install anything from stretch. You will (I assume) need the dependencies in citrix's .deb - on my gnome installation they were already installed
Citrix's packaging is not high quality, for example:
- files are installed in /opt;
- there are multiple statically linked files;
- there are multiple embedded libraries;
- the postinst is several scripts pasted together;
- the postinst and makes a number of modifications to your system;
- the postinst attempts to integrate with netscape;
- the postinst installs a plugin for either gstreamer1.0 or 0.10.0 depending on which version it finds installed (there are comments in the postinst that say 0.10 is preferred, but in my experience it works fine with 1.0);
- the postinst deletes files in $HOME for every user.
These deficiencies apply to all versions from (at least) 13 to 20.