To me six months from now: How to get Citrix running on GNU/Linux (Ubuntu/Debian/Fedora)

This is now the third time that I’ve had to research how to get working so it’s time for a post. This should probably work for Ubuntu systems as well.

Edit: The site now has a debian package to make life easier the only dependency is libxp6

aptitude install libxp6
dpkg -i icaclient_11.100_i386.patched.deb

Go to the Citrix Site and download the file called:
linuxx86-11.0.140395.tar.gz (or greater).

This is a tarbomb so I advise creating a new directory and extract it there. Then run the setup script ./setupwfc

mkdir citrix
mv /tmp/linuxx86-11.0.140395.tar.gz citrix/
cd citrix
tar xzvf linuxx86-11.0.140395.tar.gz
./setupwfc

Now the two extra things you’ll need to do.

First install the package ia32-libs package which is “ia32 shared libraries for use on amd64 and ia64 systems”.

sudo apt-get install ia32-libs

Next you need to copy the firefox/iceweasel/whatever certs

cp -v /usr/share/ca-certificates/mozilla/* /usr/lib/ICAClient/keystore/cacerts/

Of course when I need this next I’ll have forgotten all about this post.

EDIT: I updated to Kubuntu 10.05 and I came across the error related to /usr/lib/ICAClient/wfcmgr: error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory. A quick print of the shared library dependencies and we see that libXm.so.4 is not found.

user@pc:~$ ldd /usr/lib/ICAClient/wfcmgr
        linux-gate.so.1 =>  (0xf77c1000)
        libXm.so.4 => not found
        libXp.so.6 => /usr/lib32/libXp.so.6 (0xf779a000)
        libXpm.so.4 => /usr/lib32/libXpm.so.4 (0xf7788000)
        libSM.so.6 => /usr/lib32/libSM.so.6 (0xf777f000)
        libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7766000)
        libXmu.so.6 => /usr/lib32/libXmu.so.6 (0xf774f000)
        libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf774b000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf7747000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf772d000)
        libc.so.6 => /lib32/libc.so.6 (0xf75d3000)
        libXt.so.6 => /usr/lib32/libXt.so.6 (0xf7580000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7463000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7453000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf744f000)
        libuuid.so.1 => /lib32/libuuid.so.1 (0xf7449000)
        /lib/ld-linux.so.2 (0xf77c2000)
        libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf742f000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7429000)

I tried installing libmotif3 (apt-get install libmotif3) as suggested here but then I got the error wrong ELF class: ELFCLASS64. I know from experience that this is due to running a 32bit application on a 64bit os. After some searching I came across this post which recommended downloading a 32 bit version of libmotif3 for the i386 platform, forcing the install and creating a link from version 3 to version 4.

dpkg -i --force-architecture libmotif*i386.deb
ln -s /usr/lib/libXm.so.3 /usr/lib32/libXm.so.4

This fixed the problem for me. By the way the binary you need to point your browser to is /usr/lib/ICAClient/wfica

This entry was posted in citrix, General and tagged , , . Bookmark the permalink.

5 Responses to To me six months from now: How to get Citrix running on GNU/Linux (Ubuntu/Debian/Fedora)

  1. Pingback: Installing Citrix on Fedora 14 « kenfallon.com

  2. Thanks, This helped me get past the hurdle, as I wanted to use the Citrix Receiver with Xenapp and have my applications appear in a folder on my desktop. Installing the libmotif4*.i386 at the same openmotif multiverse worked like a charm.

  3. Pingback: Citrix receiver : "Comodo High-Assurance Secure Server CA (SSL error 61). - Page 3

  4. akaper says:

    It is also possible to simlink to the standard locations with the certificates. This means that citrix receiver always uses the most up to date certificates, without the need to manually copy new certificates.

  5. Ben says:

    Hi

    I wasn’t too keen on force installing a pkg so I simply unpacked the .deb

    cd /tmp/
    ar vx libmotif*.deb
    cd apps/citrix/
    tar xvzf /tmp/data.tar.gz ./usr/lib
    cd usr/lib
    ln -s libXm.so.3 libXm.so.4

Leave a Reply

Your email address will not be published.