[Solved] Windows vm install without X11 on server

Hello,

I followed these instructions to setup a windows10 vm. When i try to install i get this,

$ incus start win10vm --console=vga

(spicy:3736989): Gtk-WARNING **: 17:35:37.130: cannot open display: 

There is no X on the server. I was hoping that i can access this remote session using virt-viewer but that was fail to,

$ virt-viewer --connect qemu+ssh://serverip win10vm
Unable to connect to libvirt with URI:qemu+ssh://serverip

How do i connect to the install window?

Thanks

I setup incus on the client and added the server as a remote connection.

$ incus start nas:win10vm --console=vga

(remote-viewer:541229): Gtk-WARNING **: 18:02:10.744: cannot open display: 
Error: tls: failed to send closeNotify alert (but connection was closed anyway): write tcp 

Rebooted the desktop so the permissions take effect and then it worked.