2010-05-04

Howto: Citrix ICA Client in Ubuntu

This is a walk-through to install the Citrix ICA Client on Ubuntu. The Citrix ICA Client allows access to remote Windows sessions run from a Citrix server.

Ubuntu 10.04
Citrix Linux 11 client (.deb packaged)


Installation.
To be successful with you Citrix installation you need to use Sun Java plug-in on you Ubuntu desktop. Here you can read more about that Ubuntu 10.04 java issue other post.

Go to Citrix.com click on Downloads and on the right side you should have a link to Linux Clients. As I type this the version to download is 11.100 and you should choose the .deb package.

Download and run or run directly from you browser.


After you click "Install Package" you get to provide admin password and you will have to agree to the EULA.


If you have installed Citrix client before on you computer, the installer will ask you install over the "old" installation or stop the installation. Otherwise it will install the client for you.

You are now done. Restart your browser and connect to your favorite Citrix service host.



Check to see that the installer created
  • the executable /usr/lib/ICAClient/wfcmgr
  • a launcher like Applications>Internet>Citrix Receiver or Internet>Citrix Receiver 
Check that /usr/lib/ICAClient/wfcmgr has needed libraries, e.g.

Start a Terminal, and type the following (one line at the time):
CLIENT_EXEC="/usr/lib/ICAClient/wfcmgr"
ldd ${CLIENT_EXEC}
 You will probably get results like
    linux-gate.so.1 =>  (0x00e1f000)
    libXm.so.4 => not found
    libXp.so.6 => /usr/lib/libXp.so.6 (0x0057f000)
    libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00514000)
    libSM.so.6 => /usr/lib/libSM.so.6 (0x00282000)
    libICE.so.6 => /usr/lib/libICE.so.6 (0x00e23000)
    libXmu.so.6 => /usr/lib/libXmu.so.6 (0x009c0000)
    libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x002b5000)
    libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00b8a000)
    libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00544000)
    libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x007f9000)
    libXt.so.6 => /usr/lib/libXt.so.6 (0x00110000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0x00163000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0x0028b000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0x009fe000)
    libuuid.so.1 => /lib/libuuid.so.1 (0x00caf000)
    /lib/ld-linux.so.2 (0x00611000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0x0029b000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x007ea000)
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.

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.

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. 

Reference:


No comments:

Post a Comment