Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Monday, April 7, 2008

Installing and Configuring the Citrix Client on Ubuntu

After a long long long time I've finally managed to get the Citrix client working on Ubuntu, Gutsy Gibbon 7.10.

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//.ICAClient/appsrv.ini and changing the settings in the client GUI.. To compare to your situation here's my deskop.ica and my modified appsrv.ini.

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

Saturday, March 3, 2007

Sabayon Linux

Yeah long time no update on the Linux front. My motherboard is still fried. The Video and Sound port aren't working so for now I play my music over the network from the windows machine. 95% of my work is done on windows now.. Just waiting for another month or so and then i plan to get a new mobo and buy 2 300GB HDD and set them up as RAID disks on the linux machines.. No more DVD backups then!! Raarrr!!

Randa recently send me a link to this new Linux Distro called Sabayon and boy is it yum yum yum!!! Im just dying to try out Sabayon.. Am dying to upgrade the HW so that I can try it out...

Till I do, heres some links for more on Sabayon:

Sabayon on Wikipedia

Sabayon Review