Hi people. Ofesad here from Argentina.
I have my personal home server running fedora 41, working fine.
I wanted to run a VM with Ubuntu.
I created the VM, changed to UEFI, mounted the iso, installed. Everything is good.
Took note of the VM IP (virtual network), enabled ports (5900,5901) in both the server and the virtual network interface.
On my Windows 10 laptop: Installed virtviewer, added it to the firewall and allow’d it and launched it.
Try’d to connect to the ip (spice://192.168.122.118:5900 or spice://192.168.122.118:5901) Unable to connect to the graphics server
Changed the network config on the VM to direct, so it will conect directly to my network, tryd to connect: same.
The VM is on a NAT network. It can call out but you cannot call in.
Just like on a ipv4 home router.
What I do is add a bridge network device and configure my VMs to use the bridge. Now the VMs will get an ip address from your networks DHCP server. And you can use that address from your windows box.
To be clear, you need to connect to the LAN IP of your Fedora server.
It doesn’t matter how you configure network on the guests.
This works even if the guests don’t have any NIC.
If the issue persists, check the output on the Fedora server:
sudo firewall-cmd --get-active-zones
sudo firewall-cmd --list-all
sudo ss -lnpAinet | grep -e qemu
sudo virsh list --all
sudo virsh dumpxml VM --xpath //graphics
sudo virsh list --all
Id Nombre Estado
--------------------------------------------
1 ubuntu24.04-2025-2-21-B running
- ubuntu24.04-2025-2-21 off
Sorry for the delay. Had to reinstall the entire server. The Raid1 nvme decided to fail. Probably due to me changing things to try to make this work lol.
ALSO, now I am trying to reinstall these VMs. It boots, shows the Ubuntu logo but it doesnt get into desktop or installer. ( mouse seems to show the X)