User Tools

Site Tools


howto:installcitrix

Installing Citrix

Background

You have two choices for the Citrix install. Version 10.6 is the latest version of Citrix, but only works in 'browser mode' (that is, as a firefox helper app) and not in standalone mode with the wfica or wfcmgr programs. This is because all versions from 9 onwards rely on openmotif which is not installed on the EEE. Older versions, (7 or 8) work fine, but require a somewhat more complex install.

Citrix 10.x

(browser mode only, versions 9 or 10.x)

  • Downloaded the 10.6 client that I linked to earlier in this thread https://citrix.anglocolombiano.edu.co/Citrix/MetaFrame/ICAWEB_common/en/icaunix/linuxx86.tar.gz Or download from the citrix website (www.citrix.com)
  • Unzipped it in a folder in my home folder (I placed it in a folder named “citrix”)
  • Opened a console (Ctrl + Alt + t)
  • Changed to root (sudo su)
  • Went to the folder (cd /home/user/citrix)
  • Run the installer (./setupwfc)If you need to get additional certificates to work, see the section on certificates in the 7.0 or 8.0 install

Full Citrix Client

versions 6 or 7

  • Download an older CITRIX client for linux, save it in /tmp. I don't remember where I downloaded it from, but do a google search for Citrix 8 client or Citrix 7 client. Users have reported that version 7 can be downloaded from http://www.ucl.ac.uk/is/wts/standalone/unix/
  • Open a terminal window (CTL-ALT-T), unpack, and run the installer;
/home/user>  sudo su -
xxx:/root>  mkdir /tmp/citrix
xxx:/root>  cd /tmp/citrix
xxx:/tmp/citrix>  tar xfvz ../linuxx86.tar.gz
xxx:/tmp/citrix>  ./setupwfc

