[SOLVED] Citrix ICAclient 13 not working

Here you'll find a place for solutions and hints.

Please use one of the support subforums below for questions or if you have any issues and need support.

[SOLVED] Citrix ICAclient 13 not working

Postby jaap2012 » Feb 4th, '14, 17:24

Hi,
I 'm trying to get the Citrix ICAclient 13 working on Mageia 4 x64 with Gnome.
The installation of the ICAclient 13 is successfull without errors (I used linuxx86-13.0.0.256735.tar.gz).
And the ICA plugin is successfully registered in Firefox.

But when I try to open an ica icon, nothing happens (not even an error message).

I know that the ICAclient is terrible to install, because so far I only got it working with Mint and OpenSuse the last couple of months (no luck either with Fedora, Ubuntu, Debian or Manjara).
And Citrix support also doesn't seem to care.

Any ideas?
Last edited by doktor5000 on Jul 17th, '14, 20:46, edited 1 time in total.
Reason: marked thread [SOLVED]
jaap2012
 
Posts: 3
Joined: Feb 4th, '14, 17:15

Re: Citrix ICAclient 13 not working

Postby isadora » Feb 4th, '14, 17:30

Hello and welcome jaap2012. :)
Recently there was another topic concerning Citrix, maybe have a look.
viewtopic.php?f=8&t=6649&hilit=citrix
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2742
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Citrix ICAclient 13 not working

Postby doktor5000 » Feb 4th, '14, 20:06

Why is it terrible to install? So far you install the rpm that they offer, and then make sure your browser will open .ica files automatically with the wfica.sh script.
What happens when you instead download an .ica file and run it manually with the wrapper script, as suggested in the linked thread already?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Citrix ICAclient 13 not working

Postby jaap2012 » Feb 4th, '14, 20:14

I also can't download the ica file.
Ica has no association yet in Firefox.
jaap2012
 
Posts: 3
Joined: Feb 4th, '14, 17:15

Re: Citrix ICAclient 13 not working

Postby doktor5000 » Feb 4th, '14, 22:06

So if you click on the icon in the Citrix Gateway, you don't get an .ica file offered? Firefox does nothing?
That's a problem with the Citrix portal then, as mentioned in the other thread it could also be published apps, not sure if they work in Linux.

So far all the Citrix portals I've encountered at dayjob work just fine. You can even modify the wfica.sh launcher to change the settings in the .ica file before opening then.
If you don't get an .ica file offered, problem is not with the Citrix Receiver because it has nothing to receive.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Citrix ICAclient 13 not working

Postby jaap2012 » Feb 5th, '14, 18:48

No, the Citrix portal is fine.
It works with Windows and also works with Suse.

It must be a setting in Firefox then.
jaap2012
 
Posts: 3
Joined: Feb 4th, '14, 17:15

Re: Citrix ICAclient 13 not working

Postby doktor5000 » Feb 5th, '14, 19:50

Do you see any plugin or addon in Firefox related to Citrix? What do you see when going to preferences, applications and search for ica ?
Please post a screenshot for that.

Sorry if you don't provide more information can only give you some pointers:
https://support.mozilla.org/en-US/questions/830113
https://support.mozilla.org/en-US/questions/960129
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Citrix ICAclient 13 not working

Postby kirmonkey » Feb 12th, '14, 11:51

Hi,

I'm having this problem too.

Looking at terminal output after using urpmi at the command line to install (graphical install of packages isn't working on my system) there is the following error message in there:

/opt/Citrix/ICAClient/util/icalicence.sh: line 22: /util/echo_cmd: No such file or directory


What this means:

There is an EULA agreement to be agreed to - as the licence hasn't been agreed to the install of Citrix Receiver fails (almost) silently.

When I have a moment I'll look into getting the licence agreed to.

jaap2012 - were you asked to agree to the licence when you installed receiver?


Peace.
kirmonkey
 
Posts: 22
Joined: Sep 26th, '11, 14:17
Location: United Kingdom

Re: Citrix ICAclient 13 not working

Postby doktor5000 » Feb 12th, '14, 23:03

kirmonkey wrote:jaap2012 - were you asked to agree to the licence when you installed receiver?

Yep but that was with 12.x :)

Can you show the output of
Code: Select all
grep -C5 echo_cmd /opt/Citrix/ICAClient/util/icalicence.sh
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Citrix ICAclient 13 not working

Postby kirmonkey » Feb 12th, '14, 23:51

Here we go.

This is the output as both normal user and root. (I changed 'licence' to 'license' - pesky American spelling)


