Citrix sessions launch then immediately log out.

jfortun
jfortun used Ask the Experts™
on
I have a set of 8 server 2008 servers running Xenapp 5.0 and some users are having issues launching apps.  This started happening only recently and I can't tie it to any changes on the servers or the user's PCs.  A user will launch a published app, the app loads, the app UI pops up on the screen for maybe 1 second, then the session logs out.  This is the case for a large number of users on a wide number of system.  Some users are not experiencing this issue though they are connecting to the same apps on the same servers. For example, sessions launching from my PC (regardless of which ID is used) work every time. Other apps on other 2008 servers in the same farm work as well on the machines that have issues with the set of 8 servers mentioned above.  I don't see any unusual messages in the event log. I have tried to implement the LogoffCheckerStartupDelayInSeconds fix with no luck (though perhaps that won't work for XA5?)

Any help would be appreciated.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Tried to reinstall the citrix receiver? Maybe the problem is on the PC could be window updates...they love to screw things

Author

Commented:
Yes , first thing I tried. Also, i would expect connections to 2008 servers not in that group would fail as well.  Something I forgot to mention- these server have no special policies, Citrix or GPO, applied to them.
Edward PamiasTeam Lead RRS Desk
Top Expert 2016

Commented:
Now I am not sure if this would be the same for you but I had to add the url to java console security tab as an exception so I can get to the citrix apps up and running.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Edward PamiasTeam Lead RRS Desk
Top Expert 2016

Commented:
I would go to Control Panel, Java, Security Tab, edit site list, add the URL there. It all depends what customer I am connecting to. One of my other customers does not require the use of Java to get into the citrix apps.

Author

Commented:
We don't use java for Citrix. Also, I would expect that this would cause a failure for any connection to servers in the farm, but it seems to be a limited number of servers I see this symptom on. Thanks for bending some thought to this.
Check event viewer on one of the client see if you any errors under application
Edward PamiasTeam Lead RRS Desk
Top Expert 2016

Commented:
Check this link out and see if this helps you at all.

https://www.controlup.com/kb/sx123423/

Author

Commented:
no luck
Edward PamiasTeam Lead RRS Desk
Top Expert 2016

Commented:
I was reading a blog on this and this is one of the comments an expert posted...

"You have to either disable session pre-launch for the receiver via the registry on the XenApp servers , or uninstall the Citrix receiver on the XenApp servers.

Session Pre-Launch causes this behavior in a published desktop."

Author

Commented:
No luck with that unfortunately.
Edward PamiasTeam Lead RRS Desk
Top Expert 2016

Commented:
I will keep trying to find something. There is a solution for you, we just need to find it.
Edward PamiasTeam Lead RRS Desk
Top Expert 2016

Commented:
Try this reg fix and see if this works for you.


    Create the following registry key,
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWI
    DWord (32bit) – LogoffCheckerStartupDelayInSeconds

    Set the value of the key as 10.

Author

Commented:
I have already tried the LogoffCheckerStartupDelayInSeconds with no success.

Author

Commented:
Here is something new I found and I can recreate.  When i run and capture with Sysinternals Process Monitor on the problem server the citrix apps all launch normally.  When i stop the capture the launch and immediate logoff returns.
try to publish calc.exe (or another system-app) and ask your users to first start this app and afterwards the problam-app.
the problem app should share the session with calculator and possible keeps running.
What is the result?
Commented:
This is something we tried and with no luck.  System apps suffer the same issue- or should I say, suffered.  The problem has disappeared as mysteriously as it appeared.  Suddenly all of the problematic servers are now behaving properly. From a citrix and windows server angle we made no broad changes (all troubleshooting was done with changes only to a single server). My only thought is some change was made to a GPO (though our AD team denies this) or some strange VMWare issue was resolved. I can't explain why this issue started nor why it resolved itself.
Edward PamiasTeam Lead RRS Desk
Top Expert 2016

Commented:
I see you have the same issues we do. Good Luck, I am glad it resolved itself. :)
Edward PamiasTeam Lead RRS Desk
Top Expert 2016

Commented:
I am marking the author's comment as solution since we did not provide what he needed. Any objections?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial