citrix ica client 10.6 on linux fedora 9

| 6 Comments

i recently "upgraded" my fedora box to fedora 9. i did a basic, no-frills, from-scratch install, then followed some of the good suggestions found on mjmwired.net to personalize it. i then tried following my own suggestions for installing the citrix ica client 10.6 on linux fedora 7 (entry) just to see if it'd work (which i kind of doubted), or if things would go horribly awry (which is what i kind of figured). amazingly, it worked just fine. so here's what i did:

[1] grab the openmotif rpm for an older fedora version (4, for example):
wget http://download.fedora.redhat.com/pub/fedora/linux/\
core/updates/4/i386/openmotif-2.2.3-10.FC4.2.i386.rpm

[2] openmotif has a dependency so it won't install via "yum localinstall blah.rpm" -- so use the rpm command itself with "nodeps":
rpm --nodeps -ivh openmotif-2.2.3-10.FC4.2.i386.rpm

[3] you also need libXp.so.6, and it's available for fedora 9, so use yum to install it (if you don't have it already).

if you trust me (hey! it's a random guy on the internet! what's not to trust!?), run one of these two commands (as root, of course):
if [ `yum list | grep -c '^libXp\.'` -eq 1 ]; then echo "libXp installed"; else yum install libXp; fi
OR
if [ -f /usr/lib/libXp.so.6 ]; then echo "libXp.so.6 exists"; else yum install libXp; fi

the first checks to see if the libXp package is installed. if so, it tells you; otherwise it runs yum to install it. the second checks for the libXp.so.6 file, and if it's there it tells you; otherwise it runs yum to install the libXp package. you really don't need to do both commands. really.

or if you don't trust me (hey! it's a random guy on the internet! what's to trust!?) run this command instead (as root, of course):
yum install libXp

if you've already got it, it'll tell you. if not, it'll install it.

if for some reason you need the actual rpm file, you can get it at: http://download.fedora.redhat.com/pub/fedora/linux/\
releases/9/Everything/i386/os/Packages/libXp-1.0.0-11.fc9.i386.rpm

[4] now you can install the citrix icaclient 10.6 (get the rpm file from the citrix site, silly)
rpm -ivh ICAClient-10.6-1.i386.rpm

the ica client is installed in /usr/lib/ICAClient
(that means wfcmgr, wfica, and so on are in that dir)

it'll show up in your menu in Applications -> Internet -> Citrix Presentation Server Client

run it, accept the license agreement. now you've got your citrix client.

but wait! there's more! another thing you might want to do, which i did:

[5] as root, ln -s /usr/lib/ICAClient/npica.so /usr/lib/mozilla/plugins/
(or put it in your own personal mozilla plugins area if you don't want to do it as root. that would be ~/.mozilla/plugins if you didn't know. create it if it doesn't exist.)
[5a] if you kept selinux active, it will end up complaining later on. if so, do this:
chcon -t textrel_shlib_t /usr/lib/ICAClient/npica.so
[6] restart firefox.
in the address bar, type "about:plugins" and look for the citrix client in the list.

the only part of citrix i use is the web-based apps (metaframe or wts or whatever it's called. i'm not a citrix admin or anything, so don't get all up in my grill about your l33t c!trix skillz and how i'm a c!trix n00b, yo.) so this seems to work for me.

one new event was that i connected to a newer citrix system and got an error:
You have not chosen to trust the "Thawte Premium Server CA", the issuer of the server's security certificate (SSL error 61).

a quick google search reveals all: turns out my citrix ica client needs a new thawte root cert. to resolve this, i download ThawteRoot.crt from http://www2.slac.stanford.edu/computing/windows/services/citrix/linux_client.htm and placed it under /usr/lib/ICAClient/keystore/cacerts.

in other words, if you find yourself in a similar situation just do this (as root):
# cd /usr/lib/ICAClient/keystore/cacerts
# wget http://www2.slac.stanford.edu/computing/windows/\
services/citrix/downloads/ThawteRoot.crt

enjoy.

as before, i claim no responsibility for any accidental citrixide that may occur by following these steps, or if your fedora install gets borked, or if your cat gets feline diabetes from this, or whatever else may result. you're a big boy or girl and you chose to run linux. figure it out yourself, you lazy good-for-nothing freeloader!

6 Comments

check the comments on the fedora 7 blog entry for possible snags you may be experiencing...

http://weblog.failure.net/archives/2007/10/citrix_ica_clie.html#comments

I followed all this, but I'm still getting the Failed Dependency: libXm.so.3 when installing the ICA Client for Unix. I did a locate and found it in /usr/X11R6/lib along with libXm.so.3.0.2. What do you think could be wrong?

Hi Brick,

you have to set a symbolic link (as root):

ln –s /usr/X11R6/lib/libXm.so.3 /usr/lib/

Matitu, that did it! I was making symbolic links, but they were always broken. Thanks Dude!

Yo TeRRY!

Thanks a lot!!

Works like a charm :-)

Bass D'Phar

thanks!
I was going mad with this package 8-/
I have a mandriva x86_64 and the dependencies between packages x86_64 and x86, 2007 and 2009 are impossible to resolve, but now it works.

my twitter feed

stuff about me