Monday, July 7, 2008
HowTo: Install Citrix ICA client in Ubuntu Hardy Heron and get Program Neighborhood working with encryption
Labels: citrix, hardy, ica, presentation server, ubuntu, xenapp 2 commentsThis post is based off of several articles on the web along with personal experience. Citrix has always been 'touchy' for linux, but it has gotten much better in the past two years.
My work uses Citrix Presentation Server with 128-bit encryption, so I'll be installing and configuring my client to work with that.
Also note: Citrix has decided to change the Presentation Server name to XenApp. While I think the name change is a good one (Presentation Server sounds like a licensing server for Powerpoint, doesn't it?), I really wish they'd pick a name and stick to it!
Install the libmotif dependency:
sudo aptitude install libmotif3
Download the latest Citrix client from citrix.com. Since their website is a bit confusing, here's how to get to it if it disappears off of 'featured downloads':
Downloads > Citrix XenApp > Select your version. I chose this:
Alternately, if the path doesn't change, you can grab the file here. (Getting that URL took a bit of html source parsing, so enjoy!)
Download the tar.gz file, then unpack it and run setup:
tar xvzf en.linuxx86.tar.gz
cd en.linuxx86
sudo ./setupwfc
Answer the following to the prompts:
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
Enter option number 1-3 [1]: 1
Please enter the directory in which Citrix Presentation Server Client is to be installed.
[default /home/
or type "quit" to abandon the installation:
The parent directory /home/
Do you want it to be created? [default y]: y
You have chosen to install Citrix Presentation Server Client 10.6 in /home/
Proceed with installation? [default n]:y
CITRIX(R) LICENSE AGREEMENT
Use of this component is subject to the Citrix license covering the
Citrix product(s) with which you will be using this component. This
component is only licensed for use with such Citrix product(s).
CTX_code EP_T_A34320
Select an option:
1. I accept
2. I do not accept
Enter option number 1-2 [2]: 1
Installation proceeding...
Checking available disk space ...
Disk space available 101266708 K (this will be different, of course)
Disk space required 4961 K
Continuing ...
Creating directory /home/
Core package...
Setting file permissions...
Integrating with browsers...
Integration complete.
Do you want to integrate the Citrix client with KDE and GNOME? [default y]: y
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
Enter option number 1-3 [1]: 3
Quitting Citrix Presentation Server Client 10.6 setup.
You should now have a working Citrix client.
For some reason, the setup doesn't seem to think I need a menu item for Citrix. The developers seem to think we want to run it from a terminal using
~/ICAClient/linuxx86/wfcmgr
but alas... that just isn't so, so I created a menu shortcut for it:
Right click on Applications > Edit Menus
Click on Internet (on the left side) > New Item
Type: Application
Name: Citrix ICA Client (or whatever you want)
Command:
[example: /home/eyeslocal/ICAClient/linuxx86/wfcmgr]
Comment:
Click OK. You should now have a new menu item in your Internet menu.
If you run a secure server you'll also need to get PNAgent to work with encryption. Unfortunately, there is nowhere in the Citrix GUI to set encryption level for PNAgent. What to do?
It can be done! Simply go into ~/.ICAClient and edit the wfclient.ini and the appsrv.ini file, changing any "Encryption" lines to RC5 (128 bit).
Once this is done, you should be able to authenticate into Citrix PN without a problem.
Oh and one last thing. If you get this weird looking thing when you try to open Program Neighborhood:
September 1, 2008 at 11:12 AM
You almost had is perfect but you missed a couple of steps. You have to install certificates and in a particular way. You also have to do a little more if you have 64 bits like me. You have to force install the 32bit font program it depends on and then the certificates. It's hard to believe I got it working. It a miracle. The only thing I'm having trouble with now is getting the citrix program I'm using to see my drives. Maybe you know how to do that.
September 1, 2008 at 11:44 AM
Thanks. If you want to explain your findings I'll be happy to refine my original posting to include them.
As for drive mappings, Tools>Settings>Drive Mappings didn't work?