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: libXm.so.4:
  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
 linux-gate.so.1 =>  (0x00bc8000)
 libXm.so.4 => not found
 libXp.so.6 => /usr/lib/libXp.so.6 (0x001b6000)
 libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00b8e000)
 libSM.so.6 => /usr/lib/libSM.so.6 (0x00594000)
 libICE.so.6 => /usr/lib/libICE.so.6 (0x002b8000)
 libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00b74000)
 libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00941000)
 libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x004b2000)
 libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00be3000)
 libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x002d1000)
 libXt.so.6 => /usr/lib/libXt.so.6 (0x001c1000)
 libX11.so.6 => /usr/lib/libX11.so.6 (0x00688000)
 libXext.so.6 => /usr/lib/libXext.so.6 (0x00ae6000)
 libXau.so.6 => /usr/lib/libXau.so.6 (0x00110000)
 libuuid.so.1 => /lib/libuuid.so.1 (0x00114000)
 /lib/ld-linux.so.2 (0x0066b000)
 libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00859000)
 libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (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/libXm.so.3.0.2 /usr/lib/libXm.so.4

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.

Advertisements
Comments
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 https://helpdesk.ugent.be/vpn/linux.php 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:

WordPress.com Logo

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

Google photo

You are commenting using your Google 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: