VMware Horizon Community
Mei_1225
Contributor
Contributor

Horizon connection fail

[Please let me know if I need to provide English explanation]
VMware Horizon環境を構築しております。
クライアント端末からHorizon Client を起動し、コネクションサーバーへ接続することはできます。
表示されたプールを選択すると、プール内の仮想デスクトップVMの一つが割り当てられますが、
接続を完了することができません。VMwareBlast、MicrosoftRDPの両方うまくいきません。

[エラーメッセージ]
VMware Blast : The connection to the remote computer ended.
Microsoft RDP : The connection to the remote computer failed. It is possible that remote connections are not enabled on the remote computer or that the computer or network is too busy.

なお、クライアント端末から払い出された仮想デスクトップVMへPingは届きます。

Horizon Administrator Consoleのイベントログには、
The agent running on machine XXXXX has accepted an allocated session for user XXXXX
というログが出ており、そのほかの警告やエラーはありません。


リモート先の仮想デスクトップVMに設定が足りないのでしょうか。
どこを確認するべきか教えて頂けますと幸いです。

Reply
0 Kudos
2 Replies
yukiafronia
Enthusiast
Enthusiast

Hi, @Mei_1225

Is there a registry set up to force the virtual machine to log off?

Horizon View Desktops hanging on logoff preventing composer operations, or users from logging in (2151503)
https://kb.vmware.com/s/article/2151503

When you deploy virtual machines in Horizon, you should have created a master VM.
In the master VM, try to redeploy the virtual machine with the following registry settings


=====
Registry Location:HKCU\Control Panel\Desktop
String AutoEndTasks
Value 1

=====

Reply
0 Kudos
Mei_1225
Contributor
Contributor

Hello, @yukiafronia 

Thank you for giving advice.

I set registry and reboot machines, but there was no change.

Reply
0 Kudos