I have installed Ubuntu Desktop 16.04 with KVM in a bare metal server. Then, using virt-manager, I have created a brand new Ubuntu Desktop 16.04 guest with a single QXL Video device and a Spice server. I'm accessing this VM using virt-viewer (Remote Viewer) on a Windows desktop machine. My understanding is that Spice should provide as many as four virtual displays to enable a multiple monitor environment on the client side. However, when I select view->displays in the virt-viewer, displays 2-4 are grayed out and not selectable. The command 'xrandr' performed on the guest indicates that Virtual-0 is connected/primary and Virtual-1 through -3 are disconnected. I can add modes to Virtual-1 using
xrander --addmode Virtual-1 1024x768
but when I try to connect it using the following command
xrander --output Virtual-1 -d 1 --mode 1024x768
I get 'Can't open display 1'. Is the problem that I need to activate more X-displays? If so, how do I do that?
The server I'm using is a Dell R210 II with only the default Intel graphics and only one physical monitor connected, but my understanding is that these are virtual graphics devices, not pass-thrus, so the hardware shouldn't matter. Is that wrong? Any helps is appreciated!
spice-vdagent
doesn't help. – beersteiner Jan 20 '18 at 14:09spice-vdagent
within the guest and everything seems to be working fine now. I must have messed something up with the old VM, so I'd consider the below answer suitable. – beersteiner Jan 21 '18 at 16:05