Citrix Receiver For Raspberry Pi

Threaded Mode Linear Mode
28-04-2015, 09:46 PM, (This post was last modified: 29-04-2015, 03:58 AM by Congree.)
Citrix Receiver
First off, thank you for all the progress on this, it looks great!
Setup:
I'm running on a Raspberry Pi 2. Using the RPiTC2 r 1.1 image from downloads. Used win32imager for setting up the SD Card. I'm new to the Raspberry Pi and haven't used linux in years so I may be missing something simple.
Issue:
I am having an issue with Citrix Receiver. Normally I access it by logging into our site and selecting the workspace(Virtual computer). This downloads/runs a launch.ica file with citrix receiver. My issue is when trying to run the file, the screen just flickers like it's trying to load but nothing comes up.
What I've Tried:
  • When I try entering the server for a profile creation, I get an error 'Your account cannot be added using this server address. Make sure you entered it correctly. You have not chosen to trust the issuer of the server's security certificate'. I can grab the certificate from the site as *.pem however I'm not sure where to save/install it.
  • Corrected Raspberry Pi date/time
  • Disabled the browser add-on and manually downloading & running the launch.ica with the Citrix Receiver Engine but I get the same flickering.
  • Installed packages cups-bsd and libcacard (Known issues says they are missing)

Any suggestions are welcomed.

Jan 08, 2020 The “420” may well refer to a Raspberry Pi 4 system with 2x displays or perhaps the CNS-420: Citrix Networking Assessment, Design, and Advanced Configuration training course. Then again, the guy in the promo photo above looks like he’s dying to head out for a smoke break.

  • Dec 18, 2019 The latest model in the Raspberry Pi series has already started creating a lot of buzz and has opened a new world of opportunities in the pi user’s community. Installing Citrix Workspace App.
  • I just got a Raspberry Pi 4 and was surprised to find Citrix performance with XenApp 7.6 is only average and really takes a nose dive when you try connecting to a machine over RDP inside the ica session. I’ve used Receiver and Workspace for years on Windows, iOS, and macOS, and they’v.
RE: Citrix Receiver
Hi,
seems to be a certificate issue.
Try to install the certificate here:
/opt/Citrix/ICAClient/keystore/cacerts/
and the run
sudo c_rehash /opt/Citrix/ICAClient/keystore/cacerts/
Also feel free to use the search function of this forum.
Regards DaWast
-= Feel Free to use the Search function in the upper right corner =-
RE: Citrix Receiver
(29-04-2015, 10:18 AM)DaWast Wrote: Hi,
seems to be a certificate issue.
Try to install the certificate here:
/opt/Citrix/ICAClient/keystore/cacerts/
and the run
sudo c_rehash /opt/Citrix/ICAClient/keystore/cacerts/
Also feel free to use the search function of this forum.
Regards DaWast

Thank you for the reply. I exported the certificate from the site and placed it in folder you listed. I gave it 777 permissions and set owner to root like the rest of the *.pem files in there. Ran the sudo c_rehash making the refernce links however it is still doing the same thing when trying to add a profile or run the launch.ica.
RE: Citrix Receiver
Same problem here.
I figured out the 'hidden' command line. But if I call it directly I got a segmentation fault.
[email protected]:~/.ICAClient/cache$ /opt/Citrix/ICAClient/wfica -browserLock /tmp/npicaAldPNq -file /home/rpitc/.ICAClient/cache/NeKKiv.ICA
Segmentation fault
[email protected]:~/.ICAClient/cache$
RE: Citrix Receiver
(02-05-2015, 08:25 AM)asys3 Wrote: Same problem here.
I figured out the 'hidden' command line. But if I call it directly I got a segmentation fault.
[email protected]:~/.ICAClient/cache$ /opt/Citrix/ICAClient/wfica -browserLock /tmp/npicaAldPNq -file /home/rpitc/.ICAClient/cache/NeKKiv.ICA
Segmentation fault
[email protected]:~/.ICAClient/cache$

So I tried this as well. I got the same Segmentation fault when trying to run normally as you did. However when running with sudo, I got the EULA for Citrix. I accepted it then got the error.
[email protected]:~$ sudo /opt/Citrix/ICAClient/wfica -browserLock /tmp/npicasiVOTG -file ./Downloads/launch.ica
(wfica:646): GLib-CRITICAL **: Source ID 31 was not found when attempting to remove it
RE: Citrix Receiver
So I tried about every solution I could find and one of them worked.. downside is due to stability issues I'm experiencing, I didn't have time to test between each item. I'll put them all here and hopefully one of them will help others.
This first step I don't think did anything for me as it usually requires the certificate to be *.crt, not *.pem and I had tried it before:
sudo cp cah.pem /usr/share/ca-certificates/cah.pem
sudo dpkg-reconfigure ca-certificates
Accept all defaults

sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/
sudo c_rehash /opt/Citrix/ICAClient/keystore/cacerts/

Last step I tried that I think is the one that worked:
mkdir /opt/Citrix/ICAClient/keystore/intcerts
cp cah.pem /opt/Citrix/ICAClient/keystore/intcerts/cah.pem
sudo /opt/Citrix/ICAClient/util/ctx_rehash

This is installing the cert as an intermediate certificate outlined from http://support.citrix.com/proddocs/topic..certs.html
Another item I ran across is running the following command for troubleshooting. So that way when it failed to add the server profile, it gives more details.
/opt/Citrix/ICAClient/util/configmgr

So I'm no longer getting a certificate error and actually do get prompted for my user name and password. However after entering my credentials I am getting an error 'Received an unexpected HTTP status 302 from the gateway'.
As mentioned before, I'm having major stability issues for some reason which is really putting a damper on my troubleshooting. Tried redownloading & reimaging the SD card but they are persisting. Things like Iceweasel and Docky keep randomly crashing while working. As well as the entire thing freezing up, forcing a reboot. Sometimes after it freezes, I'll have to reboot 4-5 times before it comes up properly again. After a forced restart, half the time it will require I manually run a fsck and I apply all the fixes it finds.
RE: Citrix Receiver
I just wanted to follow up for anyone still looking for answers. First off the stability issues were due to the default overclocking. I disabled overclocking and have not had any issues with crashing and/or locking up since. I disabled overclocking in /boot/config.txt by commenting out the lines for overclocking.
Now that I was able to work reliably, I tested a few things and found that this code was key in the previous post
sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/
sudo c_rehash /opt/Citrix/ICAClient/keystore/cacerts/
Once this is applied is when it accepted the initial part of the certificate. My company actually had a second self-sign certificate that wasn't showing up until I was on site. I allowed the self-signed certificate in Ice Weasel and now it launches correctly from the browser into Citrix Receiver. I'm still not able to get Citrix to add an account but I think that has to do with our setup. I'm happy with this solution. Next issue I have is screen update/refresh. After opening a window then closing it, it will leave behind many parts of the closed window. Dragging mouse around or refreshing manually does work to update the screen.
RE: Citrix Receiver
I've tried all the above.
When I log in on my companies website I click on open and after a few seconds of thinking, nothing happens. I know in chrome it downloads an ICA but on iceweasel it should open citrix automaticly right?
RE: Citrix Receiver
(01-07-2015, 09:35 AM)dangerousp Wrote: I've tried all the above.
When I log in on my companies website I click on open and after a few seconds of thinking, nothing happens. I know in chrome it downloads an ICA but on iceweasel it should open citrix automaticly right?

Right, Iceweasel should have an addon to automatically launch Citrix. The launch.ica file will download if you disable the Citrix Add-on in Iceweasel if that is what you want. I suggest manually installing the certificate for the website. When on the site, select lock icon in the address bar > More Information > Security Tab > View Certificate > Details tab > Export > save it in /usr/share/ca-certificates/mozilla/
After you have saved it, run the following:
sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/
sudo c_rehash /opt/Citrix/ICAClient/keystore/cacerts/
14-07-2015, 01:58 AM, (This post was last modified: 14-07-2015, 02:01 AM by Congree.)
RE: Citrix Receiver
So I've made a lot of progress since I first posted by still having some issues I could use some assistance with. I realize that my issues are more on the Citrix Receiver site but hoping someone will know something. First, after connecting with Citrix Receiver to my virtual computer pc, I am having screen redrawing issues. Often after closing a window or moving a window around, it will not redraw the screen properly and leave parts of it showing. I have tried editing multiple config files in multiple ways but nothing seems to make a difference. I've also updated to Citrix Receiver 13.2 ARMHF. I've tried updating both these files in /home/rpitc/.ICAClient and in /opt/Citrix/ICAClient/config to no avail. Here are the current files:
; wfclient.ini
[WFClient]
Version=2
DisableXRender=1
KeyboardLayout=(User Profile)
KeyboardMappingFile=automatic.kbd
KeyboardDescription=Automatic (User Profile)
KeyboardType=(Default)
CREnabled=True
BrowserProtocol=HTTPonTCP
BrowserTimeout=5000
CDMAllowed=On
ClientAudio=On
ClientPrinterQueue=On
ClientManagement=On
ClientComm=On
MouseSendsControlV=True
MouseDoubleClickTimer=
MouseDoubleClickWidth=
MouseDoubleClickHeight=
Hotkey12Shift=Ctrl+Shift
Hotkey11Shift=Ctrl+Shift
Hotkey10Shift=Ctrl+Shift
Hotkey9Shift=Ctrl+Shift
Hotkey8Shift=Ctrl+Shift
Hotkey7Shift=Ctrl+Shift
Hotkey6Shift=Ctrl+Shift
Hotkey5Shift=Ctrl+Shift
Hotkey4Shift=Ctrl+Shift
Hotkey3Shift=Ctrl+Shift
Hotkey2Shift=Ctrl+Shift
Hotkey1Shift=Ctrl+Shift
HowManySkipRedrawPerChange=1
IgnoreErrors=9,15
HDXFlashUseFlashRemoting=Always
[Thinwire3.0]
DesiredHRES=640
DesiredVRES=480
DesiredColor=4
PersistentCachePath=$HOME/.ICAClient/cache
PersistentCacheMinBitmap=2048
PersistentCacheEnabled=Off
ApproximateColors=No
UseFullScreen=True
DirectDecode=True
BatchDecode=True

