Installing the Citrix ICA client as a local application

Written by: James McQuillan (jam@Ltsp.org)
May 22, 2002

This howto assumes that you already have LTSP installed and working, and also you have Local apps configured.

  1. Download the ICA client package for Linux from the Citrix.org website. The package should be called linuxx86.tar.gz

  2. Create a directory to hold the package during the installation process
    mkdir /tmp/ica

  3. Move the ica package to that directory.

  4. cd into that directory and untar the package
    
    cd /tmp/ica
    
    tar xzf ./linuxx86.tar.gz
        

  5. Run the install script, it's called setupwfc
    
    ./setupwfc
        

    It will ask a series of questions. The only one you need to worry about is which directory to install the client package into. You need to enter:

    /opt/ltsp/i386/usr/lib/ICAClient
    

    It will warn you that this is different from the default directory, but that is ok.

  6. It may ask if you want to update the netscape plug-in, go ahead and say yes.

  7. Copy the Locale database to the ltsp root fs:
    
    cd /usr/lib
    
    find ./locale -print | cpio -pmud /opt/ltsp/i386/usr/lib
        

  8. Create a script to launch the ica client remotely. Give the script a meaningful name, such as local_ica.

    The script should look like this:

    
    #!/bin/bash
    
    HOST=`echo $DISPLAY | awk -F: '{ print $1 }'`
    
    rsh ${HOST} LANG=en_US /usr/lib/ICAClient/wfcmgr -display ${DISPLAY}
        

Now, you can run the ICA client by running the local_ica. You should also be able to setup an Icon on the desktop, or a menu item to call the script.