Citrix session closes

Post bug reports related to either the kiosk ISO or the kiosk wizard here.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
tvandenbroek
White ninja
White ninja
Posts: 9
Joined: 09 Mar 2018, 14:27
Distribution: Kiosk

Citrix session closes

Post#1 by tvandenbroek » 23 Jul 2018, 10:36

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.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Citrix session closes

Post#2 by fanthom » 23 Jul 2018, 13:35

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.
Please add [Solved] to your thread title if the solution was found.

RandomStranger
White ninja
White ninja
Posts: 19
Joined: 25 Sep 2018, 15:23
Distribution: Kiosk

Citrix session closes

Post#3 by RandomStranger » 25 Sep 2018, 15:41

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 ??

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Citrix session closes

Post#4 by fanthom » 25 Sep 2018, 18:16

@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.
Please add [Solved] to your thread title if the solution was found.

RandomStranger
White ninja
White ninja
Posts: 19
Joined: 25 Sep 2018, 15:23
Distribution: Kiosk

Citrix session closes

Post#5 by RandomStranger » 25 Sep 2018, 20:28

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

RandomStranger
White ninja
White ninja
Posts: 19
Joined: 25 Sep 2018, 15:23
Distribution: Kiosk

Citrix session closes

Post#6 by RandomStranger » 27 Sep 2018, 10:54

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

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Citrix session closes

Post#7 by fanthom » 27 Sep 2018, 11:21

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.
Please add [Solved] to your thread title if the solution was found.

RandomStranger
White ninja
White ninja
Posts: 19
Joined: 25 Sep 2018, 15:23
Distribution: Kiosk

Citrix session closes

Post#8 by RandomStranger » 27 Sep 2018, 12:11

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?

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Citrix session closes

Post#9 by fanthom » 27 Sep 2018, 13:06

You may try older 11-citrix.xzm modules from here:
http://porteus-kiosk.org/public/
Please add [Solved] to your thread title if the solution was found.

RandomStranger
White ninja
White ninja
Posts: 19
Joined: 25 Sep 2018, 15:23
Distribution: Kiosk

Citrix session closes

Post#10 by RandomStranger » 27 Sep 2018, 13:18

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.

RandomStranger
White ninja
White ninja
Posts: 19
Joined: 25 Sep 2018, 15:23
Distribution: Kiosk

Citrix session closes

Post#11 by RandomStranger » 05 Oct 2018, 09:44

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/ ?

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Citrix session closes

Post#12 by fanthom » 05 Oct 2018, 10:11

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.
Please add [Solved] to your thread title if the solution was found.

RandomStranger
White ninja
White ninja
Posts: 19
Joined: 25 Sep 2018, 15:23
Distribution: Kiosk

Citrix session closes

Post#13 by RandomStranger » 05 Oct 2018, 10:33

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.

Locked