Differences between revisions 2 and 15 (spanning 13 versions)
Revision 2 as of 2014-01-07 10:01:42
Size: 1540
Editor: ?SamuelBaechler
Comment: Set title
Revision 15 as of 2021-02-02 15:34:37
Size: 6322
Editor: ?cakeface
Comment: Addition to trusting certificates from your employer to assist with SSL errors.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Table of contents:
<<TableOfContents()>>
Line 3: Line 6:
<<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
}}}
Line 5: Line 29:
 % 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 ==

[[http://tech.mahesha.com/2012/12/13/citrix-receiver-12-1-on-debian-unstable/| mahesha.com]]
[[https://help.ubuntu.com/community/CitrixICAClientHowTo| ubuntu.com]]
Line 14: Line 71:
I am not sure if one has to perform some other tasks on that page like = Installing icaclient_13 on Jessie =
Line 16: Line 73:
 % dpkg --add-architecture i386
 % dpkg --print-architecture
 amd64
 % dpkg --print-foreign-architectures
 i386
      
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
}}}
Line 23: Line 79:
and Note: Please modify the above command based on the latest icaclient version
Line 25: Line 81:
 deb [arch=amd64,i386] http://http.us.debian...snip
      
You will neeed to configure Iceweasel to run the "launch.ica" file via "/opt/Citrix/ICAClient/wfica.sh"
Line 28: Line 83:
Ubuntu.com (see sources) shows how to get rid of the nspluginwrapper dependency. Below is the fix for the SSL error
{{{
$ sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/
}}}
Line 30: Line 88:
 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
      
= Installing icaclient_19 on Stretch =
Line 37: Line 90:
And get rid of nspluginwrapper in the section Depends. 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
}}}
Line 39: Line 97:
 Depends: ...nspluginwrapper...
      
= Installing icaclient_19 on Buster =
Line 42: Line 99:
Rebuild the package. 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
}}}
Line 44: Line 106:
 dpkg -b ica_temp icaclient-modified.deb
      
= Installing icaclient_20 on Buster =
Line 47: Line 108:
Install this modified package. 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
Line 49: Line 111:
 sudo dpkg -i icaclient-modified.deb
      
= SSL Errors =
Line 52: Line 113:
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. As noted above, if you get an ssl error when connecting then the following should fix it:
Line 54: Line 115:
One way to launch a session is like so: /opt/Citrix/ICAClient/wfica.sh launch.ica. '''Your Employers CA Certificates'''
Line 56: Line 117:
Sources The following steps provide guidance on downloading CA certificates from your employer and using the ctx_rehash tool. These steps were required to access
Line 58: Line 119:
    mahesha.com
    ubuntu.com
'''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