Page 1 of 1

Citrix session closes

Posted: 23 Jul 2018, 10:36
by tvandenbroek
We upgraded Porteus Thinclient to version 4.7.0 and from time to time the citrix session (started via storefront) closes/disconnects on its own.
This happens even when currently typing. I do not see this behavior in the previous version.

Citrix session closes

Posted: 23 Jul 2018, 13:35
by fanthom
Could be a regression in the Citrix app.

Would be great if you could boot Ubuntu live CD, install the same Citrix version as you have in kiosk and check if this issue recreate.
Alternatively you could enable free trial of 'automatic updates' service and check if latest Citrix resolves this problem.

Citrix session closes

Posted: 25 Sep 2018, 15:41
by RandomStranger
Also experiencing the same thing.

Code: Select all

2003 2018 Sep 25 11:58:04 ctxusb[2989]: ctxusb: ProcessClientMessage zero read. Exiting
2001 2018 Sep 25 11:50:49 ctxusb[2138]: ctxusb: ProcessClientMessage zero read. Exiting
2001 2018 Sep 25 11:42:38 ctxusb[2099]: ctxusb: ProcessClientMessage zero read. Exiting
2003 2018 Sep 25 11:26:53 ctxusb[2823]: ctxusb: read_ICA_data_in zero read. Exiting
2006 2018 Sep 25 10:54:44 ctxusb[2014]: ctxusb: read_ICA_data_in zero read. Exiting
2003 2018 Sep 25 10:50:49 ctxusb[2050]: ctxusb: read_ICA_data_in zero read. Exiting
Tried the 13.10 receiver and experienced the same issue.

fanthom, any tips on how to disable USB redirection in the 11-citrix.xzm module?

/opt/Citrix/ICAClient/config/module.ini

Code: Select all

[ICA 3.0]
GenericUSB=on
off ??

Citrix session closes

Posted: 25 Sep 2018, 18:16
by fanthom
@randomStranger

This parameter should do it:

Code: Select all

run_command=killall ctxusbd
Please let me know in case that helps and i'll disable this daemon by default.
People who needs usb redirection can always start this process using 'run_command=' (stable Citrix session is more important than anything else).

Thank you.

Citrix session closes

Posted: 25 Sep 2018, 20:28
by RandomStranger
Ok thanks, will run with that for a day or so, see if that resolves the issue. We were noticing that sessions were disappearing at the same point the ctxusb error was being logged.

It's terminated, /var/log/messages

Code: Select all

2008 2018 Sep 25 21:22:31 ctxusbd[2168]: Exiting on signal 15
2008 2018 Sep 25 21:22:31 ctxusbd[2171]: Exiting on signal 15
And then also showing on porteus server.

Code: Select all

2008 2018 Sep 25 21:18:47 wfica: ctxusb: No such process
2008 2018 Sep 25 21:18:47 ctxusb[2082]: connect failed, errno=111, message=Connection refused
2008 2018 Sep 25 21:18:36 wfica: ctxusb: No such process
2008 2018 Sep 25 21:18:36 ctxusb[2060]: connect failed, errno=111, message=Connection refused

Citrix session closes

Posted: 27 Sep 2018, 10:54
by RandomStranger
Okay, we've had one user report so far (only 5~ testing this) that the session disappeared at the point this was logged.

Code: Select all

2003 2018 Sep 27 11:12:07 wfica: ctxusb: No such process
2003 2018 Sep 27 11:12:07 ctxusb[9514]: connect failed, errno=111, message=Connection refused

Citrix session closes

Posted: 27 Sep 2018, 11:21
by fanthom
Did you use the 'run_command=' parameter as requested?
If yes then USB redirection is probably not related to the disconnecting issue.

Next debugging step would be:
"boot Ubuntu live CD, install the same Citrix version as you have in kiosk and check if this issue recreate."

If Ubuntu is also affected then its clearly recent Citrix app fault.

Citrix session closes

Posted: 27 Sep 2018, 12:11
by RandomStranger
Yes, the run command is in place to kill the process.

checked on the device as well:

Code: Select all

root@2003:~# killall ctxusbd
killall: ctxusbd: no process killed
Ok will start an Ubuntu session and ask the user to work from this. Problem is we haven't yet managed to narrow down what is causing this, previous release notes for Citrix Receiver for Linux include fixes, such as:

* A segfault error in wfica can cause sessions to disconnect or become unresponsive during screen updates that result from activities such as highlighting or scrolling.

We have a user on the 32bit v3.7 using receiver 13.2.1 who hasn't had the issue, they were on the 64bit v4.7 and were getting disconnects and have been fine on the old receiver and OS for over a week now.

Do you have any older builds of receiver we could also try?

Citrix session closes

Posted: 27 Sep 2018, 13:06
by fanthom
You may try older 11-citrix.xzm modules from here:
http://porteus-kiosk.org/public/

Citrix session closes

Posted: 27 Sep 2018, 13:18
by RandomStranger
Okay thanks will try those again. I broke the association of ICA files in firefox reverting to an older citrix client last time I tried.

Citrix session closes

Posted: 05 Oct 2018, 09:44
by RandomStranger
Okay experiencing the same with Receiver 13.4 (taken from v4.2 module), 13.8 (v4.6 module), 13.9 (v4.7) and 13.10 (v4.7 + updates) all running in the v4.7 ISO

Currently trying 13.3 from the v4.0 release in the v4.7 ISO.

Tricky to run from a live Ubuntu session in the current environment and still haven't managed to narrow down what is causing the issue.

It is possible to get the v4.6 kiosk thin client ISO that has been removed from http://porteus-kiosk.org/public/4.6/ ?

Citrix session closes

Posted: 05 Oct 2018, 10:11
by fanthom
Did you manage to recreate the same disconnecting issue under Ubuntu?

Please contact with support@porteus-kiosk.org and i'll provide 4.6 ISO for you for troubleshooting purposes.

Citrix session closes

Posted: 05 Oct 2018, 10:33
by RandomStranger
No I haven't yet. Been unable to swap out the 8 devices the users are to something that is able to run Ubuntu from a USB stick.

Unable to produce the error on demand, so we can't just leave a client idle connected to a session, they need to be actively used.