Citrix sessions launch then immediately log out.

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.
LVL 1
jfortunAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Luis MenaCommented:
Tried to reinstall the citrix receiver? Maybe the problem is on the PC could be window updates...they love to screw things
0
jfortunAuthor 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.
0
Edward PamiasTeam Lead RRS DeskCommented:
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.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Edward PamiasTeam Lead RRS DeskCommented:
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.
0
jfortunAuthor 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.
0
Luis MenaCommented:
Check event viewer on one of the client see if you any errors under application
0
Edward PamiasTeam Lead RRS DeskCommented:
Check this link out and see if this helps you at all.

https://www.controlup.com/kb/sx123423/
0
jfortunAuthor Commented:
no luck
0
Edward PamiasTeam Lead RRS DeskCommented:
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."
0
jfortunAuthor Commented:
No luck with that unfortunately.
0
Edward PamiasTeam Lead RRS DeskCommented:
I will keep trying to find something. There is a solution for you, we just need to find it.
0
Edward PamiasTeam Lead RRS DeskCommented:
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.
0
jfortunAuthor Commented:
I have already tried the LogoffCheckerStartupDelayInSeconds with no success.
0
jfortunAuthor 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.
0
Dirk KotteSECommented:
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?
0
jfortunAuthor 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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Edward PamiasTeam Lead RRS DeskCommented:
I see you have the same issues we do. Good Luck, I am glad it resolved itself. :)
0
Edward PamiasTeam Lead RRS DeskCommented:
I am marking the author's comment as solution since we did not provide what he needed. Any objections?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
apps

From novice to tech pro — start learning today.