; appsrv.ini
[WFClient]
Version = 2
ForceLVBMode = 1
DeferredUpdateMode = 1
[ApplicationServers]

The smaller issue I'm running into is with a USB Headset mic. I hear audio just fine from inside the Citrix session however the mic is not being detected in Citrix. The PulseAudio Volume Control show the Headset Mic and it is registering sound on the Pi. Windows inside the citrix session show no input devices. I'm not sure how to configure the mic for passthrough.
Any help would be appreciated, thanks!
« Next Oldest Next Newest »


Citrix Receiver For Raspberry Pi 4

Users browsing this thread: 1 Guest(s)
Contact Us ARMTC.NET all about Thin Client on ARM Return to Top Lite (Archive) Mode RSS Syndication

Hey, so I thought I would just create a post on how to create a cheap Thin Client like device which can be used to access Citrix remotely. The latest version of Citrix Workspace App ( previously known as receiver / ica client ) for Linux now contains HDX for Microsoft Teams but does require a couple of dependencies.

Prep the Pi

I have tested this on both the Raspberry Pi 3 and 4 which both worked well. First, we need to do is head over to https://www.raspberrypi.org/downloads/raspberry-pi-os/ and download the desktop image.

Once downloaded, unzip and write to the MicroSD Card with your favourite tool, alternative see the instructions at https://www.raspberrypi.org/documentation/installation/installing-images/ for a guide on how to do it.

Next, we need to boot your new Raspberry Pi OS installation and run through the setup process. Ensure you install the latest updates and reboot as part of the wizzard!!

Citrix Receiver For Raspberry Pi 3

Once rebooted we will now need to install some bits to get the HDX, WebCam and SaaS working nicely with Citrix. Firstly open the terminal using the shortcut on the taskbar at the top of the screen.

Pdf free download for windows 7. Next, we need to use the package manager to install the required packages.

Download Citrix

Unfortunately due to Citrix's licensing structure, you will not find it in the software centre or via apt. They also make it hard to link directly to packages so we will have to do download the packages manually

Go to https://www.citrix.com/en-gb/downloads/workspace-app/linux/workspace-app-for-linux-latest.html and look for 'Debian packages' under Available Downloads.

Under here select 'Web Packages Only'

And then locate the 'Citrix Workspace app for Linux Web Client (ARM HF)' and click Download file.

Optional - USB Support

If you want USB support then under 'USB Packages' download the ARM HF version as above.

Install Citrix Packages

Once downloaded you will need to open the terminal again.

Then you will need to change to your downloads directory and run the dpkg command

This will now have installed the Citrix client ( and USB support if specified ) to your PI.

Webcam & Mic

There is one last step required to enable WebCam and Microphone to be enabled in your Citrix session. Again from a terminal run

This will open the preference tools, select the 'Mic & Webcam' tab and select the option 'Use my microphone and webcam'

And there you go, you are now ready to use your Pi to access Citrix and use MS Teams with full HDX support :)

Troubleshooting

  • If HDX is not working then open a termin and run

this will check that you have all the dependencies installed and flag up any that are not.

Citrix
  • I also found that using my bluetooth headset ( UpRoar Wireless Headphones ) crash the citrix session. Use a USB headset/microphone worked ok.
  • If you have issues with sound / speed then perform the usual checks
    • Kick the kids off the wifi
    • Try going hardwired instead of wifi
    • Run a speed test
    • Reboot your router
For

Citrix Receiver For Raspberry Pi 7

After thoughts

Great, that is good for the Pi but what about my Ubuntu Laptop/Desktop?

Well form the Citrix Debian Packages select x86_64 packages and follow the above.

Citrix Receiver For Raspberry Pi 4

You will need to install the following package versions on Ubuntu vs the Pi.

Comments are closed.