[Users] 2 virtual monitors for Fedora guest

René Koch rkoch at linuxland.at
Tue Apr 8 15:57:48 UTC 2014


On 04/08/2014 05:32 PM, David Jaša wrote:
> Hi,
>
> No configuration nor Xinerama should be needed. Just make sure you have
> spice-vdagent package installed, spice-vdagentd service running and two
> spice-vdagent processes running (one for *dm, one for your user
> session). Then enable other monitors in virt-viewer: check View ->
> Displays -> Display N.

No Xinerama sounds great!

vdagent was already installed and is running:
$ ps -ef | grep vdagent
root        729      1  0 17:51 ?        00:00:00 /usr/sbin/spice-vdagentd
rkoch      1487      1  0 17:52 ?        00:00:00 /usr/bin/spice-vdagent

When I open a second monitor in virt-viewer it says "Waiting for display 
2..." and my vdagent services stops:
$ ps -ef | grep vdagent
root        729      1  0 17:51 ?        00:00:00 /usr/sbin/spice-vdagentd

In /var/log/messages I can see the following:
Apr  8 17:53:07 pc02 kernel: [  128.497232] input: spice vdagent tablet 
as /devices/virtual/input/input5
Apr  8 17:53:07 pc02 kernel: input: spice vdagent tablet as 
/devices/virtual/input/input5
Apr  8 17:53:11 pc02 spice-vdagentd: closed vdagent virtio channel


My vm has now the following settings:																																					 
																																																																										 
																																																																										 
																																																																										 
																																																																										 
																																																																										 
																																																															
OS: Linux
Optimized for: Desktop
Monitors: 2
Single PCI: activated																																																					 
																																																																										 
																							

>
> Xinerama is an old hackish means to multimonitor for linux guests with
> numerou disadvantages so please avoid that. If you really really want to
> use xinerama, then switch your OS type to Windows and your VM will get
> multiple qxl devices that xinerama depends on.

I don't want to use it and hack in Xorg config files :)


Regards,
René


>
> David
>
>
> On Út, 2014-04-08 at 14:48 +0200, René Koch wrote:
>> Hi,
>>
>> I'm trying to virtualize my Fedora 20 workstation on oVirt 3.4 with 2
>> screens.
>>
>> No matter if I choose Server or Desktop and operating system Linux or
>> RHEL 6.x x64 (surprisingly Fedora is missing in the list) my Fedora
>> guest (or better say LXRandR) only recognizes 1 monitor.
>>
>> ps -ef | grep myvm shows me that there are 2 monitors (or at least I
>> think that I can interpret the output this way):
>> -vga qxl -global qxl-vga.ram_size=134217728 -global
>> qxl-vga.vram_size=33554432
>>
>> Does anyone know how I can make my Fedora guest work with 2 screens?
>> Thanks!
>>
>>
>
>



More information about the Users mailing list