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

What does mean DORMANT mode in ip link show wlan0?

2  Asked on January 17, 2021 by bob91

     

syslog: Failed start mount ZFS filesystems

1  Asked on January 17, 2021 by wvxvw

   

Good movie mp4 metadata editor?

6  Asked on January 16, 2021 by flame_phoenix

   

Ubuntu 20.04 freezes issue

1  Asked on January 16, 2021 by kai-yang

   

Choppy video playback on ubuntu

0  Asked on January 16, 2021 by felipe-mesquita

         

Bluetooth adapter not found ubuntu 20.04

0  Asked on January 16, 2021 by abu-b-kurian

       

Gnome3 Setup of Wacom Buttons in Ubuntu 19.10

1  Asked on January 16, 2021 by n8tron

   

Multi-Core Compression tools

9  Asked on January 16, 2021 by luis-alvarado

   

INITRAMFS installation error

1  Asked on January 16, 2021 by daniel-nolan

     

Tuxcut installed But not running

3  Asked on January 15, 2021 by jagdish-patil

 

High end VPS is Slow

0  Asked on January 15, 2021 by omer-younas

       

for Canon MF3010

2  Asked on January 14, 2021 by dimos

     

Ask a Question

Get help from others!

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