On Mon, Mar 28, 2011 at 3:16 PM, Alon Levy <span dir="ltr">&lt;<a href="mailto:alevy@redhat.com">alevy@redhat.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Mon, Mar 28, 2011 at 10:11:38AM +0400, Emre Erenoglu wrote:<br>
&gt; On Sun, Mar 27, 2011 at 7:00 PM, Alon Levy &lt;<a href="mailto:alevy@redhat.com">alevy@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; On Sun, Mar 27, 2011 at 06:36:17PM +0400, Emre Erenoglu wrote:<br>
&gt; &gt; &gt; Hi,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I have a linux system with two monitors, one internal screen of my laptop<br>
&gt; &gt; &gt; running at 1280x800 and the other is a 22&quot; monitor with 1920x1080<br>
&gt; &gt; &gt; resolution. I use them in an extended desktop mode.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I would like to assign both of these screens to the virtual machine<br>
&gt; &gt; running<br>
&gt; &gt; &gt; qxl, but I didn&#39;t see anywhere how I can do that. I want that the guest<br>
&gt; &gt; &gt; machine sees two monitors connected to it, so that I can use it just like<br>
&gt; &gt; I<br>
&gt; &gt; &gt; use a real system (ie moving windows from one screen to another, etc.).<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; The only option I found relevant is the   -f, --full-screen[=auto-conf]<br>
&gt; &gt;  but<br>
&gt; &gt; &gt; it does not work as I expect. Would this boil down to the guest agent<br>
&gt; &gt; issue<br>
&gt; &gt; &gt; or is there something I need to do?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; spice is 0.8.0, qemu 0.14.<br>
&gt; &gt;<br>
&gt; &gt; To get two monitors you need to run the vm with two qxl devices. The first<br>
&gt; &gt; one gets created by the &quot;-vga qxl&quot;, the second (and more - you can have<br>
&gt; &gt; up to four) gets created with &quot;-device qxl&quot;. The client should pick them<br>
&gt; &gt; up automatically, the old client knows to close or open a window if the<br>
&gt; &gt; guest<br>
&gt; &gt; disables or reenables the screen, the spice-gtk client doesn&#39;t do that yet<br>
&gt; &gt; so you will get a number of windows with it anyway.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; Hi Alon,<br>
&gt;<br>
&gt; Thanks, I managed to do what you&#39;re saying. The only issue I&#39;m facing is<br>
&gt; that mouse is now sometimes loosing coordinate synchronization so it becomes<br>
&gt; impossible to work. Is this a known bug? Shall I report it somewhere?<br>
<br>
</div></div>I am not aware of it, please check if it&#39;s already reported in freedesktop or<br>
redhat bugzillas (<a href="http://bugzilla.freedesktop.org" target="_blank">bugzilla.freedesktop.org</a> and <a href="http://bugzilla.redhat.com" target="_blank">bugzilla.redhat.com</a> respectively).<br>
If it isn&#39;t reported please report it in freedesktop, thanks!<br>
<div class="im"><br></div></blockquote><div><br></div><div>I will, thanks. I was using  spicec client (which you referred as &quot;old&quot;), so I will also try with the spice-gtk client to reproduce.</div><div><br></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
&gt;<br>
&gt; Is there any way that this works in fullscreen mode covering both screens of<br>
&gt; my system?<br>
<br>
</div>You mean you want to have a single qxl device (i.e. single monitor since each qxl<br>
device is a single monitor device) and the client should use both client (physical)<br>
screens in fullscreen? we don&#39;t support that in spicec afaik, and I don&#39;t think<br>
anyone has ever considered that - sounds useful if you have two monitors of the<br>
same resolution and physically adjacent. Actually just setting a resolution in the<br>
guest should work in windowed mode (set a large enough resolution and the window<br>
will use space from both monitors), but fullscreen I think will pick one of the monitors.<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br></div><div>Well, not really. In my setup, I have a big VGA monitor (22&quot;) with 1920x1080 resolution, and below it, I have my laptop screen (1280x800). For example, I adjust 2nd screen to match the laptop resolution (ie 1280x800), so I get a 2nd window matching this in my host.</div>
<div><br></div><div>I want to maximize this window in the laptop screen such that it covers the entire screen (since resolutions match) --&gt; fullscreen. </div><div><br></div><div>We can image the same thing if the 1st window (ie 1920x1080) also matches the VGA monitor at 1920x1080. It shall also be &quot;fullscreen-able&quot;. </div>
<div><br></div><div>In the current client, if I set a 2nd monitor of 1280x800, I get this window in the host system, I move it to the laptop screen (at 1280x800 also), but I have to deal with the window borders and it can&#39;t be fully occupying the whole screen in that monitor. Hope I could explain myself :)</div>
<div><br></div><div>It would be good, if we could double click any client window border and it can become fullscreen in the monitor it is residing, with a key-press option to return to a window mode (ie CTRL+ALT+ENTER etc.). With this, I could have a virtual system exactly as if I&#39;m working on real hardware.</div>
<div><br></div></div>-- <br>Emre<br>