Difference between revisions of "Citrix"

From ArchWiki
Jump to: navigation, search
(64 bit version of Firefox)
(Added more help)
Line 51: Line 51:
  
 
====64 bit version of Firefox====
 
====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
+
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. Then do:
  
 
<pre># nspluginwrapper -i /usr/lib/ICAClient/npica.so</pre>
 
<pre># nspluginwrapper -i /usr/lib/ICAClient/npica.so</pre>
 +
 +
Citrix Metaframe won't start because it is missing some packages. You need to install lib32-libxp, lib32-libxpm from the AUR and lib32-libxaw:
 +
 +
<pre>
 +
pkgname=lib32-libxaw
 +
pkgname32=${pkgname/lib32-/}
 +
pkgver=1.0.7
 +
pkgrel=1
 +
pkgrel32=1
 +
pkgdesc="Allegro is a multi-platform game library"
 +
arch=(x86_64)
 +
url="http://alleg.sourceforge.net/"
 +
license=('GPL')
 +
depends=(lib32-libxmu lib32-libxp lib32-libxpm)
 +
source=(http://www.mirrorservice.org/sites/ftp.archlinux.org/extra/os/i686/${pkgname32}-${pkgver}-${pkgrel32}-i686.pkg.tar.gz)
 +
md5sums=('472d8337cedb291c62b8aaa8ce4a3bae')
 +
 +
build() {
 +
  mkdir -p $startdir/pkg/opt/lib32/usr/
 +
  cp -rPf $startdir/src/usr/lib $startdir/pkg/opt/lib32/usr/lib
 +
}
 +
</pre>
 +
 +
You can read [http://bbs.archlinux.org/viewtopic.php?id=60334 this thread] for more information.
  
 
====Security Certificates====
 
====Security Certificates====

Revision as of 21:53, 28 January 2010


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. Then do:

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

Citrix Metaframe won't start because it is missing some packages. You need to install lib32-libxp, lib32-libxpm from the AUR and lib32-libxaw:

pkgname=lib32-libxaw
pkgname32=${pkgname/lib32-/}
pkgver=1.0.7
pkgrel=1
pkgrel32=1
pkgdesc="Allegro is a multi-platform game library"
arch=(x86_64)
url="http://alleg.sourceforge.net/"
license=('GPL')
depends=(lib32-libxmu lib32-libxp lib32-libxpm)
source=(http://www.mirrorservice.org/sites/ftp.archlinux.org/extra/os/i686/${pkgname32}-${pkgver}-${pkgrel32}-i686.pkg.tar.gz)
md5sums=('472d8337cedb291c62b8aaa8ce4a3bae')

build() {
  mkdir -p $startdir/pkg/opt/lib32/usr/
  cp -rPf $startdir/src/usr/lib $startdir/pkg/opt/lib32/usr/lib
}

You can read this thread for more information.

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/