While there are lots of how-tos for i386 machines, there are barely any that mention getting the client to work on the x86 arch.
Follow all the steps here:[ https://help.ubuntu.com/community/CitrixICAClientHowTo ]
In brief:
sudo aptitude install libmotif3
sudo aptitude install libxaw7
sudo tar xvfz en.linuxx86.tar.gz [the linux client from the citrix website]
sudo ./setupwfc
sudo ln -s /usr/lib/ICAClient/wfica /usr/local/bin/wfica
sudo ln -s /usr/lib/ICAClient/wfcmgr /usr/local/bin/wfcmgr
At this point if you run: /usr/lib/ICAClient/wfcmgr &
you might see this error:
wfcmgr: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory
Try creating a softlink: sudo ln -s /usr/lib/libXm.so.3 /usr/lib32/libXm.so.3
If you still get the error then it due to an architecture conflict.
The tips from this post helps: [ http://backports.ubuntuforums.com/showthread.php?t=39556 ]
- Download the 32 bit libmotif3_2.2.3-2_i386.deb from http://packages.ubuntu.com/gutsy/i386/libmotif3/download
- Install it with: sudo dpkg -i --force-architecture libmotif3_2.2.3-2_i386.deb
- Create a softlink with: sudo ln -s /usr/lib/libXm.so.3 /usr/lib32/libXm.so.3
Now try: /usr/lib/ICAClient/wfcmgr &
It should work!
Now to setup the connection.
When I ran my .ica file:
/usr/lib/ICAClient/wfcmgr ~/Desktop/desktop.ica
I kept getting an error:
Cannot get address for application "Desktop"
After a while of tweaking I managed to get things working by manualy adding settings from my desktop.ica file into /home/
Additional Reference:
- CTX107102 - ICA Program Neighborhood Client, ini file reference
- CTX331178 - Appsrv.ini Parameters Deciphered
- CTX145271 - PN.ini Parameters Deciphered
Note: In the course of changing things at one point I managed to get to the login screen but when I tried to login the server would reject me saying that I needed to be added to a group. That was because my #InitialProgram was set to an IP address in the appsrv.ini. When I changed it to #Desktop I managed to get in.
desktop.ica
-----------------
[WFClient]
Version=2
TcpBrowserAddress=123.123.12.12
UseAlternateAddress=1
[ApplicationServers]
Desktop=
[Desktop]
Address=Desktop
InitialProgram=#Desktop
ClientAudio=Off
Compress=Off
ScreenPercent=99
DesiredColor=2
TransportDriver=TCP/IP
WinStationDriver=ICA 3.0
appsrv.ini
-------------------
[WFClient]
Version=1
TcpBrowserAddress=123.123.12.12
UseAlternateAddress=1
[ApplicationServers]
Desktop=
[Desktop]
WinStationDriver=ICA 3.0
TransportDriver=TCP/IP
DisableCtrlAltDel=On
DoNotUseDefaultCSL=On
LocHttpBrowserAddress=123.123.12.12
EncryptionLevelSession=Basic
Compress=Off
TransportReconnectDefault=True
UseAlternateAddress=0
ProxyUseDefault=On
EnableAudioInput=No
AudioBandwidthLimit=1
ClientAudio=On
MouseSendsControlV=Off
CDMAllowed=On
UseDefaultSettingForColormap=Yes
ZLMouseMode=2
ZLKeyboardMode=0
InitialProgram=#Desktop
Address=123.123.12.12
Launcher=Custom