Virt-Manager how to get active internet

Yes i did. One thing since qemu was updated the other day is it’s not working using virtio 3D anymore. I’m using QXL and it is an issue on Gnome also with wayland.

Ah … good to know. I think adding the user to the group must have enabled the NAT. While you were playing around it must have updated the system or refreshed it which happened to me when I rebooted mine. That might have lead to we managing to solve this issue.

EDIT: How can I set a resolution for a VM?

On mine i use the welcome app to set it. But sometimes you have to do it inside the installed system after if it doesn’t stay.

I think at minimum the Wiki needs the user added commands maybe?

sudo usermod -a -G libvirt $(whoami)

From the display setting good. Nice solved, time to write this so everyone doesn’t go through the same cycle as you and me :D.

That’s the minimum but it never hurts to write down a solution in detail.

1 Like

The easiest thing is to set it to resize with the window. In the VM you will need spice-vdagent installed.

Make sure you are using virtio and not qxl.

@dalto what video driver should I install on my VM? in order to use with virtio. Because there is a driver for qxl as xf86-video-qxl.

@s4ndm4n
I managed to get my other desktop that just has WiFi working also on Virt-Manager. I’m not sure what fixed it but it was a combination of things. I did the usermod command then i did sudo pacman -S qemu bridge-utils openbsd-netcat It still wasn’t working and then i messed around and changed iptables for iptables-nft. Got it working.

You don’t need a special driver as far as I know. I can check in a bit what it uses but it may be the modesetting driver.

I thought it used virtio?

I am using virtio but for some reason I can’t set a resolution now. It just drops back to 1024 x 768.

Did you install spice-vdagent and reboot?

yes, I did.

Figured it out I had to use xrandr --output Virtual-1 --mode 192x1080 and then I pass this through the awesome wm config file.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.