Mapping drives in Citrix Receiver for Ubuntu

This morning I had a file that needed to be opened using Microsoft Office. I didn’t feel like restarting my laptop to boot run Windows. So this was the moment to finally use Citrix which I had already installed. I went to the university website and Microsoft Word started without any problem. I wanted to open the file, but realized there weren’t any local drives mapped in Citrix. An easy solution would have been to put the file online somewhere, open a browser through Citrix and save the file to my network drive. However, I tend to be a bit more ambitious on sunday mornings, so I set about fixing it properly.

I’m running Ubuntu 10.4, and I have version 11.100 of Citrix Receiver installed.

My first problem was actually that I couldn’t find the configuration tool for Citrix. A quick search showed that the correct command was/usr/lib/ICAClient/wfcmgr. But when I tried to run this from a terminal, I got the following result.

$ /usr/lib/ICAClient/wfcmgr &
$ /usr/lib/ICAClient/wfcmgr: error while loading shared libraries:
  cannot open shared object file: No such file or directory

Apparently not all needed libraries to run wfcmgr are installed. Indeed if I run ldd on wfcmgr I get

$ ldd /usr/lib/ICAClient/wfcmgr =>  (0x00bc8000) => not found => /usr/lib/ (0x001b6000) => /usr/lib/ (0x00b8e000) => /usr/lib/ (0x00594000) => /usr/lib/ (0x002b8000) => /usr/lib/ (0x00b74000) => /usr/lib/ (0x00941000) => /lib/tls/i686/cmov/ (0x004b2000) => /lib/tls/i686/cmov/ (0x00be3000) => /lib/tls/i686/cmov/ (0x002d1000) => /usr/lib/ (0x001c1000) => /usr/lib/ (0x00688000) => /usr/lib/ (0x00ae6000) => /usr/lib/ (0x00110000) => /lib/ (0x00114000)
 /lib/ (0x0066b000) => /usr/lib/ (0x00859000) => /usr/lib/ (0x0028e000)

To solve this, just make sure that Motif is installed. If needed run

$ sudo aptitude install libmotif3

and create a symbolic link to it

$ sudo ln -s /usr/lib/ /usr/lib/

Once this is done, wfcmgr should run without any problem. Go to the menu Tool and choose Settings. Click Preferences and select Drive Mapping. You can now choose the drive letter you want, click the button to the right of it and fill in the folder that should correspond with that drive.

5 Responses to “Mapping drives in Citrix Receiver for Ubuntu”
  1. jord says:

    Dear nvcleemp,

    I’m having exactely the same problem, I really mean exactly. I’m running ubutu 12.04 64bit and need to open a local file from a citrix-session from my university server. I enabled drivemapping in the citrix congig panel (also had the to install the lib23motif etc…), however my local files don’t appear in the citrix session, any ideas or suggestions? I added /home/username in A and in B /home/username/Data. This last one is a partion mounted on a folder. Neither ‘drive4 A or B appear in the citrx-sessions.

    • nvcleemp says:

      Hi Jord,

      One problem I was also having with the citrix-sessions at my university, was that they only allowed certain letters to be mounted. These days this is no longer the case at my university, but it might still be the case at your university. Maybe you should verify this with your university’s helpdesk.

      • jord says:

        Allright, will give it a try. Nog iets interessant, ik had al een vermoeden, maar blijkbaar zitten we op dezelfde unief :). Ik heb nog wat problemen hier en daar met vpn en ubuntu… Zou misschien handig zijn voor mij om te zie hoe jouw ‘setup’ ivm vpn in mekaar zit, wat ik heb niets dan problemen…

      • nvcleemp says:

        LOL, nu zie ik idd dat je ISP Belgacom is. (Big Brother is watching you)

        Voor VPN heb ik gewoon gevolgd. Op mijn eigen laptop (waar ik momenteel nog 11.10 draai wegens tijdgebrek), heb ik de vpnc-optie gekozen. Je moet wel zeker zijn dat je het package vpnc hebt. Op mijn werklaptop heb ik een paar weken geleden 12.04 geïnstalleerd en voor de AnyConnect-optie gekozen. Beiden werkten in mijn geval.

  2. Minja says:

    Thank you very much! You just solve my problem…

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: