Here I will quickly cover setting up the Citrix client on a amd64 (64-bit) Debian Linux box.
I will assume you have a working Debian Etch or Sid installation on an amd64 box (or the intel clone of the same). This will also cover Citrix client installation in i386 for someone who only wants the client under one user account, i.e. you don't want proprietary software taking over your computer.
Also, I am assuming you have a web-facing Citrix server with port 443 open to the Citrix portal. For example, on Windows you would usually go to https://my.server.com then sign in with your Windows credentials, then click on an icon on the page to load the published application. I am assuming that you can do the same on Linux, but instead of loading the published app, you get the option to save a file called 'launch.ica'.
#!/bin/sh mkdir ~/citrix-client cd ~/citrix-client echo *****Getting libmotif wget http://http.us.debian.org/debian/pool/non-free/o/openmotif/libmotif3_2.2.3-4_i386.deb echo *****getting Citrix Linux Client wget http://download2.citrix.com/FILES/en/products/Linux10/en.linuxx86.tar.gz echo *****extracting libmotif ar x libmotif3_2.2.3-4_i386.deb tar -xzf data.tar.gz echo *****extracting Citrix Linux Client tar -xzf en.linuxx86.tar.gz echo *****getting GoDaddy SSL certs wget -P linuxx86/linuxx86.cor/keystore/cacerts/ --no-check-certificate https://certs.godaddy.com/repository/gd-class2-root.crt https://certs.godaddy.com/repository/gd_intermediate.crt https://certs.godaddy.com/repository/gd_cross_intermediate.crt echo *****writing wfica.sh echo '#!/bin/sh' > wfica.sh echo 'cd $HOME/citrix-client/linuxx86/linuxx86.cor/'>> wfica.sh echo 'export LD_LIBRARY_PATH=./lib'>> wfica.sh echo 'exec ./wfica "$@"'>> wfica.sh chmod +x wfica.sh
mkdir ~/citrix-client cd ~/citrix-client
wget http://http.us.debian.org/debian/pool/non-free/o/openmotif/libmotif3_2.2.3-2_i386.deb ar x libmotif3_2.2.3-2_i386.deb tar -xzf data.tar.gz
wget http://download2.citrix.com/FILES/en/products/Linux10/en.linuxx86.tar.gz tar -xzf en.linuxx86.tar.gz
cp -r usr/lib linuxx86/linuxx86.cor/ cp /usr/share/ca-certificates/mozilla/* linuxx86/linuxx86.cor/keystore/cacerts/
cd linuxx86/linuxx86.cor/keystore/cacerts/ wget --no-check-certificate https://certs.godaddy.com/repository/gd-class2-root.crt https://certs.godaddy.com/repository/gd_intermediate.crt https://certs.godaddy.com/repository/gd_cross_intermediate.crt
vi wfica.sh
#!/bin/sh cd $HOME/citrix-client/linuxx86/linuxx86.cor/ export LD_LIBRARY_PATH=./lib exec ./wfica "$@"
chmod +x wfica.sh