In our lab we have a RHEL8 server with developer subscription.
On the machine we have a few VMs and some of them are on a private libvirt network, thus we can only access them via virt-viewer
.
- We use various Fedora 32/33 to connect to the lab server.
- We can ssh to the server and personally I can even ssh as root (
ssh root@server.example.com
works)
The command I use is:
virt-viewer -c qemu+ssh://root@server.example.com/system privatevm
My problem:
- When I have
firewalld
up and running on the server,virt-viewer
cannot open the display. We only see theConnected to graphic server
message on thevirt-viewer
and the rest is just gray. USB redirection is enabled, but not the "Screenshot", or the "Preferences". But no graphical output. - When I stop
firewalld
virt-viewer displays the remote machine/desktop just fine.
I enabled logging on the firewalld. I don't see any dropped packages to/from the client. I am out of ideas, so any help would be appreciated.