[rick@localhost Downloads]$ grep -C5 echo_cmd /opt/Citrix/ICAClient/util/icalicense.sh
then
mkdir /etc/icalicense
fi
if test ! -f /etc/icalicense/clientlicense
then
"$ICAROOT/util/echo_cmd" -l >/etc/icalicense/clientlicense
fi
chmod 444 /etc/icalicense/clientlicense
chmod 555 /etc/icalicense


This ties in with the error message I posted above - as relates to the 'echo_cmd' error message following the urpmi install.

I'm pretty sure that getting the EULA agreement OK'd is the answer here though I am often wrong.

FYI - in Mageia 3 I'd install the 2 relevant rpm's from Citrix graphically and (thinks hard) get asked to agree to the licenc(s)e.


Peace.
kirmonkey
 
Posts: 22
Joined: Sep 26th, '11, 14:17
Location: United Kingdom

Re: Citrix ICAclient 13 not working

Postby doktor5000 » Feb 13th, '14, 22:07

kirmonkey wrote:FYI - in Mageia 3 I'd install the 2 relevant rpm's from Citrix graphically and (thinks hard) get asked to agree to the licenc(s)e

And you're sure that was also Receiver v13? That was just released recently IIRC ...


FWIW, the problem is that the script is quite messy. The environment variable $ICAROOT is not set (empty), so that operation will fail, as it tries to run
Code: Select all
"/util/echo_cmd" -l >/etc/icalicense/clientlicense

and there's no command /util/echo_cmd.
$ICAROOT should be set to /opt/Citrix/ICAClient
and that echo_cmd does exist:
Code: Select all
[doktor5000@Mageia3 ~]$ ls -al /opt/Citrix/ICAClient/util/echo_cmd
-r-xr-xr-x 1 root root 15252 Nov  8 11:55 /opt/Citrix/ICAClient/util/echo_cmd*


You should be able to fix this as follows (as root)
Code: Select all
mkdir -p /etc/icalicense
/opt/Citrix/ICAClient/util/echo_cmd -l >/etc/icalicense/clientlicense
chmod 444 /etc/icalicense/clientlicense
chmod 555 /etc/icalicense

/opt/Citrix/ICAClient/util/integrate.sh


You get a menu launcher, but it will segfault when you run it.
You can run /opt/Citrix/ICAClient/util/configmgr or /opt/Citrix/ICAClient/util/conncenter but the receiver itself segfaults all the time here.
I've went through guide some of the guides for v13, but all required 32 and 64 bit libraries are installed, and I've removed oxygen-gtk as that seems to cause issues.

As you can see even for Ubuntu the installation is quite messy: http://ubuntuforums.org/showthread.php?t=2181903

Best use one of the older versions: http://www.citrix.com/downloads/citrix- ... x-121.html
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Citrix ICAclient 13 not working

Postby kirmonkey » Feb 14th, '14, 10:38

Right then.

This guide gives you a working Receiver 12.1 - Not Receiver 13 - That looked like Too Much Pain

1. Citrix is now working.
2. I've listed below what I did, based on doktor5000's advice, to get a result
3. What I've listed below works for me - your mileage may differ!

I've started from the bottom of doktor5000's post - Steps 2-6 are done from a root terminal.

1. Download Citrix Receiver 12.1 (and usb support if you need it) from http://www.citrix.com/downloads/citrix-receiver/legacy-client-software/receiver-for-linux-121.html
2. Uninstall Receiver 13.0 if you have it installed:
Code: Select all
urpme ICAClient ctxusb

3. cd to where you downloaded Receiver 12.1
Code: Select all
cd Downloads/

4. Install Receiver
Code: Select all
urpmi ICAClient-12.1.0-0.i386.rpm ctxusb_2.2-1.i386.rpm


At this point you may find that Receiver can't find the certificates you need - Error 61 or Error 4

