个人工具

UbuntuHelp:CitrixICAClientHowTo

来自Ubuntu中文

Wikibot讨论 | 贡献2009年11月17日 (二) 18:46的版本

跳转至: 导航, 搜索


Parent page: Internet and Networking This guide explains how to install the Citrix ICA Client on Ubuntu. The Citrix ICA Client allows access to remote Windows sessions run from a Citrix server.

Citrix Client 11 on Ubuntu 9.04

If after installing Citrix Client 11 and the required libraries

sudo aptitude install libmotif3

when trying to run ./wfcmgr you get this error:

./wfcmgr: error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory

Create a symlink with the recently installed version. sudo ln -s /usr/lib/libXm.so.3.0.2 /usr/lib/libXm.so.4 Will run flawless on 32 bit. On 64 bit you need to install 32bit motif libraries. These instructions come from this Citrix forum message

mkdir motif
cd motif
wget http://ftp.ubuntu.com/ubuntu/pool/multiverse/o/openmotif/libmotif3_2.2.3-2_i386.deb
dpkg -x libmotif3_2.2.3-2_i386.deb .
sudo cp -r usr/lib/* /usr/lib32/

For citrix client V11 you must run the following command before the client will launch:

sudo ln -s /usr/lib32/libXm.so.3 /usr/lib32/libXm.so.4

Citrix Client 10.6 on Ubuntu 8.04, 7.10, and 7.04

These instructions are known to work on Ubuntu 8.04 (Hardy), Ubuntu 7.10 (Gutsy), and 7.04 (Feisty). (See further down for a Dapper guide.) In addition, here are three demo videos: How to install ICA client on Ubuntu How to use ICA client on Ubuntu How to instruct Citrix Linux ICA client to trust additional certificate authorities on Ubuntu

Download Citrix client 10.6

http://www.citrix.com/English/SS/downloads/downloads.asp?dID=2755 or http://www.citrix.com/ and click on 'Download' Under "Select Downloads by Product," choose "Citrix XenApp." Now click on "Linux ICA Clients." Download this item: Version 10.6 English 6/28/07 1.8 mb .tar.gz x86 client - requires OpenMotif 2.2.x

Install Prerequisite Software

In a terminal window:

  sudo aptitude install libmotif3
  sudo aptitude install libxaw7

Expand Zip file and Install

Move the .tar.gz file to a temporary folder and extract installation files. For example, assuming you downloaded to your Desktop:

  mkdir /tmp/citrix-install
  cd /tmp/citrix-install
  mv ~/Desktop/en.linuxx86.tar.gz ./
  tar xvf en.linuxx86.tar.gz

Now, install the Citrix Client

  sudo ./setupwfc

When you see the menu: Select a setup option: 1. Install Citrix Presentation Server Client 10.6 2. Remove Citrix Presentation Server Client 10.6 3. Quit Citrix Presentation Server Client 10.6 setup Type "1" (without the quotes) and hit enter. Choose the defaults and accept the license. And yes, you want to integrate with KDE and Gnome. Finally, at the setup menu, choose: 3. Quit Citrix Presentation Server Client 10.6 setup

Put wfica and wfcmgr on the Search Path

Create links in a folder that is on the search path

  sudo ln -s /usr/lib/ICAClient/wfica /usr/local/bin/wfica
  sudo ln -s /usr/lib/ICAClient/wfcmgr /usr/local/bin/wfcmgr

Using the Citrix Client 10.6

This will now be enabled for use with a Citrix Web Interface - without any further action. If you do not use a Web Interface system, configure the client using the Configuration Manager

/usr/lib/ICAClient/wfcmgr &

(You can download the 'Admin Guide' from the download location - see above.) Note: If wfcmgr doesn't launch in Gutsy, there may be a problem with the loading of fonts See http://ubuntuforums.org/showthread.php?t=591450&highlight=citrix In summary, edit /etc/X11/xorg.conf and change '/usr/share/X11/fonts/' to '/usr/share/fonts/X11'

Accessing your PC Drive and Local Printer from the Citrix Session

Printing

Your default Ubuntu printer should be available within the Citrix session automatically In Presentation Server 3/4, the name will be something like - 'PIXMA-IP4000 [UPD`:`PS] (from APAC-whcold_sin) in session 1' using driver 'HP Color Laser``Jet PS' If you do not see a printer like this, ask your Citrix Administrator to check that the 'HP Color Laser``Jet PS' driver is installed on the Presentation Server.

Accessing your PC Drive

Run the Citrix Client Manager

/usr/lib/ICAClient/wfcmgr &
CitrixICAClientHowTo?action=AttachFile&do=get&target=wfcmgr-drivemapping.png

Choose Tools/Settings/Preferences/Drive Mapping Choose settings similar to the attached screen-shot The Read & Write Access options have 3 settings - enabled, disabled(X), and prompt(?) Click the 'Apply' button, then 'OK' If you do NOT see a C: drive in your Citrix session - or it is already being used for another drive - don't worry - you will see your Ubuntu folder in Windows Explorer under My Network Places - Entire Network - Client Network - \\Client - \\Client\C$. At the command prompt or in batch files, use the UNC \\Client\C$.` ` Note: The C$ must be uppercase. You can do likewise with other drives - D:, E:, etc. and create drives \\Client\D$, \\Client\E$, etc. in your Citrix session. It is usual practice to assign A: and B: to floppy drives. <
>

Citrix Client 10 on Dapper

This following guide is written for Dapper. It works for the author, but YMMV.

Download the Citrix ICA Client RPM

Locate and download the latest (currently version 10.0) ICA Linux client RPM from: http://www.citrix.com/lang/English/downloads.asp

Convert the RPM package to .deb

Install the 'alien' package:

sudo apt-get install alien

Create the .deb

alien ICAClient-10.0-2.i386.rpm

This will create the file 'icaclient-10.0-2.i386.deb'

Install the .deb

sudo dpkg -i icaclient-10.0-2.i386.deb

Install the motif libraries

sudo apt-get install libmotif3

Kubuntu only: install libxp6

sudo apt-get install libxp6

Firefox PNAgent ICA Plugin

Symlink the PNAgent ICA plugin for Firefox

sudo ln -s /usr/lib/ICAClient/npica.so /usr/lib/firefox/plugins/npica.so

Client Setup

You should now be able to configure the client by running:

/usr/lib/ICAClient/wfcmgr

Setup a new connection from: Tools -> Settings -> Preferences (pull down to) Server Location (Your network admin should be able to supply the details) Configure the server options: Connection -> New -> Network (Again, your network admin should be able to supply the details) Configure display options: Connection -> Properties -> Network (pull down to) Window Select 16 million colors (if your vid card supports it) & Seamless Window Once the client is configured, you can launch the ICA client by running:

/usr/lib/ICAClient/wfica

You also might like to update the PATH definition in /etc/environment to include /usr/lib/ICAClient Alternatively, create a symlink for wfica:

sudo ln -s /usr/lib/ICAClient/wfica /usr/local/bin/wfica