this will run the installer. Follow the prompts.

  • Version 7 (8 may as well, I'm not sure) of Citrix tries to reference an old library (from the X window manager), so we need to make the most recent one available under an older name;
xxx:/root>  ln -s /usr/lib/libXaw7.so.7 /usr/lib/libXaw.so.6
xxx:/root>  ldconfig

close this (root) window, or type

xxx:/root>  exit

to return to a non-privileged window (ie your /home/user)

  • Create Netscape browser settings for Citrix to use. Citrix 7.x (version 8 this may not be required) is assuming you're using (older) Netscape, not Mozilla. Of course you can do this with your favourite text editor if you want, but here's the shell version. (^D means press CONTROL-D, Unix's end of file marker)
/home/user>  cd
/home/user>  mkdir .netscape
/home/user>  cat >.netscape/preferences.js
user_pref("network.proxy.http","");
user_pref("network.proxy.http_port", 80);
user_pref("network.proxy.type", 0);
^D
/home/user>
  • Add, as root, a couple of softlinks so you don't have to type the full path to run wfica or wfcmgr
/home/user>  sudo su -
xxx:/root>  ln -s /usr/lib/ICAClient/wfica /usr/local/bin/wfica
xxx:/root>  ln -s /usr/lib/ICAClient/wfcmgr /usr/local/bin/wfcmgr
  • Cleanup all the files you left lying around
xxx:/root>  rm /tmp/linuxx86.tar.gz
xxx:/root>  rm -Rf /tmp/citrix

Certificates

(applies to all versions)

  • You may need additional certificates. For example, my employer use's Thawte's certificate, and I needed to download them from

http://www.thawte.com/roots/index.html Save them to disk, and to install them (or at least the ones I needed – terminal window again). I only unzipped a couple of the certs you may need to grab more of them, but this give the idea of what you need to do. They need to be placed in /usr/lib/ICAClient/keystore/cacerts and be renamed from a .cer extenstion to a .crt extension.

/home/user>  sudo su -
xxx:/root>  cd /tmp
xxx:/tmp>  unzip thawte-roots.zip *ServerCA.cer
xxx:/tmp>  cd "Thawte Server Roots"
xxx:/tmp>  mv *.cer /usr/lib/ICAClient/keystore/cacerts
xxx:/tmp>  cd /usr/lib/ICAClient/keystore/cacerts
xxx:/usr/lib/ICAClient/keystore/cacerts>  mv ThawtePremiumServer.cer  ThawtePremiumServer.crt
xxx:/usr/lib/ICAClient/keystore/cacerts>  mv ThawteServer.cer         ThawteServer.crt

Mapping Drive Letters

To map a drive letter in version 6 or 7, you can run wfcmgr and enter the appropriate information in the dialog box. With version 10, wfcmgr won't run on the eeepc, so you have to edit /home/user/.ICAClient/wfclient.ini manually. Here's how to do it:

First open wfclient.ini in a text editor. For example, open a terminal window (alt-ctrl-T) and type the following:

kate /home/user/.ICAClient/wfclient.ini

Then find the section that starts with the heading [WFClient]. Add the following lines below [WFClient]:

DrivePathH=/home/user
DriveEnabledH=Yes
DriveReadAccessH=0
DriveWriteAccessH=0

This will map /home/user to drive H. If you want to use a drive letter other than H, simply replace H with the appropriate letter in each of the four lines in the above example. If you want to map a path other than /home/user, replace /home/user with the appropriate path in the first line. If you want to be prompted to give Citrix permission to access your local drive each time you log in, change 0 to 1 in the last two lines.

All the above from a "Newbie"s point of view

Background

Neil from the forums, kindly helped me get through all this and asked whether if i could share my findings. I have only ever heard about linux before i got an eee so if your like me, then this bottom section would be better for you. I will go through how to get all this working in “simpler” terms.

Installing Citrix

so i went to my university “desktop anywhere” which uses citrix, and down bottom was a link to install the client called… “MetaFrame Presentation Server Client for Linux x86”. if you don't have that link then no worries, go here http://www.citrix.com/English/SS/downloads/details.asp?dID=2755&downloadID=3323&pID=186#top and download version 10.6, the english version. its not the one i used by im assuming its the same.

I just saved it in the tmp folder.

after downloading it, i opened up the “shell?” by pressing the shortcut Ctrl+Alt+t then i just simply followed the code

/home/user>  sudo su -
xxx:/root>  mkdir /tmp/citrix
xxx:/root>  cd /tmp/citrix
xxx:/tmp/citrix>  tar xfvz ../linuxx86.tar.gz
xxx:/tmp/citrix>  ./setupwfc

watch out for typos, i fell for that one.

upon pressing enter after the last line of code, i did not see an installer run with prompts and such. Instead, a window just flashed on and quickly flashed off again. No idea what that was about, but after that Citrix was installed…

Certificate error

with citrix installed, i tried to get onto my universities “desktop anywhere”. Failed, i encountered 2 errors.

“This terminal does not support selected colormode”

“You have not chosen to trust “GlobalSign ROOT CA”, the issuer of the server's security certificate”

The first i still get now, apparently its not much of a biggie. The second i had to install a certificate just as a way of me saying “i agree to your rules blah blah blah”

How to get it sorted i was having a few problems here and there, here is how i manage to get it done in the end

open up your “shell” thing again (Ctrl+Alt+t), and type in

sudo konqueror

hit enter and it will run through a few lines of code before opening up what appears to be a web browser of some sort.

click on storage media→ Harddisk (sda1) then navigate to /usr/lib/ICAClient/keystore/cacerts/

or just type in media:/sda1/usr/lib/ICAClient/keystore/cacerts/ in the location bar.

once there, click on Edit→ Create New→ Text File…

name it ServerSign.txt

now, right click your new file and go to text editor

leave that to one side for now, and open up your web browser and navigate to http://www.globalsign.com/support/root-certificate/txtformat/ServerSign.txt

highlight and copy everything on that page and paste it into your text document.

save and exit.

click once on ServerSign.txt and click on Edit → Rename

rename to ServerSign.crt

well done, all sorted. Well it was for me anyways. Hope by sharing my experiences other people wont have to go through the pain i went through… any problems just ask on the forums.

If you are looking for another certificate, try http://www.ucl.ac.uk/management-systems/msapps/jinitiator/UCL_certdb13129.txt

rio b and you sfr

howto/installcitrix.txt · Last modified: 2012/01/27 20:03 by hello