个人工具

“UbuntuHelp:CitrixICAClientHowTo”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(New page: {{From|https://help.ubuntu.com/community/CitrixICAClientHowTo}} {{Languages|php5}} Parent page: Internet and Networking The Citrix ICA Client allows ...)
 
 
(未显示2个用户的13个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/CitrixICAClientHowTo}}
 
{{From|https://help.ubuntu.com/community/CitrixICAClientHowTo}}
{{Languages|php5}}
+
{{Languages|UbuntuHelp:CitrixICAClientHowTo}}
 
Parent page: [[UbuntuHelp:InternetAndNetworking| Internet and Networking]]
 
Parent page: [[UbuntuHelp:InternetAndNetworking| 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 8.04 - Ubuntu 9.10 ==
 +
You do not have to run wfcmgr if you are only using the XenApp web plugin and nor do you have to install Openmotif but you do need to have libxaw7 installed.
 +
=== 32-bit ===
 +
Install Citrix's 32-bit client from its linux clients download page (currently [http://www.citrix.com/English/ss/downloads/details.asp?downloadId=3323&productId=186 here]), then add any needed libraries and make them work with your system.
 +
1. Install the 32-bit Citrix client.
 +
<ol><li>Download the linux client tarball (currently [http://www.citrix.com/English/ss/downloads/details.asp?downloadId=3323&productId=186 here]) to some temp dir, e.g. /tmp/citrix
 +
</li><li>Extract the tarball, e.g. (change parameters as necessary)</li></ol>
  
The Citrix ICA Client allows access to remote Windows sessions run from a Citrix server.
+
<pre><nowiki>
 +
DOWNLOAD_DIR="/tmp/citrix"
 +
TARBALL_FN="linuxx86-11.0.140395.tar.gz"
 +
pushd ${DOWNLOAD_DIR}
 +
tar xfz ${TARBALL_FN} # add '> /dev/null' for quiet
 +
</nowiki></pre>
 +
1.#3 From the download directory, run the text-mode installer
 +
<pre><nowiki>
 +
sudo ./setupwfc
 +
</nowiki></pre>
 +
Take the option to "Install Citrix Receiver", install to
 +
<pre><nowiki>
 +
/usr/lib/ICAClient
 +
</nowiki></pre>
 +
, choose additional options as needed, and quit the installer.
 +
1.#4 Check to see that the installer created
 +
* the executable '''/usr/lib/ICAClient/wfcmgr'''
 +
* a launcher like '''Applications>Internet>Citrix Receiver''' or '''Internet>Citrix Receiver'''
 +
1.#5 Check that '''/usr/lib/ICAClient/wfcmgr''' has needed libraries, e.g.
 +
<pre><nowiki>
 +
CLIENT_EXEC="/usr/lib/ICAClient/wfcmgr"
 +
ldd ${CLIENT_EXEC}
 +
</nowiki></pre>
 +
You will probably get results like
 +
<pre><nowiki>
 +
linux-gate.so.1 => (0xf77a3000)
 +
libXm.so.4 => not found
 +
libXp.so.6 => /usr/lib32/libXp.so.6 (0xf777f000)
 +
libXpm.so.4 => /usr/lib32/libXpm.so.4 (0xf776c000)
 +
libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7763000)
 +
libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7748000)
 +
libXmu.so.6 => /usr/lib32/libXmu.so.6 (0xf772f000)
 +
libdl.so.2 => /lib32/libdl.so.2 (0xf772b000)
 +
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7712000)
 +
libc.so.6 => /lib32/libc.so.6 (0xf75cd000)
 +
libXt.so.6 => /usr/lib32/libXt.so.6 (0xf757a000)
 +
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf744b000)
 +
libXext.so.6 => /usr/lib32/libXext.so.6 (0xf743b000)
 +
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7437000)
 +
libuuid.so.1 => /lib32/libuuid.so.1 (0xf7431000)
 +
/lib/ld-linux.so.2 (0xf77a4000)
 +
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7413000)
 +
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf740e000)
 +
</nowiki></pre>
 +
Note the '''not found''' above. If you don't get one of those, try just running '''/usr/lib/ICAClient/wfcmgr''': if that launches the Citrix Receiver, you're done, and you can probably exit these instructions. If not, proceed to next step.
 +
2. Download and setup all needed 32-bit libraries.
  
This guide written for Dapper. It works for the author, but YMMV.
+
* If you are missing '''libXm.so.4'''
 +
Install motif and create a symlink to the latest similar library
 +
<pre><nowiki>
 +
sudo aptitude install libmotif3
 +
ls -al /usr/lib/libXm.so*
 +
# if the latest version is libXm.so.3.0.2, then
 +
sudo ln -s /usr/lib/libXm.so.3.0.2 /usr/lib/libXm.so.4
 +
</nowiki></pre>
 +
Repeat running '''ldd''' until all libraries are found. I.e.
 +
<pre><nowiki>
 +
CLIENT_EXEC="/usr/lib/ICAClient/wfcmgr"
 +
ERROR_STRING='not found'
 +
ldd ${CLIENT_EXEC} | fgrep -e "${ERROR_STRING}"
 +
</nowiki></pre>
 +
should produce no output.
 +
3. Run the native client from a terminal, e.g.
  
== Download the Citrix ICA Client RPM ==
+
<pre><nowiki>
 +
${CLIENT_EXEC}
 +
</nowiki></pre>
 +
The Citrix Receiver should launch with no errors. Choose Connections>Exit to quit the native client.
 +
If you see errors in the terminal, use the terminal messages to guide your efforts. You may need to repeat steps above.
 +
4. Run the client from the launcher noted above.
  
Locate and download the Version 9.0 ICA Linux client RPM from:  
+
=== 64-bit ===
 +
If Citrix provides a 64-bit client at its linux clients download page (currently [http://www.citrix.com/English/ss/downloads/details.asp?downloadId=3323&productId=186 here]) download and install that. Unfortunately, at the moment (31 Jan 2010) it does not, so you will need to also install 32-bit libraries and make them work with your 64-bit system.
 +
1. Install the 32-bit Citrix client.
 +
<ol><li>Download the linux client tarball (currently [http://www.citrix.com/English/ss/downloads/details.asp?downloadId=3323&productId=186 here]) to some temp dir, e.g. /tmp/citrix
 +
</li><li>Extract the tarball, e.g. (change parameters as necessary)</li></ol>
  
http://www.citrix.com/lang/English/downloads.asp
+
<pre><nowiki>
 +
DOWNLOAD_DIR="/tmp/citrix"
 +
TARBALL_FN="linuxx86-11.0.140395.tar.gz"
 +
pushd ${DOWNLOAD_DIR}
 +
tar xfz ${TARBALL_FN} # add '> /dev/null' for quiet
 +
</nowiki></pre>
 +
1.#3 From the download directory, run the text-mode script
 +
<pre><nowiki>
 +
./setupwfc
 +
</nowiki></pre>
 +
Take the option to "Install Citrix Receiver", then install to the default directory
 +
<pre><nowiki>
 +
/usr/lib/ICAClient
 +
</nowiki></pre>
 +
and exit.
 +
<ol><li>Check to see that it created the executable /usr/lib/ICAClient/wfcmgr (and also Applications>Internet>Citrix Receiver, though that's just a link).
 +
</li><li>Check that /usr/lib/ICAClient/wfcmgr has needed libraries, e.g.</li></ol>
  
The name of the file you want is 'ICAClient-9.0-1.i386.rpm'
+
<pre><nowiki>
 +
CLIENT_EXEC="/usr/lib/ICAClient/wfcmgr"
 +
ldd ${CLIENT_EXEC}
 +
</nowiki></pre>
 +
You will probably get results like
 +
<pre><nowiki>
 +
linux-gate.so.1 => (0xf77a3000)
 +
libXm.so.4 => not found
 +
libXp.so.6 => /usr/lib32/libXp.so.6 (0xf777f000)
 +
libXpm.so.4 => /usr/lib32/libXpm.so.4 (0xf776c000)
 +
libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7763000)
 +
libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7748000)
 +
libXmu.so.6 => /usr/lib32/libXmu.so.6 (0xf772f000)
 +
libdl.so.2 => /lib32/libdl.so.2 (0xf772b000)
 +
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7712000)
 +
libc.so.6 => /lib32/libc.so.6 (0xf75cd000)
 +
libXt.so.6 => /usr/lib32/libXt.so.6 (0xf757a000)
 +
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf744b000)
 +
libXext.so.6 => /usr/lib32/libXext.so.6 (0xf743b000)
 +
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7437000)
 +
libuuid.so.1 => /lib32/libuuid.so.1 (0xf7431000)
 +
/lib/ld-linux.so.2 (0xf77a4000)
 +
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7413000)
 +
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf740e000)
 +
</nowiki></pre>
 +
Note the '''not found''' above. If you don't get one of those, try just running /usr/lib/ICAClient/wfcmgr: if that launches the Citrix Receiver, you're done, and you can probably exit these instructions. If not, proceed to next step.
 +
2. Download and setup needed 32-bit libraries.
 +
<ol><li>Download 32-bit libraries (changing parameters in the following as necessary):</li></ol>
  
== Convert the RPM package to .deb ==
+
<pre><nowiki>
 +
SOURCE_DIR="/tmp/motif"
 +
TARGET_DIR="/usr/lib32"
 +
DEB_URI="http://ftp.ubuntu.com/ubuntu/pool/multiverse/o/openmotif/libmotif3_2.2.3-2_i386.deb"
 +
DEB_FN="$(basename ${DEB_URI})"
 +
DEB_FP="${SOURCE_DIR}/${DEB_FN}"
 +
mkdir -p ${SOURCE_DIR}
 +
mkdir -p ${TARGET_DIR} # should be there already
 +
pushd ${SOURCE_DIR}
 +
wget -O ${DEB_FN} ${DEB_URI}
 +
dpkg -x ${DEB_FN} ${SOURCE_DIR}
 +
sudo cp -r ${SOURCE_DIR}/usr/lib/* ${TARGET_DIR}/
 +
</nowiki></pre>
 +
1.#2 Link to 32-bit libraries as needed. E.g., for the error
 +
<pre><nowiki>
 +
libXm.so.4 => not found
 +
</nowiki></pre>
 +
above, check to see that a similarly-named library exists among your 32-bit libraries, and link to that. E.g.
 +
<pre><nowiki>
 +
MISSING_LIB_NAME="libXm.so.4"
 +
MISSING_LIB_BASE="libXm.so"
 +
TARGET_DIR="/usr/lib32"
 +
SOURCE_DIR="/usr/lib"
 +
find ${TARGET_DIR} -name "${MISSING_LIB_BASE}*" | xargs ls -al
 +
ln -s ${TARGET_DIR}/libXm.so.3.0.2 ${TARGET_DIR}/${MISSING_LIB_NAME}
 +
</nowiki></pre>
 +
1.#3 Rerun `ldd` and loop the previous steps until
 +
<pre><nowiki>
 +
CLIENT_EXEC="/usr/lib/ICAClient/wfcmgr"
 +
ERROR_STRING='not found'
 +
ldd ${CLIENT_EXEC} | fgrep -e "${ERROR_STRING}"
 +
</nowiki></pre>
 +
produces no output.
 +
3. Run the client from a terminal, e.g.
  
 +
<pre><nowiki>
 +
${CLIENT_EXEC}
 +
</nowiki></pre>
 +
You should get no errors; if you do, use the terminal messages to guide your efforts. You may need to repeat steps above.
 +
4. Run the client from the launcher, e.g. Applications>Internet>Citrix Receiver
 +
 +
=== 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:
 +
<pre><nowiki>
 +
  sudo aptitude install libmotif3
 +
  sudo aptitude install libxaw7
 +
</nowiki></pre>
 +
=== 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:
 +
<pre><nowiki>
 +
  mkdir /tmp/citrix-install
 +
  cd /tmp/citrix-install
 +
  mv ~/Desktop/en.linuxx86.tar.gz ./
 +
  tar xvf en.linuxx86.tar.gz
 +
</nowiki></pre>
 +
Now, install the Citrix Client
 +
<pre><nowiki>
 +
  sudo ./setupwfc
 +
</nowiki></pre>
 +
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
 +
<pre><nowiki>
 +
  sudo ln -s /usr/lib/ICAClient/wfica /usr/local/bin/wfica
 +
  sudo ln -s /usr/lib/ICAClient/wfcmgr /usr/local/bin/wfcmgr
 +
</nowiki></pre>
 +
=== 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
 +
<pre><nowiki>
 +
/usr/lib/ICAClient/wfcmgr &
 +
</nowiki></pre>
 +
(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
 +
<pre><nowiki>
 +
/usr/lib/ICAClient/wfcmgr &
 +
</nowiki></pre>
 +
{|border="1" cellspacing="0"
 +
| https://help.ubuntu.com/community/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.
 +
<<BR>>
 +
== 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:
 
Install the 'alien' package:
<pre><nowiki>sudo apt-get install alien
+
<pre><nowiki>
</nowiki></code>
+
sudo apt-get install alien
 
+
</nowiki></pre>
 
Create the .deb
 
Create the .deb
<pre><nowiki>alien ICAClient-9.0-1.i386.rpm
+
<pre><nowiki>
</nowiki></code>
+
alien ICAClient-10.0-2.i386.rpm
 
+
</nowiki></pre>
This will create the file 'ICAClient-9.0-1.i386.deb'
+
This will create the file 'icaclient-10.0-2.i386.deb'
 
+
=== Install the .deb ===
== Install the .deb ==
+
<pre><nowiki>
 
+
sudo dpkg -i icaclient-10.0-2.i386.deb
<pre><nowiki>sudo dpkg -i ICAClient-9.0-1.i386.deb
+
</nowiki></pre>
</nowiki></code>
+
=== Install the motif libraries ===
 
+
<pre><nowiki>
== Install the motif libraries ==
+
sudo apt-get install libmotif3
 
+
</nowiki></pre>
<pre><nowiki>sudo apt-get install libmotif3
+
</nowiki></code>
+
 
+
 
'''Kubuntu only:'''
 
'''Kubuntu only:'''
 
install libxp6
 
install libxp6
<pre><nowiki>sudo apt-get install libxp6
+
<pre><nowiki>
</nowiki></code>
+
sudo apt-get install libxp6
 
+
</nowiki></pre>
== Firefox PNAgent ICA Plugin ==
+
=== Firefox PNAgent ICA Plugin ===
 
Symlink the PNAgent ICA plugin for Firefox
 
Symlink the PNAgent ICA plugin for Firefox
 
+
<pre><nowiki>
<pre><nowiki>sudo ln –s /usr/lib/ICAClient/npica.so /usr/lib/firefox/plugins/npica.so
+
sudo ln -s /usr/lib/ICAClient/npica.so /usr/lib/firefox/plugins/npica.so
</nowiki></code>
+
</nowiki></pre>
 
+
=== Client Setup ===
== Client Setup ==
+
 
+
 
You should now be able to configure the client by running:
 
You should now be able to configure the client by running:
<pre><nowiki>/usr/lib/ICAClient/wfcmgr
+
<pre><nowiki>
</nowiki></code>
+
/usr/lib/ICAClient/wfcmgr
 
+
</nowiki></pre>
 
Setup a new connection from:
 
Setup a new connection from:
 
'''Tools -> Settings -> Preferences''' (pull down to) '''Server Location'''
 
'''Tools -> Settings -> Preferences''' (pull down to) '''Server Location'''
 
(Your network admin should be able to supply the details)
 
(Your network admin should be able to supply the details)
 
 
Configure the server options:
 
Configure the server options:
 
'''Connection -> New -> Network'''
 
'''Connection -> New -> Network'''
 
(Again, your network admin should be able to supply the details)
 
(Again, your network admin should be able to supply the details)
 
 
Configure display options:
 
Configure display options:
 
'''Connection -> Properties -> Network''' (pull down to) '''Window'''
 
'''Connection -> Properties -> Network''' (pull down to) '''Window'''
 
Select 16 million colors (if your vid card supports it) & Seamless 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:
 
Once the client is configured, you can launch the ICA client by running:
<pre><nowiki>/usr/lib/ICAClient/wfica
+
<pre><nowiki>
</nowiki></code>
+
/usr/lib/ICAClient/wfica
 
+
</nowiki></pre>
 
You also might like to update the PATH definition in /etc/environment to include /usr/lib/ICAClient
 
You also might like to update the PATH definition in /etc/environment to include /usr/lib/ICAClient
 
 
Alternatively, create a symlink for wfica:
 
Alternatively, create a symlink for wfica:
<pre><nowiki>sudo ln -s /usr/lib/ICAClient/wfica /usr/local/bin/wfica
+
<pre><nowiki>
</nowiki></code>
+
sudo ln -s /usr/lib/ICAClient/wfica /usr/local/bin/wfica
 +
</nowiki></pre>
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月19日 (三) 21:53的最新版本


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 8.04 - Ubuntu 9.10

You do not have to run wfcmgr if you are only using the XenApp web plugin and nor do you have to install Openmotif but you do need to have libxaw7 installed.

32-bit

Install Citrix's 32-bit client from its linux clients download page (currently here), then add any needed libraries and make them work with your system. 1. Install the 32-bit Citrix client.

  1. Download the linux client tarball (currently here) to some temp dir, e.g. /tmp/citrix
  2. Extract the tarball, e.g. (change parameters as necessary)
DOWNLOAD_DIR="/tmp/citrix"
TARBALL_FN="linuxx86-11.0.140395.tar.gz"
pushd ${DOWNLOAD_DIR}
tar xfz ${TARBALL_FN} # add '> /dev/null' for quiet

1.#3 From the download directory, run the text-mode installer

sudo ./setupwfc

Take the option to "Install Citrix Receiver", install to

/usr/lib/ICAClient

, choose additional options as needed, and quit the installer. 1.#4 Check to see that the installer created

  • the executable /usr/lib/ICAClient/wfcmgr
  • a launcher like Applications>Internet>Citrix Receiver or Internet>Citrix Receiver

1.#5 Check that /usr/lib/ICAClient/wfcmgr has needed libraries, e.g.

CLIENT_EXEC="/usr/lib/ICAClient/wfcmgr"
ldd ${CLIENT_EXEC}

You will probably get results like

linux-gate.so.1 => (0xf77a3000)
libXm.so.4 => not found
libXp.so.6 => /usr/lib32/libXp.so.6 (0xf777f000)
libXpm.so.4 => /usr/lib32/libXpm.so.4 (0xf776c000)
libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7763000)
libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7748000)
libXmu.so.6 => /usr/lib32/libXmu.so.6 (0xf772f000)
libdl.so.2 => /lib32/libdl.so.2 (0xf772b000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7712000)
libc.so.6 => /lib32/libc.so.6 (0xf75cd000)
libXt.so.6 => /usr/lib32/libXt.so.6 (0xf757a000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf744b000)
libXext.so.6 => /usr/lib32/libXext.so.6 (0xf743b000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7437000)
libuuid.so.1 => /lib32/libuuid.so.1 (0xf7431000)
/lib/ld-linux.so.2 (0xf77a4000)
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7413000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf740e000)

Note the not found above. If you don't get one of those, try just running /usr/lib/ICAClient/wfcmgr: if that launches the Citrix Receiver, you're done, and you can probably exit these instructions. If not, proceed to next step. 2. Download and setup all needed 32-bit libraries.

  • If you are missing libXm.so.4

Install motif and create a symlink to the latest similar library

sudo aptitude install libmotif3
ls -al /usr/lib/libXm.so*
# if the latest version is libXm.so.3.0.2, then
sudo ln -s /usr/lib/libXm.so.3.0.2 /usr/lib/libXm.so.4

Repeat running ldd until all libraries are found. I.e.

CLIENT_EXEC="/usr/lib/ICAClient/wfcmgr"
ERROR_STRING='not found'
ldd ${CLIENT_EXEC} | fgrep -e "${ERROR_STRING}"

should produce no output. 3. Run the native client from a terminal, e.g.

${CLIENT_EXEC}

The Citrix Receiver should launch with no errors. Choose Connections>Exit to quit the native client. If you see errors in the terminal, use the terminal messages to guide your efforts. You may need to repeat steps above. 4. Run the client from the launcher noted above.

64-bit

If Citrix provides a 64-bit client at its linux clients download page (currently here) download and install that. Unfortunately, at the moment (31 Jan 2010) it does not, so you will need to also install 32-bit libraries and make them work with your 64-bit system. 1. Install the 32-bit Citrix client.

  1. Download the linux client tarball (currently here) to some temp dir, e.g. /tmp/citrix
  2. Extract the tarball, e.g. (change parameters as necessary)
DOWNLOAD_DIR="/tmp/citrix"
TARBALL_FN="linuxx86-11.0.140395.tar.gz"
pushd ${DOWNLOAD_DIR}
tar xfz ${TARBALL_FN} # add '> /dev/null' for quiet

1.#3 From the download directory, run the text-mode script

./setupwfc

Take the option to "Install Citrix Receiver", then install to the default directory

/usr/lib/ICAClient

and exit.

  1. Check to see that it created the executable /usr/lib/ICAClient/wfcmgr (and also Applications>Internet>Citrix Receiver, though that's just a link).
  2. Check that /usr/lib/ICAClient/wfcmgr has needed libraries, e.g.
CLIENT_EXEC="/usr/lib/ICAClient/wfcmgr"
ldd ${CLIENT_EXEC}

You will probably get results like

linux-gate.so.1 => (0xf77a3000)
libXm.so.4 => not found
libXp.so.6 => /usr/lib32/libXp.so.6 (0xf777f000)
libXpm.so.4 => /usr/lib32/libXpm.so.4 (0xf776c000)
libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7763000)
libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7748000)
libXmu.so.6 => /usr/lib32/libXmu.so.6 (0xf772f000)
libdl.so.2 => /lib32/libdl.so.2 (0xf772b000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7712000)
libc.so.6 => /lib32/libc.so.6 (0xf75cd000)
libXt.so.6 => /usr/lib32/libXt.so.6 (0xf757a000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf744b000)
libXext.so.6 => /usr/lib32/libXext.so.6 (0xf743b000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7437000)
libuuid.so.1 => /lib32/libuuid.so.1 (0xf7431000)
/lib/ld-linux.so.2 (0xf77a4000)
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7413000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf740e000)

Note the not found above. If you don't get one of those, try just running /usr/lib/ICAClient/wfcmgr: if that launches the Citrix Receiver, you're done, and you can probably exit these instructions. If not, proceed to next step. 2. Download and setup needed 32-bit libraries.

  1. Download 32-bit libraries (changing parameters in the following as necessary):
SOURCE_DIR="/tmp/motif"
TARGET_DIR="/usr/lib32"
DEB_URI="http://ftp.ubuntu.com/ubuntu/pool/multiverse/o/openmotif/libmotif3_2.2.3-2_i386.deb"
DEB_FN="$(basename ${DEB_URI})"
DEB_FP="${SOURCE_DIR}/${DEB_FN}"
mkdir -p ${SOURCE_DIR}
mkdir -p ${TARGET_DIR} # should be there already
pushd ${SOURCE_DIR}
wget -O ${DEB_FN} ${DEB_URI}
dpkg -x ${DEB_FN} ${SOURCE_DIR}
sudo cp -r ${SOURCE_DIR}/usr/lib/* ${TARGET_DIR}/

1.#2 Link to 32-bit libraries as needed. E.g., for the error

libXm.so.4 => not found

above, check to see that a similarly-named library exists among your 32-bit libraries, and link to that. E.g.

MISSING_LIB_NAME="libXm.so.4"
MISSING_LIB_BASE="libXm.so"
TARGET_DIR="/usr/lib32"
SOURCE_DIR="/usr/lib"
find ${TARGET_DIR} -name "${MISSING_LIB_BASE}*" | xargs ls -al
ln -s ${TARGET_DIR}/libXm.so.3.0.2 ${TARGET_DIR}/${MISSING_LIB_NAME}

1.#3 Rerun `ldd` and loop the previous steps until

CLIENT_EXEC="/usr/lib/ICAClient/wfcmgr"
ERROR_STRING='not found'
ldd ${CLIENT_EXEC} | fgrep -e "${ERROR_STRING}"

produces no output. 3. Run the client from a terminal, e.g.

${CLIENT_EXEC}

You should get no errors; if you do, use the terminal messages to guide your efforts. You may need to repeat steps above. 4. Run the client from the launcher, e.g. Applications>Internet>Citrix Receiver

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