I'm working on configuring a RHEL 7 desktop that leverages an nVidia Grid GPU. When I try to connect to the VM through Horizon I receive the following error message:
"Error - All available desktop sources for this desktop are currently busy. Please try connecting to this desktop again later, or contact your system administrator"
I've tried the following:
The RHEL 7 VM boots and the GUI seems to "half boot". At the VM console It shows the RHEL 7 wallpaper but never presents the login box. I'm not sure if this is expected behavior or if this could be the cause of Horizon seeing the VM as "busy".
Are you able to do an SSH connection to one of the VDI Desktops using puTTY tool (port 22) using root credential? This is just to check if you can access your RHEL VDI outside of Horizon.
Did you try to remove the Graphics driver and then remove the GPU Card from VM Settings to check if you can access the VDI from Horizon Clent/HML Client?
I am able to successfully SSH to the VDI desktop using root. I haven't tried your removing the vGPU yet because it requires quite a bit of work to remove it and then reconfigure RHEL 7 back to the nouveau driver. I'm worried that I will break something else in the process but I'm thinking I might have to head in that direction...
View Agent logs for Linux
Horizon Agent installation directory /usr/lib/vmware/viewagent
Horizon Agent configuration /etc/vmware/viewagent-config.txt
Machine configuration /etc/vmware/viewagent-machine.cfg
Blast Server /tmp/vmware-root/vmware-mks-<pid>.log
Please check the view agent logs from the above location.
Hey Jon - Thanks for providing those locations. Unfortunately, the debug log wasn't providing any details but I was able to track down the issue. The desktop I was connecting to via Horizon is a Linux desktop with an nVidia GPU. Well, unfortunately, it looks like X Server was crashing at startup and Horizon relies on X Server. Without X Server there was essentially no GUI for Horizon to connect to hence the error message that all available desktop sources for this desktop are currently busy.
Thanks again for your help!
Hey - My issue revolved around the xorg.conf file which I was able to fix by using the following command to generate the xorg.conf file:
sudo nvidia-xconfig --busid="PCI:2:2:0" --allow-empty-initial-configuration
The part I was missing was the --allow-empty-initial-configuration switch. Obviously you have to replace the PCI address with your cards PCI address. I've also seen this error be caused by FIPS mode being enabled in RHEL.
Here are a few guides I put together: