I upgraded to macOS Catalina last night. I'm disconnected from remote sessions when my computer is locked. I checked log files...
2019-10-08T10:41:52.175-06:00| crtbora| I125: GetUsbdInstanceId(): The usbd instance id is :
2019-10-08T10:41:54.840-06:00| crtbora| I125: -[DUIKeyboardMouseConnection handleGUIKeyState:], valid down key -> lost focus event. asking MKS to drop pending GUI key. timeDeltaMS: 137, guiKeyDelay: 0
2019-10-08T10:41:54.840-06:00| crtbora| I125: -[DUIKeyboardMouseConnection handleGUIKeyState:], asking MKS to release all keys
2019-10-08T10:41:54.853-06:00| crtbora| I125: Internal VMDB error: VMDB failure (-1)
2019-10-08T10:41:54.853-06:00| crtbora| I125: Internal VMDB error: VMDB failure (-1)
2019-10-08T10:42:00.113-06:00| crtbora| I125: GetUsbdInstanceId(): The usbd instance id is :
2019-10-08T10:42:00.136-06:00| crtbora| I125: VmdbPipeStreamsOvlError Couldn't read: OVL_STATUS_EOF (remote disconnect)
2019-10-08T10:42:00.136-06:00| crtbora| I125: VmdbCnxDisconnect: Disconnect: closed pipe for sub cnx '/db/connection/#1/' (-32)
2019-10-08T10:42:00.136-06:00| crtbora| I125: SOCKET 4 (5) recv detected client closed connection
2019-10-08T10:42:00.136-06:00| crtbora| W115: MKSControlClient: Remote Disconnect: socket closed: (4) Remote disconnected.
2019-10-08T10:42:00.136-06:00| crtbora| W115: MKSControlClient: MKSControlWriteCB returns because connection is invalid: mSocket = 7FA2AE1956C0, mConState = 0.
2019-10-08T10:42:00.136-06:00| crtbora| I125: OnMKSControlCnxBroken: MKSControl connection is broken.
2019-10-08T10:42:00.136-06:00| crtbora| I130: cui::MKS::SetAttached (7FA2AC815200): detach
2019-10-08T10:42:00.136-06:00| crtbora| I125: MKSControlClient: Disconnect is called.
2019-10-08T10:42:00.136-06:00| crtbora| W115: MKSControlClient: MKSControlWriteCB returns because connection is invalid: mSocket = 0, mConState = 0.
2019-10-08T10:42:00.136-06:00| crtbora| I125: Internal VMDB error: Pipe connection has been broken (-14)
2019-10-08T10:42:00.137-06:00| crtbora| I130: cui::MKS::OnSetAttachedCompleted (7FA2AC815200)
2019-10-08T10:42:00.137-06:00| crtbora| W115: cui::MKS::OnMKSControlConnectionBroken: MKSControl connection is broken but MKS is not attached.
2019-10-08T10:42:00.137-06:00| crtbora| I125: OnVMDBBroken: VMDB connection is broken.
2019-10-08T10:42:00.137-06:00| crtbora| I130: cui::MKS::SetAttached (7FA2AC815200): detach
2019-10-08T10:42:00.137-06:00| crtbora| I130: cui::MKS::OnSetAttachedCompleted (7FA2AC815200)
2019-10-08T10:42:00.137-06:00| crtbora| I125: SetConnectionState: MKS connection state changes from -1 to 0.
2019-10-08T10:42:00.137-06:00| crtbora| I125: GetConnectionStateReason(): remote mks did not set a disconnect reason code, so assuming it crashed.
Is this just a matter of waiting for an update to the client to support the latest macOS version?
I think I have the answer - go to System Preferences > Security & Privacy.
On the left select Accessibility, and untick VMWare Horizon Client...
Seems to stop the random disconnects.
Same upgrade on my part as well - Mojave to Catalina. My session disconnects at random with or without locking. I have removed and reinstalled 5.20 client and no change in behavior.
Same issue. I upgraded to macOS Catalina, uninstalled and reinstalled VMWare Horizon 5.2 and I am getting randomly disc from my HVD session. I was told on Tue - Oct 8th atet VMWare would have a fix by cob but I have not seen any progress today
Our internal IT department has recommended uninstalling 5.20 and trying client 4.10. I am trying that now. So far no disconnects, but need more time to test.
UPDATE: disconnecting as well. This does not resolve the issue. Looks like something in Catalina.
Can confirm same problem. Tried reinstall of app, disabling H.264 decoding and HEVC.
Glad to see it's not just me ... fingers crossed for a quick fix.
Now this is very strange, it appears to be linked to Safari and passwords when you use the thumbprint, or enter password for keychain access.
Basically, open safari, do some browsing and it's fine, go to a site where it will ask you for logon details, if this has been cached you get the pop-up to ask you to fill, click that - (at this point I still have connection), either put in the keychain password or use thumb, and this seems to trigger something - the machine is still connected and will play audio and update, but as soon as that mount pointer hits it the session will disconnect.
Tried the latest 5.2.0 client as well as previous - they all do it.
Plus there is an annoyance with the dock being triggered as soon as it gets a sniff of the pointer being in that area - used to have to wait 2-3 secs before.
Having said that, it seems to be when entering text into a text box.
I think I have the answer - go to System Preferences > Security & Privacy.
On the left select Accessibility, and untick VMWare Horizon Client...
Seems to stop the random disconnects.
Thanks @TJG2.
Trying this now.
That does seem to work. I locked my screen several times and my session does not disconnect. Nice work!
I would say so as well. Went to lunch and left my MacBook locked. Came back and still have my VDI instance.
Thank you!
this took care of it for me! aghhhhhhhhhhh it was driving me nuts.
has anyone seen any negative behavior by not having this enabled?
Unchecking the box worked for me too... too bad this is the exact opposite of what Apple is intending here.
I'm sure VMware will drop an officially supported version soon. The Horizon 5.2 Client is NOT supported on macos Catalina.
Hopefully, the new client will ensure that the box is rechecked after installation for those of you unchecking security boxes...
BTW: Unchecking the box had no noticeable effect on my MacBook Pro. Drive access works, printer mapping, USB devices, cut-n-paste. All work.
Now what do I tell my cranky physicians about their shiny new MacBooks running MacOS Catalina. UGH.
Check the Box. Uncheck the Box. Re-Check the box. :smileyplain:
This fix worked for me as well.
The release notes for 5.2.0 would seem to imply Catalina support with a know upgrade problem.