Describe DebianEdu/HowTo/CitrixApps here.
?TableOfContents(2)
What
This is a "howto" install Citrix ICA Client on a Skolelinux ltspserver.
IMPORTANT NOTICE
I recently discovered that there is actually two ways to "easy" install Citrix ICA on a Ltspserver, so this howto will be in two parts, choose the one which looks more comfortable to you.
This first documentation has three objects, first the install of Citrix ICA client, second some config of the "settings file" .ica file, third some config of the .desktop entry to the users,
Why
- To have the opportunity to log on to a Microsoft based Citrix farm.
- To be able to use a Skolelinux thin client as a "springboard" to another terminal server,
- and use the applications which is installed on the Citrix farm.
- To use a Microsoft based desktop environment via Citrix, on a Skolelinux thinclient.
How
1. prerequisites
- A working Skolelinux setup, main server and a ltspserver.
- Network access from the Skolelinux net to the Citrix net/farm
- Ports 1494 and 2598 must be accessible from the Skolelinux net to the Citrix net,
those two ports are the "main" ports, but there maybe other ports which must be opened if you'r Citrix net is using other functions and so on.
Log on to the ltspserver you want to be able to connect to a Microsoft based Citrix server platform, make sure that you have a connection to the citrix farm, you can do that by using telnet. If telnet is not installed then type in terminal.
apt-get install telnet
Then check the connection after installing telnet:
ltspserver:~# telnet 192.168.1.20 1494 Trying 192.168.1.20... Connected to 172.20.1.18. Escape character is '^]'. IIICA
Above the result is OK. The ipadress to the citrix server is for example 192.168.1.20, port 1494 is used, and you can see the response from IIIICA.
First we would like to install "alien", alien is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file formats. Because Citrix's Linux Clients is rpm based.
apt-get install alien cd /root mkdir icaclient cd icaclient
Object 1
Download the Citrix ICA client from this direct URL by using wget, type in terminal:
wget http://download2.citrix.com/FILES/en/products/Linux10/en.linuxx86.tar.gz
Then "wrap" it up.
tar -xvzf en.linuxx86.tar.gz
Install it.
./setupwfc
Warning: The software you install has no trust path. Software installed with apt-get is cryptographically signed to ensure a trust path.
Now, create a new folder in /etc.
mkdir /etc/ICAConnections
Then
cd /etc/ICAConnections
Object 2
In this folder, create a file named ica-admin.ica, and copy/paste the content in this file, the content is listed below, this is the so called "settings" file. This file contains the IP-Adress to the Citrix server, color, resolution and so on.
touch ica-admin.ica
And then copy this text/content below to the ica-admin.ica file, use you'r favourite editor. Please read my comments in the file!
;****************************************************************************** ; ica-admin.ica - settings file for ICA ADMIN connection, Name of your company ;****************************************************************************** [WFClient] Version=1 TcpBrowserAddress4=192.168.1.20 TcpBrowserAddress3=192.168.1.21 TcpBrowserAddress2=192.168.1.22 TcpBrowserAddress=192.168.1.23 #Above is the ip adresses to the citrix servers, if you have several servers. [ApplicationServers] Hurum= #Above is the name of the application of your citrix setup, #for example in our case Hurum municipal, it's name is "Hurum" #But in your case, it is certaint to be something else, probably/maybe company name. #Below we follow Hurum's application, but remember you do probably have another name, #so change it, change ewerything in this file which contains the word "Hurum" #This is just an example file. [Hurum] WinStationDriver=ICA 3.0 TransportDriver=TCP/IP DisableCtrlAltDel=On SSLEnable=Off BrowserProtocol=UDP EncryptionLevelSession=Basic Compress=Off TransportReconnectDefault=True SSLProxyHost=* UseAlternateAddress=0 ProxyUseDefault=On EnableAudioInput=No AudioBandwidthLimit=2 ClientAudio=On MouseSendsControlV=Off CDMAllowed=Off UseDefaultSettingForColormap=Yes ZLMouseMode=2 ZLKeyboardMode=0 #DesiredColor=8 DesiredColor=15 NoWindowManager=True UseFullScreen=Yes #DesiredVRES=768 #DesiredHRES=1024 InitialProgram=#Hurum Address=Hurum Launcher=Custom
Save the file.
Okei! Now we have installed the ICA Client on the server, and we have made som adjustments to the settings file so we actually can connect to the Citrix farm. Time to do object 3, which is to create the .desktop file, and copy it to the desktop of the user.
Object 3
You current directory is probably /etc/ICAConnection, stay there, and now create the ica-icon.desktop file:
touch ica-icon.desktop
Use your editor of choise and copy the text/content below. Please read any comments in the file, this is just an example.
[Desktop Entry] Comment=Adminnett. Comment[nb]=Adminnett Exec=/usr/lib/ICAClient/wfica -log -icaroot /usr/lib/ICAClient -file /usr/lib/ICAClient/connections/ica-admin.ica GenericName= GenericName[nb]= Icon=/usr/lib/ICAClient/icons/citrix.png MimeType= Name=ICA ADMIN Path= StartupNotify=true Terminal=false TerminalOptions= Type=Application X-DCOP-ServiceType= X-KDE-SubstituteUID=false X-KDE-Username=
.....coming back soon, not enough time to document right now.