Differences between revisions 1 and 16 (spanning 15 versions)
Revision 1 as of 2014-01-07 09:49:51
Size: 1542
Editor: ?SamuelBaechler
Comment: Init page CitrixReceiver
Revision 16 as of 2021-02-02 15:35:22
Size: 6328
Editor: ?cakeface
Comment: missed bold on a step.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Installing icaclient_13 on Wheezy Table of contents:
<<TableOfContents()>>

= Installing icaclient_13 on Wheezy =

<<Include(Multiarch/FAQ/i386-amd64-kernel)>>

First add the i386 architecture to your system:

{{{
$ dpkg --add-architecture i386
$ dpkg --print-architecture
amd64
$ dpkg --print-foreign-architectures
i386
}}}
Line 4: Line 19:

 % 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
        I am not sure if one has to perform some other tasks on that page like

 % dpkg --add-architecture i386
 % dpkg --print-architecture
 amd64
 % dpkg --print-foreign-architectures
 i386
      
{{{
$ 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
}}}
Line 24: Line 30:

 deb [arch=amd64,i386] http://http.us.debian...snip
      
{{{
deb [arch=amd64,i386] http://http.us.debian...snip
}}}
Line 29: Line 35:

 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
 sudo emacs ica_temp/DEBIAN/control
      
{{{
$ 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
}}}
Line 38: Line 45:

 Depends: ...nspluginwrapper...
      
{{{
Depends: ...nspluginwrapper...
}}}
Line 43: Line 50:

 dpkg -b ica_temp icaclient-modified.deb
      
{{{
$ dpkg -b ica_temp icaclient-modified.deb
}}}
Line 48: Line 55:

 sudo dpkg -i icaclient-modified.deb
      
{{{
$ su
#
dpkg -i icaclient-modified.deb
}}}
Line 53: Line 61:
'''Update:''' It turned out that the above mentioned is not needed.
Line 54: Line 63:
One way to launch a session is like so: /opt/Citrix/ICAClient/wfica.sh launch.ica. 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.
Line 56: Line 65:
Sources == Sources ==
Line 58: Line 67:
    mahesha.com
    ubuntu.com
[[http://tech.mahesha.com/2012/12/13/citrix-receiver-12-1-on-debian-unstable/| mahesha.com]]
[[https://help.ubuntu.com/community/CitrixICAClientHowTo| ubuntu.com]]


= Installing icaclient_13 on Jessie =

Download the official citrix receiver for Debian available [[https://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-latest.html|here]] and run the following commands:
{{{
$ sudo apt-get install libwebkitgtk-1.0-0
$ sudo dpkg -i icaclient_13.3.0.344519_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 =

In 2018, [[https://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-latest.html|Citrix Receiver]] was replaced by Citrix Workspace app.
Download the official Citrix Workspace app for Debian available [[https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html|here]] and and run the following commands:
{{{
$ sudo apt-get install libwebkitgtk-1.0-0
$ sudo dpkg -i icaclient_19.3.0.5_amd64.deb
}}}

= Installing icaclient_19 on Buster =

In 2018, [[https://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-latest.html|Citrix Receiver]] was replaced by Citrix Workspace app.
Download the official Citrix Workspace app for Debian available [[https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html|here]] and download [[https://packages.debian.org/stretch/amd64/libwebkitgtk-1.0-0/download|libwebkitgtk-1.0-0]], [[https://packages.debian.org/stretch/amd64/libicu57/download|libicu57]], and [[https://packages.debian.org/stretch/amd64/libjavascriptcoregtk-1.0-0/download|libjavascriptcoregtk-1.0-0]] from Stretch,
then run the following command:
{{{
$ sudo dpkg -i libicu57_57.1-6+deb9u2_amd64.deb libjavascriptcoregtk-1.0-0_2.4.11-3_amd64.deb libwebkitgtk-1.0-0_2.4.11-3_amd64.deb icaclient_19.3.0.5_amd64.deb
}}}

= Installing icaclient_20 on Buster =

In 2018, [[https://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-latest.html|Citrix Receiver]] was replaced by Citrix Workspace app.
Download the official Citrix Workspace app for Debian available [[https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html|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

= SSL Errors =

As noted above, if you get an ssl error when connecting then the following should fix it:

'''Your Employers CA Certificates'''

The following steps provide guidance on downloading CA certificates from your employer and using the ctx_rehash tool. These steps were required to access

'''Step 1:''' Download CA certificate in PEM format. Save the certificate with .crt file extension.

'''Step 2:''' Switch to root user (or use sudo) and copy the .crt CA certificate file to /opt/Citrix/ICAClient/keystore/cacerts/ folder.
 
'''Step 3:''' 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:''' Run /opt/Citrix/ICAClient/util/ctx_rehash

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.
Line 61: Line 144:
CategoryDesktop
CategoryDesktop CategoryNetworkApplication

Table of contents:

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

and

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.

Depends: ...nspluginwrapper...

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.

Sources

mahesha.com ubuntu.com

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_13.3.0.344519_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

In 2018, Citrix Receiver was replaced by Citrix Workspace app. Download the official Citrix Workspace app for Debian available here and and run the following commands:

$ sudo apt-get install libwebkitgtk-1.0-0
$ sudo dpkg -i icaclient_19.3.0.5_amd64.deb

Installing icaclient_19 on Buster

In 2018, Citrix Receiver was replaced by Citrix Workspace app. Download the official Citrix Workspace app for Debian available here and download libwebkitgtk-1.0-0, libicu57, and libjavascriptcoregtk-1.0-0 from Stretch, then run the following command:

$ sudo dpkg -i libicu57_57.1-6+deb9u2_amd64.deb libjavascriptcoregtk-1.0-0_2.4.11-3_amd64.deb libwebkitgtk-1.0-0_2.4.11-3_amd64.deb icaclient_19.3.0.5_amd64.deb

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

SSL Errors

As noted above, if you get an ssl error when connecting then the following should fix it:

Your Employers CA Certificates

The following steps provide guidance on downloading CA certificates from your employer and using the ctx_rehash tool. These steps were required to access

Step 1: Download CA certificate in PEM format. Save the certificate with .crt file extension.

Step 2: Switch to root user (or use sudo) and copy the .crt CA certificate file to /opt/Citrix/ICAClient/keystore/cacerts/ folder.

Step 3: 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: Run /opt/Citrix/ICAClient/util/ctx_rehash

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.


CategoryDesktop CategoryNetworkApplication