AnswerBun.com

Multiple monitors with KVM

Ask Ubuntu Asked by klequis on December 13, 2020

This is my first try to use KVM (have been using VirtualBox for years) and everything was pretty easy to do except getting the VM to display on more than one monitor (I have 2). Both my host and guest are Ubuntu GNOME 16.04.1.

Per various doc, posts etc I have

> Set Display to Type:Spice server

> Set Video to Model: QXL (under which it says "Heads: 1"

I tried adding a second QXL device but when I booted the VM I only got a terminal, no desktop GUI.

An additional note: On the guest, in Display Settings there is only one display.

2 Answers

If you're using virt-manager you can navigate to the video device in the VM details and switch to the XML tab to directly edit the libvirt domain xml. You should see a heads='1' attribute, you can set this up to 4 I believe.

See the documentation on video devices on the libvirt website for additional settings. Specifically if you're using QXL and using resolutions you may run out of video memory and will need to increase the vram value.

You can then select the number of displays being shown in virt-viewer by going to View -> Displays -> *check displays to show*

Answered by Greg B on December 13, 2020

This advice did the trick for me.

Add 2nd display adapter in KVM manager and use remote-viewer spice://localhost:5900.

Answered by M. Brandon Wade on December 13, 2020

Add your own answers!

Related Questions

I cannot unzip.tgz file in my external hard drive

1  Asked on December 23, 2021 by ubuntu-beginner

     

Ubuntu 20.04 being hacked

2  Asked on December 23, 2021 by albert-g-lieu

   

Rekordbox alternative for ubuntu

2  Asked on December 21, 2021 by silb

     

How to configure a NFS mounting in fstab?

2  Asked on December 21, 2021 by nicholas-parmentier

     

GNOME- software not working

1  Asked on December 21, 2021

   

Reconnect Samba Share after router replacement

1  Asked on December 21, 2021 by adan-burlington

 

Can not login after Nvidia driver installation

2  Asked on December 20, 2021 by user224685

 

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP