Tiny Core Linux

Tiny Core Extensions => TCE Tips & Tricks => Topic started by: freejc on March 02, 2012, 12:43:33 PM

Title: How to install Citrix Receiver in TC?
Post by: freejc on March 02, 2012, 12:43:33 PM
Can anyone please let me know how to install Citrix Receiver in TC?
Title: Re: How to install Citrix Receiver in TC?
Post by: gutmensch on March 04, 2012, 11:05:59 AM
1. Download the first package on this site http://www.citrix.com/English/ss/downloads/details.asp?downloadId=2316611&productId=1689163#top (http://www.citrix.com/English/ss/downloads/details.asp?downloadId=2316611&productId=1689163#top)

2. Install dependencies for Citrix Receiver, as far as I can tell these are at least:
glib2.tcz
gtk2.tcz
libxp.tcz
openmotif-lib.tcz
pango.tcz
cairo.tcz
udev-lib.tcz
krb5.tcz
libxcb.tcz
libvorbis.tcz
libogg.tcz
speex.tcz
pixman.tcz
fontconfig.tcz
expat2.tcz
libasound.tcz
libffi.tcz
gdk-pixbuf2.tcz
Xorg-7.6-lib.tcz
atk.tcz

3. Add sys group for Receiver: sudo addgroud -S sys

4. Unpack the downloaded file with tar xzf file.tar.gz and run sudo ./setupwfc, answer with yes everywhere

5. Run the Receiver manager like /opt/Citrix/ICAClient/wfcmgr

6. Put the following to your backup:
opt/Citrix/ICAClient
etc/init.d/ctxusbd
usr/local/firefox-official/plugins/npica.so
usr/local/lib/netscape/npica.so
usr/local/share/mime/applications/x-ica.xml

That should be roughly it....
Title: Re: How to install Citrix Receiver in TC?
Post by: gutmensch on March 06, 2012, 08:02:31 AM
FWIW I posted an extension called install-citrix-receiver, try it out ;-)
Title: Re: How to install Citrix Receiver in TC?
Post by: mbrijun on July 04, 2012, 02:07:31 AM
Hi Gutmensch,

thank you for a nice writeup. I would like to add one more file to the list of "keepers" in "/opt/.filetool.lst":

etc/udev/rules.d/85-ica-usb.rules

By the way, did you get the USB redirection to work? I am having problems with my installation and I have not been able to resolve them.
Title: Re: How to install Citrix Receiver in TC?
Post by: gutmensch on July 04, 2012, 02:20:57 AM
unfortunately I don't have any server to connect to, so I couldn't test at all ;-) but if a udev rule file is also included in the client, one should run at least
Code: [Select]
$ sudo udevadm control --reload-rules
one time after the .rules file is available, e.g. in bootlocal.sh - this is maybe necessary to activate usb redirection, but this also depends on the content of the .rules file (sometimes there are commands in it, which are not directly available in Tiny Core).
Title: Re: How to install Citrix Receiver in TC?
Post by: cakruege on July 26, 2013, 08:55:42 AM
Hi,

the citrix receiver installer package is broken.

Version 12 is old and the script didn't work with 12.1

Could you please help me to update the script?

Downloads are here:
w*w.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-121.html

But I can't download the file with wget but only via browser
but even after that the script is not working.

Any ideas?

greetings
Carsten
Title: Re: How to install Citrix Receiver in TC?
Post by: cakruege on July 26, 2013, 10:02:30 AM
The original installer didn't work. On ubuntu everything works with tiny core it doesn't

First you get this error:
Citrix Receiver Do you want to continue without the character conversion?
Your computer cannont convert characters from "ISO-8859-1" to "UTF-16".
after clicking "OK"

Citrix Receiver
Verify the configuration file
/home/tc/.ICAClient/iq6wzl
The section "ApplicationServers" is missing in the configuration
Title: Re: How to install Citrix Receiver in TC?
Post by: zerophnx on July 26, 2013, 12:12:16 PM
I ran into this issue a couple months ago. As far as I know the script is working just fine (and many thanks for putting it out there). 

I've used the 12.1 version with Firefox on a few thin clients at work.

Download and load (or install) "getlocale". Follow the directions in the info file (I forget what the command was off the top of my head) to get to a scrollable locale selection list.  Select the UTF8 version of your locale (mine was en_US.UTF8) from the list and hit enter. Then it'll create a "mylocale.tcz" extension for you. I believe it adds the that new extension to your onboot.lst file, but double check.

After you've confirmed it will load on boot, add the "LANG=en_US" (or whatever you set the locale extension to) to your list of boot options. Reboot and try again.

Side note: The FAQ page only lists LANG=en as the boot option. That might be for the sake of example or it could be what you're supposed to use, so I don't know for sure if you need to specify the full language (ex: en_US). See how it goes!
Title: Re: How to install Citrix Receiver in TC?
Post by: cakruege on July 27, 2013, 02:36:21 AM
Found some of the problems.

tce-load -wi glib2.tcz glibc_gconv.tcz gtk2.tcz libxp.tcz openmotif-lib.tcz pango.tcz cairo.tcz udev-lib.tcz krb5.tcz libxcb.tcz libvorbis.tcz libogg.tcz speex.tcz pixman.tcz fontconfig.tcz expat2.tcz libasound.tcz libffi.tcz gdk-pixbuf2.tcz Xorg-7.6-lib.tcz atk.tcz alsa.tcz

Locale problem disapperas if I install: glibc_gconv.tcz
Found that hint here: http://jackiechen.org/2012/03/07/diy-citrix-receiver-thin-client/

alsa.tcz seems to be nessecary, too.

My goal is netboot of TC with kioskmode: Firefox opens on correct url, all certficates are in, it's not nessecary to skip client detection and Citrix works without pop-up errors
Title: Re: How to install Citrix Receiver in TC?
Post by: Synergy on October 27, 2013, 05:21:00 PM
Hi,

Sorry to reopen an oldish thread but it's probably the most relevant place for it.

Going through this install, I've hit an error;

I run;
/opt/Citrix/ICAClient/wfcmgr

Code: [Select]
error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
If I open Apps and search libXp.so.6 (under provides) nothing is displayed. I understand I need libxp.tcz but this doesn't show up either.

Would love help solving this one. Thanks!
Title: Re: How to install Citrix Receiver in TC?
Post by: zerophnx on October 27, 2013, 07:20:58 PM
Are you running 4.x or 5.x?  Just checked and I didn't see a libxp.tcz in the 5.x repo yet (unless I missed it).

I ran receiver 12.1 just fine the other day on 5.x with 4.x dependencies, though I use it through the web browser instead of the standalone GUI.
Title: Re: How to install Citrix Receiver in TC?
Post by: Juanito on October 27, 2013, 08:29:09 PM
If you could confirm exactly what works in tc-5.x (libxp +?), I can copy the extensions over.
Title: Re: How to install Citrix Receiver in TC?
Post by: Synergy on October 28, 2013, 08:13:21 AM
I'm using the current release (CorePlus) so 5.x.

So I can add the 4.x repositories to 5.x to resolve this dependency?
Title: Re: How to install Citrix Receiver in TC?
Post by: zerophnx on October 28, 2013, 08:24:50 AM
Hi Juanito,

Yes, only libxp has to be copied over. Every other dependency is already available.


Synergy:

You can download libxp.tcz from the 4.x repo (http://distro.ibiblio.org/tinycorelinux/4.x/x86/tcz/libxp.tcz (http://distro.ibiblio.org/tinycorelinux/4.x/x86/tcz/libxp.tcz)) and it's md5 (http://distro.ibiblio.org/tinycorelinux/4.x/x86/tcz/libxp.tcz.md5.txt (http://distro.ibiblio.org/tinycorelinux/4.x/x86/tcz/libxp.tcz.md5.txt)) into your tce/optional folder if you get to this before Juanito does.


Since Juanito copied those files, you can install libxp as you would any extension (tce-load).

Also, update your .dep file for receiver to point to Xorg-7.7-lib instead of Xorg-7.6-lib.

Title: Re: How to install Citrix Receiver in TC?
Post by: Juanito on October 28, 2013, 09:03:38 AM
libxp copied over
Title: Re: How to install Citrix Receiver in TC?
Post by: Synergy on October 28, 2013, 03:54:31 PM
Wow. Heroic response times :-) Thanks, 'tis Working!
Title: Re: How to install Citrix Receiver in TC?
Post by: hcayero on January 24, 2014, 06:12:46 AM
Hi,

what about the citrix receiver 13?

I tried to install it from the rpm package as well as from the tar.gz but with no success.
     ICAClient-13.0.0.256735-0.i386.rpm
     ctxusb-2.4.256735-1.i386.rpm
     linuxx86-13.0.0.256735.tar.gz