5. I link the Firefox certs to Receiver:
Code: Select all
ln -s /etc/pki/tls/rootcerts/* /opt/Citrix/ICAClient/keystore/cacerts/

6. Re-hash the certs:
Code: Select all
c_rehash /opt/Citrix/ICAClient/keystore/cacerts


You may need to get the particular certificate for your Citrix server following this guide: http://tempero.us/2013/02/ubuntucitrixtrust/ - I do to make it work.

I re-start Firefox at this point fo good luck...

I get busy earning a living - via Citrix

I reflect that if I made the effort to write Citrix I'd at least package it properly...

Please feedback if this does or doesn't work for you - I'll update this post until we get a final guide.



The Monkey...
Last edited by kirmonkey on Mar 2nd, '14, 11:05, edited 2 times in total.
kirmonkey
 
Posts: 22
Joined: Sep 26th, '11, 14:17
Location: United Kingdom

Re: Citrix ICAclient 13 not working

Postby doktor5000 » Feb 14th, '14, 21:16

kirmonkey wrote:5. I copy the Firefox certs to Receiver:
Code: Select all
cp /etc/pki/tls/rootcerts/* /opt/Citrix/ICAClient/keystore/cacerts/


Better would be to just link the rootcerts in the citrix certificate store, you will benefit from rootcert updates.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Citrix ICAclient 13 not working

Postby kirmonkey » Feb 14th, '14, 22:03

Step 5 edited from cp to ln -s
kirmonkey
 
Posts: 22
Joined: Sep 26th, '11, 14:17
Location: United Kingdom

Re: Citrix ICAclient 13 not working

Postby kirmonkey » Mar 2nd, '14, 12:08

Further question.

I'm putting this here then I can hopefully draw it all together into one solution by adding to my post above.

Everything is working fine with Receiver 12.1. Yesterday I came to use a usb stick and found that usb passthrough is not working on my Mageia 4 installation.

Fortunately I 'mirror' my work environment on a Mint 13 laptop that sits in the corner and I was able to use USB passthrough on that. (So no issue on the Citrix server)

The Question: Does anybody have any suggestions about getting USB sticks to mount in my Citrix session - again I had this working in Mageia 3 but am having this trouble in 4.

Running hdxcheck.sh from /opt/Citrix/ICAClient/util/ doesn't turn up any errors.

Here is the output:

[root@localhost util]# ./hdxcheck.sh

=========================================================
= Pre-requisite check for the Citrix Receiver for Linux =
= Version 1.1 (February 2012) =
=========================================================

-------------------------------
-- Client Information... -
-------------------------------
Client version:
12.1.0.203066
Install location:
/opt/Citrix/ICAClient

-------------------------------
-- Checking Kernel Version... -
-------------------------------
Success, a compatible kernel version(3.12.13) has been found.

------------------------------------------------------------------
-- Checking that a compatible version of OpenMotif is installed...
------------------------------------------------------------------
Success! - A compatible version of OpenMotif is installed!

--------------------------------------------
-- Checking Audio support dependencies.. -
--------------------------------------------

------------------------------------------------------------------
-- Checking that ALSA Support is installed...
------------------------------------------------------------------
Success! - ALSA is installed!

-----------------------------------------------------
-- Checking for SPEEX and VORBIS Audio Support...
-----------------------------------------------------
Success! All SPEEX and VORBIS dependencies found!

--------------------------------------------
-- Checking HDX MediaStream dependencies.. -
--------------------------------------------

The minimum required version of GStreamer is 10.25
You are using version 10.36 of GStreamer
Success! - A compatible version of GStreamer is installed!

------------------------------------------------------------------
-- Checking FLASH Support ...
------------------------------------------------------------------
Warning! - Adobe Flash plugin is missing.
Success! - Flash dependencies installed!


Your version of libcurl is: 7.34.0
Sucesss! Correct libCurl version found

------------------------------------------------------------------
-- Checking GStreamer webcam Support ...
------------------------------------------------------------------
Success! - Gstreamer webcam dependencies installed!

--------------------------------------
-- Checking for printing support ... -
--------------------------------------
Success! - Printing system found

The following printers are installed in your system:


-----------------------------------
-- Checking Smartcard Support ... -
-----------------------------------
Warning! - libpcsclite.so missing, check that the file exists.

------------------------------------
--- Checking other dependencies .. -
------------------------------------

-----------------------------------------------------
-- Checking Client Library dependencies...
-----------------------------------------------------
Success! All client dependencies found!

-----------------------------------------------------
-- Checking OS Library dependencies...
-----------------------------------------------------
find: ‘*libldapsdk.so*’: No such file or directory
Warning! - libldapsdk.so is not installed! This is only needed if you use Novell Netware Services.

-----------------------------
-- Checking For USB Support..
-----------------------------

--------------------------------------------------------------
-- Checking that a compatible version of udev is installed...
--------------------------------------------------------------
A compatible version of udev is installed!

---------------------------------------------------------------
-- Checking that a compatible version of glibc is installed...
---------------------------------------------------------------
The minimum required version is 2.7
You are using version 2.18 of glibc
A compatible version of glibc is installed!

----------------------------------------------------------------
-- Checking that a compatible version of libcap is installed...
----------------------------------------------------------------
A compatible version of libcap is installed!
Success! All USB dependencies found!

-----------------------------------
- Checking X-window dependencies -
-----------------------------------
-----------------------------------------------------------------
-- Checking that your system supports the minimum color depth...
-----------------------------------------------------------------
The minimum required color depth is 8 bit
Your system supports up to 32 bit
Success! - A compatible color depth is available!

------------------------------------------------------------
-- Checking that your XServer supports Seamless Windows...
------------------------------------------------------------
Success! - Seamless windows are supported!
-------------------------------------------------------
-- Checking that your XServer supports Multi-Monitor...
-------------------------------------------------------
Success! - Multi-monitor is supported!
Found the following Monitors:
head #0: 1024x768 @ 0,0


===================================================================
= Pre-requisite check for the Citrix Receiver for Linux Completed =
===================================================================
Logfile: /tmp/logfile.txt
[root@localhost util]#



Thanks in advance
kirmonkey
 
Posts: 22
Joined: Sep 26th, '11, 14:17
Location: United Kingdom

Re: Citrix ICAclient 13 not working

Postby doktor5000 » Mar 2nd, '14, 15:55

Did you install the Citrix package for USB support on Mageia?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Citrix ICAclient 13 not working

Postby kirmonkey » Mar 2nd, '14, 20:38

I did.

The package version was: ctxusb_2.2-1.i386.rpm

This came from the same download page as version 12.1 of ICA client.

I checked this as the usb section in the output I posted above was empty - this had me thinking too...
kirmonkey
 
Posts: 22
Joined: Sep 26th, '11, 14:17
Location: United Kingdom

Re: Citrix ICAclient 13 not working

Postby kirmonkey » Mar 23rd, '14, 11:37

Interesting development.

Spending an hour on a Sunday morning looking at this problem I noticed that my Truecrypt protected backup disk appeared in my Citrix session when I attached it.

I popped a Truecrypt file onto the offending memory stick - and upon mounting in in Truecrypt it appeared in my Citrix session.


What I know:

1. It is possible to access usb sticks in a Mageia 4 Citrix session
2. Only Truecrypt files and containers seem to appear in a Citrix session

What I can speculate on:

1. Truecrypt uses sudo - is this a factor in what is happening?
2. opensuse works fine - that is without sudo (same .rpm package used in install)
3. Debian based distos (my Mint 13 laptop) are all Hunky Dory


I'll keep at it.
kirmonkey
 
Posts: 22
Joined: Sep 26th, '11, 14:17
Location: United Kingdom

Re: Citrix ICAclient 13 not working

Postby rln » Jul 17th, '14, 17:55

There seems to be several CITRIX Client forum re installation problems.
Hopefully I post in the right one ....

To me it was not possible at all to install the 64 Citrix 13 client, due to alledgedly missing .so's etc.
BUT they were all i the lib64 directory.

I then tried to enable the 32 bit medias and install the 32 bit Client - this works !

/René
rln
 
Posts: 2
Joined: Jul 17th, '14, 17:52

Re: Citrix ICAclient 13 not working

Postby doktor5000 » Jul 17th, '14, 20:20

rln wrote:I then tried to enable the 32 bit medias and install the 32 bit Client - this works !

Was suggested already in previous post:
viewtopic.php?p=44963#p44963
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Citrix ICAclient 13 not working

Postby rln » Jul 17th, '14, 20:28

Sure, you may consider this a confirmation ...
rln
 
Posts: 2
Joined: Jul 17th, '14, 17:52

Re: [SOLVED] Citrix ICAclient 13 not working

Postby kirmonkey » Jan 20th, '15, 23:57

Update:

I've recently found this guide, it may prove useful if you want to run receiver 13.1:

http://www.linuxplanet.org/blogs/?cat=1997


Regards.
kirmonkey
 
Posts: 22
Joined: Sep 26th, '11, 14:17
Location: United Kingdom

Re: [SOLVED] Citrix ICAclient 13 not working

Postby doktor5000 » Jan 21st, '15, 01:18

Thanks for sharing.

Although I think the last part (exporting firefox certificates and manually copying them into citrix receiver keystore) can and should be automated. Something like
Code: Select all
ln -s /etc/pki/tls/rootcerts/*pem /opt/Citrix/ICAClient/keystore/cacerts/

as root should do the same.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to The magician suggests...

Who is online

Users browsing this forum: No registered users and 1 guest

cron