Bas00
Contributor
Contributor

VDI sessions still active after user logged off

Hello,

We are currently facing a problem where sessions still remain after users log off. It doesn't happen to users who log off manually, it only happens to users who are logged off after being idle for some time (we manage this policy in the pool settings).

The weird thing is that when a user is auto logged off, it for some reason keeps trying to connect to that VM. and when it does the vm gives the error "not ready to accept connections". What makes this even harder to troubleshoot is the fact that it doesn't consistently happen, but more at random.

If any of you have ideas as to what may cause this I'd gladly hear them.

Reply
0 Kudos
yukiafronia
Enthusiast
Enthusiast

Hi, @Bas00 

This is faster to draft an SR to VMware.

If I were to do the research, I would want the following information

=====
・I have a PCoIP or VMware Blast problem, which is more likely to occur, although the problem occurs at random?

・Clone method or user assignment method.
If it is an instant clone, I don't think the session will remain because the virtual machine will be recreated after the user is logged off.

・I would like to know more specifics about the state in which a user continues to connect to a virtual machine again after logging off. If possible, it would be nice to have a video of the problem reproduced.

・AutoEndTasks already implemented?
=====

Also, Connection Server logs, Horizon Agent logs, and Horizon Client logs are required when problems occur.
Please collect all logs with administrative privileges.

View solution in original post

Reply
0 Kudos
Bas00
Contributor
Contributor

Hello,

Thanks for the advice. I've submitted an SR to VMware.

Reply
0 Kudos
jc296
Enthusiast
Enthusiast

Not sure if my issue was similar. I had a floating pool of manual desktops and I had users  who would connect to their desktops with zero clients but fail to log into the Windows session then disconnect the PCOIP session.  This led to them not being able to connect to the desktop for a period of approx 15mins.

I solved this be adding a Reg-edit string (timer) on the VM: HKLM\Software\VMware\VMwareVDM\Agent\Configuration - VdmConnectionTicketTimeout = 30.  The default is 900 secs apparently.

Hope that helps.

Reply
0 Kudos
alexkuchi
Contributor
Contributor

Which User profile Solution are you using?

sometimes processes still hang when you logoff. Use psexec remotely to determine the process which is hanging. Maybe it is a Badly programmed App 

Reply
0 Kudos