<div dir="ltr">Something by chance?<br><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mar, 25 oct 2022 a las 18:16, Carlos González (<<a href="mailto:piteccelaya@gmail.com">piteccelaya@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Already did; it did work, thanks (and yes, it's always Virtual-1 for some reason).</div><div>I couldn't understand it very well from the bug report, why isn't it automatically working on some DEs/WMs?<br></div><div><br></div><div>Now, could we focus on the nasty bug with file transferring? As already mentioned, the -f and -o options are serving of absolutely nothing...</div><div><br></div><div>Thanks.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun, 24 oct 2022 a las 9:16, Uri Lublin (<<a href="mailto:uril@redhat.com" target="_blank">uril@redhat.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 20, 2022 at 11:52 PM Carlos González <<a href="mailto:piteccelaya@gmail.com" target="_blank">piteccelaya@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>So I did more tests.</div><div><br></div><div>First, AntiX Linux by default doesn't use "desktop environments" but "window managers", being the default IceWM. Also, it doesn't use SystemD at all; SysV instead. Regarding Xorg or Wayland, it's Xorg.</div><div><br></div><div><span>> I did some tests and with both Windows and Linux it appears that the<br>
> agent is needed.</span></div><div><br></div><div>Well, of course it's needed! That's per basic instructions...<br></div><div><br></div><div>Since there's no SystemD here, neither journalctl command. So tried running both spice-vdagentd and spice-vdagent with debugging:</div><div>sudo /usr/sbin/spice-vdagentd -x -d -d</div><div>spice-vdagent -f /path/to/folder -x -d -d</div><div><br></div><div>When resizing the remote-viewer window, no logs whatsoever, and of course neither resolution update. Also, using the -f option served of nothing; exact same error mentioned before...<br></div><div>Neither anything at all related in /var/log/Xorg.0.log</div><div>*Only* clipboard sharing seems to work<br></div></div></blockquote><div><br></div><div>Try the workaround mentioned on the bug, run on the guest (after resizing remote-viewer's window):</div><div>    xrandr | grep Virtual                  # look for the connected one<br></div><div>    xrandr --output Virtual-0 --auto # may be Virtual-1 instead of Virtual-0<br></div><div><br></div><div>Uri.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div>By chance, do you think you could give the live ISO a try? It's a live system, and the "Base" version is a CD size, not even a DVD...</div><div><br></div><div>Thanks again for your attention.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié, 19 oct 2022 a las 15:00, Uri Lublin (<<a href="mailto:uril@redhat.com" target="_blank">uril@redhat.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 18, 2022 at 8:40 PM Frediano Ziglio <<a href="mailto:freddy77@gmail.com" target="_blank">freddy77@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Il giorno mar 18 ott 2022 alle ore 01:04 Carlos González<br>
<<a href="mailto:piteccelaya@gmail.com" target="_blank">piteccelaya@gmail.com</a>> ha scritto:<br>
><br>
> Were you able to find something by chance? Thanks.<br>
><br>
<br>
Hi Carlos,<br>
   my main curiosity was about the need of the agent for resize.<br>
I did some tests and with both Windows and Linux it appears that the<br>
agent is needed.<br>
At this point I would try looking at the agent logs.<br>
Is your system using Xorg or Wayland ?<br>
<br>
Regards,<br>
   Frediano<br>
<br></blockquote><br><div>I agree with Frediano that (with a recent QXL device) the arbitrary resolution update is done via QXL.<br></div><div>Note that it does not work for all Desktop Environments, and I apparently it doesn't work for AntiX Linux (default DE).</div><div>If you can, try to run with GNOME/X11 and see if that works.<br></div><div><br></div><div>Related bug: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1290586" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1290586</a></div><div><br></div><div>Regards,</div><div>    Uri.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> El sáb, 15 oct 2022 a las 9:22, Frediano Ziglio (<<a href="mailto:freddy77@gmail.com" target="_blank">freddy77@gmail.com</a>>) escribió:<br>
>><br>
>> Il giorno ven 14 ott 2022 alle ore 16:11 Carlos González<br>
>> <<a href="mailto:piteccelaya@gmail.com" target="_blank">piteccelaya@gmail.com</a>> ha scritto:<br>
>> ><br>
>> > As soon as spice-vdagent package is installed, so is the spice-vdagentd daemon and it also starts running. Yet I always need to manually run spice-vdagent command...<br>
>> ><br>
>><br>
>> Maybe you would need to logout and login again from the graphic<br>
>> session. Or manually start it, not sure.<br>
>><br>
>> > How do I specify an output directory for the agent to file transfer?<br>
>> ><br>
>><br>
>> See "spice-vdagent --help", specifically -f and -o options.<br>
>><br>
>> > I don't think it's remote-viewer's fault, because I also tested with a Windows guest. With all SPICE stuff properly installed, everything works out of the box: clipboard, resizing, file transfer from host to guest. With "properly installed" I mean: installed SPICE drivers manually from virtio-win ISO by loading them since the Windows installation beforehand, then once booted into Windows downloaded the vdagent ZIP from spice-space website and manually installed the service according to instructions.<br>
>> ><br>
>><br>
>> I'll check, maybe is not handled by driver but agent<br>
>><br>
>> > As additional detail, in QEMU I use the option "-display spice-app", which automatically starts remote-viewer; though curiously it doesn't seem to create a virt-viewer directory inside ~/.config unlike when running remote-viewer manually...<br>
>> ><br>
>> > Thanks again.<br>
>> ><br>
>> > El vie, 14 oct 2022 a las 12:41, Frediano Ziglio (<<a href="mailto:freddy77@gmail.com" target="_blank">freddy77@gmail.com</a>>) escribió:<br>
>> >><br>
>> >> Il giorno gio 13 ott 2022 alle ore 16:58 Carlos González<br>
>> >> <<a href="mailto:piteccelaya@gmail.com" target="_blank">piteccelaya@gmail.com</a>> ha scritto:<br>
>> >> ><br>
>> >> > Hello.<br>
>> >> ><br>
>> >> > I'm trying a virtual machine with a live CD distribution called AntiX Linux, which is directly based on Debian.<br>
>> >> ><br>
>> >> > I'm using direct QEMU commands.<br>
>> >> > In the VM configuration I have this for SPICE configuration:<br>
>> >> > "-vga qxl -device virtio-serial-pci -spice unix=on,addr=path/to/vm_spice.socket,disable-ticketing=on -chardev spicevmc,id=spicechannel0,name=vdagent -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 \"<br>
>> >> > Then I boot the live ISO, double check that QXL driver is installed -which normally always is-, and install spice-vdagent package (version 20 here). I'm using remote-viewer (virt-viewer) to visualize the VM.<br>
>> >> ><br>
>> >> > Up to this point, clipboard sharing with host still doesn't work, and trying to drag a file from host to guest results in an error "The agent is not connected".<br>
>> >> ><br>
>> >><br>
>> >> This error is normal if the agent is stopped.<br>
>> >><br>
>> >> > So I manually run "spice-vdagent" command, and clipboard sharing now works, but trying to drag file from host to guest gives "File transfer is disabled". Also, automatic resolution change with window resizing doesn't work either.<br>
>> >> ><br>
>> >><br>
>> >> The fact that in this way the clipboard is running indicates that the<br>
>> >> agent is now working. You need to specify an output directory to the<br>
>> >> agent in order to get file transfer working.<br>
>> >> About the resolution change that's weird, I think that feature on<br>
>> >> Linux does not even require the agent running. Is it possible that the<br>
>> >> client (remove-viewer) is not set up to send resize to the guest<br>
>> >> automatically, there are some options on the menu.<br>
>> >><br>
>> >> > Certainly, this live distro doesn't come with any spice-related packages installed by default, except for the QXL package.<br>
>> >> ><br>
>> >> > Am I missing something here? Could someone help please?<br>
>> >> > Thanks beforehand.<br>
>> >><br>
>> >> Frediano<br>
<br>
</blockquote></div></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div>
</blockquote></div></div>