Comment by jthemenace
2 years ago
Anyone running virt-manager on mac connecting to a headless linux hypervisor on the same network? I tried installing it through "brew", but was getting many random errors.
I thought about running it over the network using XQuartz, but I'm not sure how maintained / well supported that is anymore.
In virt-manager, you should* be able to go to file -> add connection.
Select Hypervisor "Custom URL", and enter: qemu+ssh://root@<host>/system
And Bob's your uncle.
It works great for me! This means it likely won't work for you until you've paid the proper penance to the computer god.
This might not fit your use case but what I do is:
ssh -L 5901:localhost:5901 username@hypervisor
on the hypervisor, start Qemu with -vnc :1
Then open a local VNC client like RealVNC and connect to localhost:1
I've done this several years ago, with no issues, though I haven't tried any time recently.