Difference between revisions of "Citrix"

From LUG
Jump to navigation Jump to search
(update citrix url, added debian wheezy 64 bit instructions for icaclient 12.1)
Line 6: Line 6:
 
= Installation of clients =
 
= Installation of clients =
  
== Debian Linux ==
+
== Debian/Ubuntu ==
 +
(Copied mainly from https://help.ubuntu.com/community/CitrixICAClientHowTo)
  
(NOT icaclient 12.1 on 64 bit Wheezy - see below this section)
+
There are serious issues running the 64 bit version of the Citrix ICA client, so modern 64 bit systems will need to do the following step:
  
Select the Debian package (.deb extension) from the Citrix site. Download it and, for example
+
    sudo dpkg --add-architecture i386
 +
    sudo apt-get update
  
  sudo dpkg -i icaclient_12.0.0_i386.deb
+
Find the current version of the client from Citrix: https://www.citrix.com/downloads/citrix-receiver/linux/
  
If install fails because of unmet dependencies do:
+
Then:
 +
    sudo dpkg -i icaclient-*.deb
 +
This should install the Citrix ICAClient into /opt/Citrix/ICAClient on your machine.
  
  sudo apt-get -f install
+
Fix dependency breaks (sometimes):
 +
    sudo apt-get -f install
  
Now the certificates may not be found, resulting in a 'Addtrust External CA Root' not allowed (61) error. Copy the Mozilla
+
For Firefox:
certificates in place with
+
Citrix complains a lot about certificates, so make sure to include all Mozilla certs
 +
    sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/
 +
    sudo c_rehash /opt/Citrix/ICAClient/keystore/cacerts/
  
  dpkg -L icaclient | grep keystore/cacerts  # check locations
+
Firefox needs to have the Citrix version of mpica.so installed, so remove all the originals and insert a symlink to the Citrix version:
  sudo cp -vau /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts
+
    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
  
Now it should just work (tm).
+
Because Firefox has this issue of never showing the activation window, you'll need to enable the plugin permanently to get it to work at all. Tools -> Add-ons -> Plugins, and set "Citrix Receiver for Linux" to "Always Activate".
  
To modify the desktop that it does not take full screen edit the file /opt/Citrix/ICAClient/config/All_Regions.ini and edit the section to contain
 
 
  [Client Engine\GUI]
 
  DesiredHRES=1024
 
  DesiredVRES=768
 
 
== icaclient 12.1 on Debian Linux Wheezy 64 bit ==
 
 
Unfortunately the icaclient 12.1 package provided by citrix has multiple issues under debian wheezy x86_64:
 
 
- unresolvable dependency on ia32-libs (not available under wheezy)
 
- unresolvable dependency on nspluginwrapper (not available under wheezy)
 
- bug in postinstall script leading to unrecognized architecture
 
 
to resolve the first two issues in a quick-and-dirty way we can add the squeeze repository to the apt sources by adding the following line to /etc/apt/sources.lst
 
 
  deb http://ftp.nl.debian.org/debian/ squeeze main contrib non-free
 
 
and then doing:
 
 
  sudo aptitude update
 
  sudo apt-get install ia32-libs
 
  sudo apt-get install nspluginwrapper
 
 
Of course you know that *bad things* happen if you mix packages for different debian versions (..google), so you may want to compile these packages yourself instead (which is broken)
 
 
After this, you have to repair the postinstall script in the icaclient 12.1 .deb archive:
 
 
  mkdir temp
 
  dpkg -x icaclient_12.1.0_amd64.deb temp
 
  mkdir temp/DEBIAN
 
  dpkg -e icaclient_12.1.0_amd64.deb temp/DEBIAN
 
  <yourfavoriteeditor> temp/DEBIAN/postinst
 
 
now search for the function UpdateMachineHWSuffix (around line 2641) and change the lines:
 
 
        echo $Arch|grep "i[0-9]86" >/dev/null
 
        if [ $? -ne 0 ]; then
 
                NotIntel=1
 
        fi
 
 
into:
 
 
        echo $Arch|grep "i[0-9]86" >/dev/null
 
        if [ $? -ne 0 ]; then
 
                echo $Arch|grep "x86_64" >/dev/null
 
                if [ $? -ne 0 ]; then
 
                        NotIntel=1
 
                fi
 
        fi
 
 
after this you can package your modified package and install:
 
 
  dpkg -b temp
 
  sudo dpkg -i temp.deb
 
 
IF you made a mistake OR IF you previously tried to install the unmodified package and got an error, then you may want to purge the icaclient package first (otherwise you may keep getting errors):
 
 
  sudo dpkg -P icaclient
 
 
Now you should have icaclient installed, and you can proceed with installing the certificates (see section above)
 
 
After completion of the installation you can visit the website mentioned above, and the apps should "just work"
 
  
 
== OSX ==
 
== OSX ==
Line 95: Line 41:
  
 
Then start the browser, visit the citrix site mentioned above and ... that is all. It even works from home!
 
Then start the browser, visit the citrix site mentioned above and ... that is all. It even works from home!
 +
  
 
= Using Citrix Applications @WUR =
 
= Using Citrix Applications @WUR =
  
== Medewerker button ==
+
The new Citrix Desktop means that all applications are now found on the left hand side under the plus symbol. Clicking on one there will add it to your dashboard, where it will stay for easy access. Applications can be started from the dashboard.
 
 
Start Citrix.  
 
 
 
In the Library64 folder click on Desktop Library, this will open a Windows 7 desktop.
 
 
 
The Medewerker button shortcut can be found in
 
'W://APPS/MyData/Medewerker button HRM'
 
 
 
To get there, click subsequently on :
 
Start -> Computer -> Network Drive (W:) -> APPS -> MyData
 
 
 
If you scroll down in that folder, the "Medewerker button HRM" will show up.
 
 
 
Here is a screenshot of how it looks :
 
  
[[File:Mw button.png|alt="Medewerker button screenshot"|Medewerker button screenshot]]
+
== Known Issues ==
  
You could also try to get there from the Citrix Applications tab, by clicking subsequently on :
+
* Printing currently doesn't function properly
Office -> Explorer
+
* MS Office applications are slow
and then click subsequently on :
 
Computer -> Network Drive (W:) -> APPS -> MyData
 

Revision as of 10:01, 3 March 2015

The Citrix client allows you to use Windows tools (Medewerker button, MS Office) on Linux and OSX (even from home!).

The WUR Citrix site lives at https://citrix.wur.nl/ , you can login with your WUR account.


Installation of clients

Debian/Ubuntu

(Copied mainly from https://help.ubuntu.com/community/CitrixICAClientHowTo)

There are serious issues running the 64 bit version of the Citrix ICA client, so modern 64 bit systems will need to do the following step:

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

Find the current version of the client from Citrix: https://www.citrix.com/downloads/citrix-receiver/linux/

Then:

   sudo dpkg -i icaclient-*.deb

This should install the Citrix ICAClient into /opt/Citrix/ICAClient on your machine.

Fix dependency breaks (sometimes):

   sudo apt-get -f install

For Firefox: Citrix complains a lot about certificates, so make sure to include all Mozilla certs

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

Firefox needs to have the Citrix version of mpica.so installed, so remove all the originals and insert a symlink to the Citrix version:

   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

Because Firefox has this issue of never showing the activation window, you'll need to enable the plugin permanently to get it to work at all. Tools -> Add-ons -> Plugins, and set "Citrix Receiver for Linux" to "Always Activate".


OSX

Install the Citrix receiver from the Citrix website.

Then start the browser, visit the citrix site mentioned above and ... that is all. It even works from home!


Using Citrix Applications @WUR

The new Citrix Desktop means that all applications are now found on the left hand side under the plus symbol. Clicking on one there will add it to your dashboard, where it will stay for easy access. Applications can be started from the dashboard.

Known Issues

  • Printing currently doesn't function properly
  • MS Office applications are slow