I meet all the prerequisites except for libxerces-c 3.1.

When I run /opt/Citrix/ICAClient/selfservice it asks me for the libpng12.so.0 which I cannot find anywhere.

I  also have a Debian virtual machine that works fine, and I can locate the missing lib at:
/lib/i386-linux-gnu/libpng12.so.0


Title: Re: How to install Citrix Receiver in TC?
Post by: hcayero on January 30, 2014, 09:10:42 AM
Hi,
I found libpng12.so.0 at all previous releases before 5.x, so I am trying with v4.7.7.

For now I made this short script:

   export http_proxy="http://proxyUser:password@proxy.dom.int:8080"

   tce-load -wi webkit.tcz
   tce-load -wi gtk2.tcz
   tce-load -wi Xorg-7.6-lib.tcz
   tce-load -wi libxml2.tcz

   rpm -i ICAClient-13.0.0.256735-0.i386.rpm
   rpm -i ctxusb-2.4.256735-1.i386.rpm
   cd /opt/Citrix/ICAClient/config
   ln ../nls/es/appsrv.ini appsrv.ini
   ln ../nls/es/module.ini module.ini
   ln ../nls/es/wfclient.ini wfclient.ini

/opt/Citrix/ICAClient/selfservice shows the access windows correctly.
/opt/Citrix/ICAClient/wfica complains about UTF.8 or UTF.16

To do:
* meet the rest of the requirements:
   * libxerces-c 3.1
   * libcurl 7.21.0 (compiled with OpenSSL support)
   * LibPCSCLite 1.5.6
   * Sound (Alsa or OSS)
* have flash working
* convert it to PXE

For now it weights 55MB.
Title: Re: How to install Citrix Receiver in TC?
Post by: Rich on January 30, 2014, 09:34:14 AM
Hi hcayero
libpng12  was recompiled for 5.x. I think it's now  libpng16.
Title: Re: How to install Citrix Receiver in TC?
Post by: hcayero on February 03, 2014, 09:00:25 AM
Thanks Rich,

What about libxerces-c 3.1?
Title: Re: How to install Citrix Receiver in TC?
Post by: hcayero on February 12, 2014, 08:36:54 AM
Hi again,

I got xerces-c-3.1.1-5.fc21.i686.rpm from http://rpm.pbone.net/index.php3?stat=3&search=xerces-c&srodzaj=3 (http://rpm.pbone.net/index.php3?stat=3&search=xerces-c&srodzaj=3)
it works doing
rpm -i xerces-c-3.1.1-5.fc21.i686.rpm but does not persist between reboots.

Now I am trying with:

mkdir xerces
cd xerces
rpm2cpio ../xerces-c-3.1.1-5.fc21.i686.rpm | cpio -id
cd ..
mksquashfs xerces xerces-c-3.1.1-5.tc.i686.tcz
md5sum xerces-c-3.1.1-5.tc.i686.tcz > xerces-c-3.1.1-5.tc.i686.tcz.md5.txt

and try to load it and cp to optional and to onboot.lst
Title: Re: How to install Citrix Receiver in TC?
Post by: tinypoodle on February 12, 2014, 08:54:07 AM
mksquashfs usr/ xerces-c-3.1.1-5.tc.i686.tcz

I am not an expert about creating extensions, but I suspect in this case usr/ should be a subdir of another dir which you'd pass as parameter to mksquashfs.
Title: Re: How to install Citrix Receiver in TC?
Post by: hcayero on February 12, 2014, 09:01:12 AM
mksquashfs usr/ xerces-c-3.1.1-5.tc.i686.tcz

I am not an expert about creating extensions, but I suspect in this case usr/ should be a subdir of another dir which you'd pass as parameter to mksquashfs.

You are right, I have corrected it already, but you were too fast for me... ;)
Title: Re: How to install Citrix Receiver in TC?
Post by: hcayero on February 13, 2014, 10:16:41 AM
It works!!!!

Now, for the sound...

As it could not be otherway, PROBLEMS!!!!

ALSA needs configuration via alsa-config but, I need it to work out of the box in any card.
OSS seems to work fine, but Citrix does not seem to like it.

Trying OSS_alsa...

Title: Re: How to install Citrix Receiver in TC?
Post by: fbifido on November 26, 2015, 11:21:06 AM
Any uptodate info on tinycore with citrix receiver 13.2.1 ?

Thanks.