VMware Horizon Community
jason_reis
Contributor
Contributor
Jump to solution

vmware Horizon Client 5.2.0 on macOS Catalina disconnects on lock

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?

1 Solution

Accepted Solutions
TJG2
Contributor
Contributor
Jump to solution

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.

View solution in original post

13 Replies
bcrsr
Enthusiast
Enthusiast
Jump to solution

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.

TSS01
Contributor
Contributor
Jump to solution

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

bcrsr
Enthusiast
Enthusiast
Jump to solution

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.

Kyle02
Contributor
Contributor
Jump to solution

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.

TJG2
Contributor
Contributor
Jump to solution

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.

TJG2
Contributor
Contributor
Jump to solution

Having said that, it seems to be when entering text into a text box.

Reply
0 Kudos
TJG2
Contributor
Contributor
Jump to solution

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.

bcrsr
Enthusiast
Enthusiast
Jump to solution

Thanks @TJG2.

Trying this now.

Reply
0 Kudos
jason_reis
Contributor
Contributor
Jump to solution

That does seem to work.  I locked my screen several times and my session does not disconnect.  Nice work!

Reply
0 Kudos
bcrsr
Enthusiast
Enthusiast
Jump to solution

I would say so as well. Went to lunch and left my MacBook locked. Came back and still have my VDI instance.

Thank you!

Reply
0 Kudos
dhbwbr
Contributor
Contributor
Jump to solution

this took care of it for me!  aghhhhhhhhhhh it was driving me nuts.

has anyone seen any negative behavior by not having this enabled?

Reply
0 Kudos
JohnTwilley
Hot Shot
Hot Shot
Jump to solution

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:

Reply
0 Kudos
Kyle02
Contributor
Contributor
Jump to solution

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.

  • If you try to use the automatic update feature to install Horizon Client 5.2 for Mac on a macOS 10.15 (Catalina) system that is running Horizon Client 5.1 for Mac, Horizon Client 5.2 for Mac fails to install. Workaround: Remove Horizon Client 5.1 for Mac, download the Horizon Client 5.2 for Mac installer from http://www.vmware.com/go/viewclients, and install Horizon Client 5.2 for Mac manually. Alternatively, use the automatic update feature on macOS 10.13 or 10.14 to upgrade to Horizon Client 5.2 for Mac and then upgrade the Mac to macOS 10.15.
Reply
0 Kudos