Avatar of jfortun
jfortun
 asked on

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.
* appsCitrix* XenApp

Avatar of undefined
Last Comment
Edward Pamias

8/22/2022 - Mon
Luis Mena

Tried to reinstall the citrix receiver? Maybe the problem is on the PC could be window updates...they love to screw things
jfortun

ASKER
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 Pamias

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.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Edward Pamias

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.
jfortun

ASKER
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.
Luis Mena

Check event viewer on one of the client see if you any errors under application
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Edward Pamias

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

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

ASKER
no luck
Edward Pamias

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."
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
jfortun

ASKER
No luck with that unfortunately.
Edward Pamias

I will keep trying to find something. There is a solution for you, we just need to find it.
Edward Pamias

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.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
jfortun

ASKER
I have already tried the LogoffCheckerStartupDelayInSeconds with no success.
jfortun

ASKER
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.
Dirk Kotte

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?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER CERTIFIED SOLUTION
jfortun

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Edward Pamias

I see you have the same issues we do. Good Luck, I am glad it resolved itself. :)
Edward Pamias

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