Citrix

From ArchWiki
Revision as of 21:29, 28 January 2010 by Revelation60 (Talk | contribs) (64 bit version of Firefox)

Jump to: navigation, search


Q: How do I get a Citrix XenApp client working?

A: To install the Citrix XenApp client, you need to do the following:

  • Step 1. Download the Citrix XenApp linux binary. It can be found here: citrix.com > Downloads > Citrix Clients > Linux Clients > Choose the latest version of the x86 client in the .tar.gz format. It reads "x86 client - requires OpenMotif v.2.3.1"
  • Step 2. Unpack the archive:
# tar zxvf en.linuxx86.tar.gz
./
./PkgId
./install.txt
./eula.txt
./readme.txt
./setupwfc
./linuxx86/
./linuxx86/hinst
./linuxx86/linuxx86.cor/
./linuxx86/linuxx86.cor/nls/
./linuxx86/linuxx86.cor/nls/en/
./linuxx86/linuxx86.cor/nls/en/UTF-8/
./linuxx86/linuxx86.cor/nls/en/UTF-8/Wfica
./linuxx86/linuxx86.cor/nls/en/UTF-8/Wfcmgr
... many more files ...
  • Step 3. Run setupwfc:
    # ./setupwfc
    (Follow all instructions prompted by setupwfc.)
  • Step 4. (Applies only for Firefox integration:)

The setup program should have made appropriate links to the "Citrix Receiver for Linux" plugin. You can check this as such:

# find /usr -name npica.so
/usr/local/lib/netscape/plugins/npica.so
/usr/lib/ICAClient/npica.so
/usr/lib/firefox-3.5/plugins/npica.so
/usr/lib/mozilla/plugins/npica.so

Or you can check if your browser loads the plugin, in Firefox this can be done by typing "about:plugins" in the address bar. If you have a 64-bit version of Firefox, the plugin will not be loaded. You can check below what to do.

Create missing links as such:

# ln -s /usr/lib/ICAClient/npica.so /opt/mozilla/lib/plugins/
  • Step 5. Install openmotif:
    # pacman -S community/openmotif
  • Step 6. (Might not be necessary:)
    # ln -s /usr/lib/libXm.so.4 /usr/lib/libXm.so.3
  • Step 7. Restart your browser

At this point, everything should work, including wfcmgr. In the case of Opera, integration should be automatic. The ICAClient will automatically be launched whenever you try to access a citrix-based application from either Firefox or Opera.

Note: If for some reason firefox prompts you for which application to use when opening a citrix-based application, use /usr/lib/ICAClient/wfica

64 bit version of Firefox

If you have a 64 bit version of Firefox, the Citrix plugin will not be detected. To use the 32 bit plugin, install nspluginwrapper or nspluginwrapper-ubuntu from the AUR and then do

# nspluginwrapper -i /usr/lib/ICAClient/npica.so

Security Certificates

Because ICAClient uses SSL you may need a security certificate to connect to the server, check with the server administrator. If there is a certificate download and place it in /usr/lib/ICAClient/keystore/cacerts/

You may then receive the error "You have not chosen to trust the issuer of the server's security certificate. (SSL Error 61)." This means you don't have the Certification Authority certificates.

These are already installed on most systems, they're part of the core package ca-certificates, but they're not where ICAClient looks for them. Copy the certificates from /usr/share/ca-certificates/mozilla/ to /usr/lib/ICAClient/keystore/cacerts/. As root, use the command: cp /usr/share/ca-certificates/mozilla/* /usr/lib/ICAClient/keystore/cacerts/