Symptom
A user tries to log out from a Citrix session but the session does not respond.
Example: Once you connect to a Citrix session, everything works. After having reconnected and disconnected several times, you log out. The window freezes while the logout screen is shown.
Solution
Select TCP only - UDP disabled under Sessions > Citrix > Citrix Global > Options > HDX Adaptive Transport over EDT.
OR
Try to use another Citrix Receiver version: Sessions > Citrix > Citrix Client Selection > Citrix client version.
OR
Troubleshoot the issue with your Citrix infrastructure to discover why the session is not closing when the wfica
process makes the call for disconnection.
Workaround
As a less recommended alternative, you can configure a hotkey to force a logout in such situations. Note, however, that this workaround can cause issues with hung sessions on the Citrix servers.
To configure a logout hotkey:
- In IGEL Setup, go to System > Firmware Customization > Custom Application.
- Click
to create a new Custom Application and name it e.g. "Kill Citrix Sessions". - Disable all Starting Methods for this session.
- Enable Hotkey.
- Choose e.g.
Ctrl|Alt
as Modifiers and define C
(for "Citrix) as Key. - Go to System > Firmware Customization > Custom Application > Kill Citrix Sessions > Settings.
- Enter an Icon name.
- Enter
/tmp/kill_citrix
as Command. - Go to System > Firmware Customization > Custom Commands > Desktop.
- In the field Desktop initialization enter following command in one line:
echo -e "#! /bin/bash\n\nps -eo comm,pid | grep ^wfica | while read c p tail; do echo \$p; done | xargs -r kill -TERM" >/tmp/kill_citrix; chmod 755 /tmp/kill_citrix
- Click Apply and reboot the device.
To configure the hotkey for a group of devices, you can alternatively create a profile or use this one: profile_KillCitrixSessionsViaHotkey.xml.
Here you can learn how to import a profile: Importing a Profile and Firmware.