Re: [Spice-devel] [RFC v1 1/4] red-parse-qxl: Extract the dmabuf fd from the scanout

2023-01-11 Thread Frediano Ziglio
Il giorno mer 11 gen 2023 alle ore 05:42 Vivek Kasireddy ha scritto: > > If the scanout has a valid dmabuf fd, then it is extracted and a > copy (of the fd) is stored in the drawable. > > Cc: Gerd Hoffmann > Cc: Marc-André Lureau > Cc: Dongwon Kim > Signed-off-by: Vivek Kasireddy > --- > serv

Re: [Spice-devel] The second client cannot redirect USB

2022-11-21 Thread Frediano Ziglio
ing is made by Qemu/usbredir. Frediano > > *发件人:* Frediano Ziglio > *发送时间:* 2022年11月18日 20:52 > *收件人:* 韩雪峰 > *抄送:* spice-devel@lists.freedesktop.org > *主题:* Re: [Spice-devel] The second client cannot redirect USB > > > > Il giorno ven 18 nov 2022 alle ore 10:

Re: [Spice-devel] The second client cannot redirect USB

2022-11-18 Thread Frediano Ziglio
Il giorno ven 18 nov 2022 alle ore 10:21 韩雪峰 ha scritto: > Hello, > > > >When I used two client to connect to a same one VM by spice with > setting “SPICE_DEBUG_ALLOW_MC=1”, the two clients worked, and the first > client could redirect USB. However, the second client could not redirect > USB

Re: [Spice-devel] Userquestion - remote-viewer connection fails with "Connection type could not be determined by URI"

2022-11-18 Thread Frediano Ziglio
is (a lot more there) ... > 179c > stony@Aperture-Science:~$ > > For now I will fade into the shadow of userdom again :) > > Stefan > Frediano > Am Fr., 18. Nov. 2022 um 11:25 Uhr schrieb Frediano Ziglio > : >> >> Il giorno ven 18 nov 2022 alle ore 06:08 Ste

Re: [Spice-devel] Userquestion - remote-viewer connection fails with "Connection type could not be determined by URI"

2022-11-18 Thread Frediano Ziglio
LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" >> LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" >> LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL= >> >> I will try to open it today at noon

Re: [Spice-devel] Userquestion - remote-viewer connection fails with "Connection type could not be determined by URI"

2022-11-17 Thread Frediano Ziglio
Try launching something like "LANG=C remote-viewer spice://192.168.178.51:5900" (LANG environment change) Frediano > Am Do., 17. Nov. 2022 um 10:08 Uhr schrieb Frediano Ziglio > : >> >> Il giorno gio 17 nov 2022 alle ore 07:57 Stefan Silberstein >> ha scritto: >

Re: [Spice-devel] Userquestion - remote-viewer connection fails with "Connection type could not be determined by URI"

2022-11-17 Thread Frediano Ziglio
Il giorno gio 17 nov 2022 alle ore 07:57 Stefan Silberstein ha scritto: > > Hello again, > > so - yesterday I worked from home - as I wrote I was able to connect by > specifying the user root with "remote-viewer spice://root@192.168.178.51:5900" > > Today I want to connect the exact same way (yes

Re: [Spice-devel] Agent crashes on Alpine Linux guest due to lack of /dev/uinput

2022-11-09 Thread Frediano Ziglio
Il giorno gio 10 nov 2022 alle ore 07:18 Frediano Ziglio ha scritto: > > Il giorno gio 10 nov 2022 alle ore 03:14 let-me-use-copy-and-paste > ha scritto: > > > > > > > I installed Alpine Linux 3.16 virtual machine edition on QEMU/KVM > > > > >

Re: [Spice-devel] Agent crashes on Alpine Linux guest due to lack of /dev/uinput

2022-11-09 Thread Frediano Ziglio
Il giorno gio 10 nov 2022 alle ore 03:14 let-me-use-copy-and-paste ha scritto: > > > > > I installed Alpine Linux 3.16 virtual machine edition on QEMU/KVM using > > > > Virt-Manager. I installed XFCE on it. I wanted to enable > > > > copy-and-paste, so I tried to install spice-vdagent on it, but

Re: [Spice-devel] Standalone (non-virtual) windows server

2022-11-06 Thread Frediano Ziglio
Il giorno dom 6 nov 2022 alle ore 08:38 Dirk Eibach ha scritto: > > Hi Frediano, > > > More or less is a project to use SPICE on a bare metal machine, > > something like x11spice or winspice (see > > https://gitlab.freedesktop.org/spice/win32/winspice). > > By the way, do you know of any spice ser

Re: [Spice-devel] Agent crashes on Alpine Linux guest due to lack of /dev/uinput

2022-11-06 Thread Frediano Ziglio
Il giorno dom 6 nov 2022 alle ore 08:10 let-me-use-copy-and-paste ha scritto: > > I installed Alpine Linux 3.16 virtual machine edition on QEMU/KVM using > Virt-Manager. I installed XFCE on it. I wanted to enable copy-and-paste, so I > tried to install spice-vdagent on it, but it kept crashing.

Re: [Spice-devel] Standalone (non-virtual) windows server

2022-11-05 Thread Frediano Ziglio
Il giorno sab 5 nov 2022 alle ore 08:09 Dirk Eibach ha scritto: > > Hi, > > I have started developing a standalone (non-virtual) windows server > application. It is based on the Desktop Duplication API, available > since Windows 8. > > A proof of concept is already working nicely. It still has som

Re: [Spice-devel] Vdagent not working on a Debian guest

2022-11-02 Thread Frediano Ziglio
le - "sudo -i" - "apt-get update" - "apt-get install spice-vdagent" - "ps awx | grep spice", agent was already started - exited from root user, stayed on the console - "spice-agent -d -x -f $HOME/Desktop -o 1" - dragged a file, a file manager

Re: [Spice-devel] Vdagent not working on a Debian guest

2022-11-01 Thread Frediano Ziglio
Il giorno lun 31 ott 2022 alle ore 23:52 Carlos González ha scritto: > > After trying it yet again, quoting myself: > >>As already mentioned, the -f and -o options are serving of absolutely > >>nothing > > Repeat: *absolutely nothing* > Same any other directory > > Spice-vdagent's logs say nothin

Re: [Spice-devel] [PATCH] sound: fix pointer arithmetic in snd_record_handle_write()

2022-10-24 Thread Frediano Ziglio
Il giorno sab 22 ott 2022 alle ore 12:51 Volker Rümelin ha scritto: > > The variable 'now' counts in audio sample frames, but the variable > 'data' is of type uint8_t *. Multiply 'now' by the size of an audio > sample frame to get the correct source pointer. > > This improves the quality of audio

Re: [Spice-devel] Vdagent not working on a Debian guest

2022-10-18 Thread Frediano Ziglio
. At this point I would try looking at the agent logs. Is your system using Xorg or Wayland ? Regards, Frediano > El sáb, 15 oct 2022 a las 9:22, Frediano Ziglio () > escribió: >> >> Il giorno ven 14 ott 2022 alle ore 16:11 Carlos González >> ha scritto: >> >

Re: [Spice-devel] Running without qemu

2022-10-15 Thread Frediano Ziglio
Il giorno ven 14 ott 2022 alle ore 14:58 Eibach, Dirk ha scritto: > > Hi, > > I am considering spice as a generic remote desktop, meaning on a real > machine, not on a virtual one. It has some features that I am missing on VNC > and RDP. Do you think that is a viable approach? As far as I can se

Re: [Spice-devel] Vdagent not working on a Debian guest

2022-10-15 Thread Frediano Ziglio
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... > > Thanks again. > > El vie, 14 oct 202

Re: [Spice-devel] [PATCH v2] meson: Allow building on a Wayland-only environment

2022-10-11 Thread Frediano Ziglio
Merged. Thanks, Frediano Il giorno mar 11 ott 2022 alle ore 11:18 Fabio Estevam ha scritto: > > From: Fabio Estevam > > Currently, it is not possible to build spice-gtk on a Wayland-only > environment due to the x11 dependency in meson. > > Since commit a7381b0864b7 ("Allow to build without

Re: [Spice-devel] spice webdav proxy

2022-10-04 Thread Frediano Ziglio
Frediano Il giorno mar 4 ott 2022 alle ore 10:00 Victor Toso ha scritto: > > Hi, > > On Fri, Sep 30, 2022 at 11:38:12AM +, Yury A. Produnov wrote: > > Hello. > > I installed spice-webdavd-latest inside the guest. > > Everything works and the drive connects with the letter Z:/ > > But I need t

Re: [Spice-devel] [PATCH] unhide cursor if pos_x is negative

2022-09-06 Thread Frediano Ziglio
Il giorno mar 6 set 2022 alle ore 06:03 qi zhou ha scritto: > > From e1cb184f71e698509c5ae50c20c687130325da52 Mon Sep 17 00:00:00 2001 > From: Qi Zhou > Date: Tue, 6 Sep 2022 12:14:49 +0800 > Subject: [PATCH] unhide cursor if pos_x is negative > > It is valid if position of cursor is negative(not

Re: [Spice-devel] qxldod driver for Windows 11

2022-09-02 Thread Frediano Ziglio
Il giorno ven 2 set 2022 alle ore 22:23 Carlos González ha scritto: > > So the "rumors" are true: you (in general) really did discontinue/kill the > qxl drivers, if not the entire SPICE project soon. Was it because IBM? Since > being sold to them the first one to die was Centos, now this... > H

Re: [Spice-devel] Windows Spice Guest Tools Silent Install Found

2022-08-24 Thread Frediano Ziglio
Hi Jonathon, do you have something in mind? I mean, are you referring to some addition to https://www.spice-space.org/download.html page? Like adding a sentence after "This installer contains some optional drivers and services that can be installed in Windows guest to improve SPICE performance a

Re: [Spice-devel] [PATCH x11spice] Call xf86SetDesiredModes() in DUMMYScreenInit().

2022-08-23 Thread Frediano Ziglio
Il giorno mar 23 ago 2022 alle ore 13:27 Henri Verbeet ha scritto: > > Hi Frediano, > > On 23/08/2022 14.01, Frediano Ziglio wrote: > > Looking on the Internet this function is also called in EnterVT > > callback. Don't we need something similar? > > I think tha

Re: [Spice-devel] [PATCH x11spice] Call xf86SetDesiredModes() in DUMMYScreenInit().

2022-08-23 Thread Frediano Ziglio
Il giorno mar 23 ago 2022 alle ore 10:57 Henri Verbeet ha scritto: > > Otherwise, we may end up with no mode (and thus no refresh rate) set if > nothing else (like e.g. .xinitrc) sets a mode for us. > > Signed-off-by: Henri Verbeet > --- > spice-video-dummy/src/spicedummy_driver.c | 2 ++ > 1 fi

Re: [Spice-devel] x11-spice equivalent for Windows

2022-08-21 Thread Frediano Ziglio
Il giorno dom 21 ago 2022 alle ore 09:20 Victor Toso ha scritto: > > Hi Jonathan, > > On Fri, Aug 19, 2022 at 06:33:18PM +0200, Jonathan Winterflood wrote: > > Hello, > > > > We are using SPICE with Qemu with much success, but were > > wondering whether a solution similar to x11-spice exists for >

Re: [Spice-devel] irc

2022-07-29 Thread Frediano Ziglio
Il giorno ven 29 lug 2022 alle ore 10:14 James Miller ha scritto: > > Hi, I wonder if the irc address on the website contact page > (https://www.spice-space.org/contact.html) needs updating? > > I can't find irc.gnome.org - I think they now use matrix. > > I want to know if there is anyway to ma

Re: [Spice-devel] connect to xspice via a unix-socket

2022-07-18 Thread Frediano Ziglio
Il giorno lun 18 lug 2022 alle ore 09:06 Frediano Ziglio ha scritto: > > Il giorno lun 18 lug 2022 alle ore 08:56 bob cantor > ha scritto: > > > > Is it possible to connect to xspice via a unix-socket rather than a > > tcp-port? (I would like to connect to xspice

Re: [Spice-devel] connect to xspice via a unix-socket

2022-07-18 Thread Frediano Ziglio
Il giorno lun 18 lug 2022 alle ore 08:56 bob cantor ha scritto: > > Is it possible to connect to xspice via a unix-socket rather than a tcp-port? > (I would like to connect to xspice running in a LXC comtainer. The > container and host are on the same machine, but there is no network > connec

Re: [Spice-devel] How to make QXL capture the whole desktop area?

2022-07-05 Thread Frediano Ziglio
Il giorno lun 4 lug 2022 alle ore 18:35 Walter Mitty ha scritto: > > Hi guys, > > QXL generates bitmap data which is the updated area. If I wanna make it > capture the whole desktop area, is it possible? > > Yours, > Walter Hi, it's not clear which component you are talking about. Usually da

Re: [Spice-devel] Spice HTML 5 problems

2022-06-28 Thread Frediano Ziglio
Hi, Il giorno mar 28 giu 2022 alle ore 16:25 Brian Michelson < brian.michel...@students.uni-freiburg.de> ha scritto: > Hello dear spice team, > > we have a problem with connection via your html 5 client. > > We set a spice server in qemu and the connection via virt manager > works, both locally a

Re: [Spice-devel] MOUSE rate down to 1/4 compare with bare metal PC, how to explain?

2022-06-20 Thread Frediano Ziglio
Hi Walter, how do you get the frequency of the mouse? Which guest OS are you using? Practically does the mouse move slowly or quickly? Are you using the SPICE agent or not? Regards, Frediano Il giorno mar 21 giu 2022 alle ore 07:39 Walter Mitty < waltermitty121...@gmail.com> ha scritto: > H

Re: [Spice-devel] Spice error

2022-05-27 Thread Frediano Ziglio
Il giorno ven 27 mag 2022 alle ore 12:49 Meurer ha scritto: > Dear Spice Team > > > I am using QEMU in Opensuse Tumbleweed. > > ALL WORKING FINE. > > Since today I got the error message: > > spice-server bug: guest stopped, ignoring > *** buffer overflow detected ***: terminated > > > Can you hel

Re: [Spice-devel] source code question: how hold_rcc works?

2022-05-27 Thread Frediano Ziglio
Il giorno ven 27 mag 2022 alle ore 09:23 Walter Mitty < waltermitty121...@gmail.com> ha scritto: > Hi guys, > I've been learning spice server source code for a few days. And there is a > function named *hold_rcc *that makes me confused. I can't find its > definition. I guess it is not a regular de

Re: [Spice-devel] Does not show Pre-Boot Login Menu (When using FDE) When Using Qemu

2022-05-04 Thread Frediano Ziglio
Il giorno gio 5 mag 2022 alle ore 05:53 Ahmad Ismail ha scritto: > When I run VM with the following command: > > qemu-system-x86_64 -accel kvm,thread=multi -cpu host -smp 2 -m 4096 \ > -drive file=/media/blueray/WDPurple8TB/QEMU_Backup/ubuntu.qcow2,if=virtio \ > -vga virtio -display gtk,gl=on > >

Re: [Spice-devel] Problem with mouse input

2022-04-25 Thread Frediano Ziglio
Hi, the intention is clear, collapse the movements (sum up relative movements) to avoid a queue getting too big. If you need a larger queue you can simply change the check on spice-gtk. One question is however why you want all events. About naming and readability I think a "unacked_motion_count"

Re: [Spice-devel] Code confusion: the difference between video_stream_trace_update() and video_stream_maintenance()

2022-04-19 Thread Frediano Ziglio
Il giorno mar 19 apr 2022 alle ore 11:42 Victor Toso ha scritto: > Hi, > > On Wed, Apr 13, 2022 at 03:06:24PM +0800, Walter Mitty wrote: > > Hello, > > I am learning spice-server source code. And i'm confusing the 2 > > functions in `video-stream.cpp`: video_stream_trace_update / > > video_stream

Re: [Spice-devel] Does SPICE support long time single touch to trigger right click action?

2022-04-19 Thread Frediano Ziglio
Il giorno mar 19 apr 2022 alle ore 11:29 Victor Toso ha scritto: > Hi, > > On Mon, Apr 18, 2022 at 11:32:26AM +0800, Walter Mitty wrote: > > As we all know, on windows 10 touch device, user can long touch > > to trigger right click. I found that it does not work on SPICE. > > My question is: Is t

Re: [Spice-devel] Combine JPEG-XL with spice

2022-03-28 Thread Frediano Ziglio
t and trying to > improve SPICE performance. It’s not easy. If I may, I’m thinking if RedHat > or some other entity can provide commercial tech service to help someone > like me? I’m willing to pay for this. > > Regards, > Walter. > > > On Mar 28, 2022, at 01:43, Frediano Z

Re: [Spice-devel] Combine JPEG-XL with spice

2022-03-27 Thread Frediano Ziglio
Hi, sorry for the late reply. More than replacing, which would cause a regression, an idea would be to add support for that new JPEG "dialect". It seems to have some advantages and the features added would help (they reduce network usage with similar processing costs). Regards, Frediano Il g

Re: [Spice-devel] Contributing via patch email or freedesktop Gitlab?

2022-03-04 Thread Frediano Ziglio
Il giorno sab 5 mar 2022 alle ore 05:21 osy ha scritto: > On the website > > https://www.spice-space.org/developers.html > > It says to send patches to this email. However, I've noticed that > recent development has taken place directly on the freedesktop Gitlab > with merge requests > > https://

Re: [Spice-devel] Following audio device changes

2022-01-29 Thread Frediano Ziglio
Hi Neal, what is the exact environment? Is it everything local and are you using the default Qemu interface? Or are you running Qemu and attacking with spice-gtk, remote-viewer, virt-manager or any other remote desktop application? If I understood correctly the desktop application, running on Ma

Re: [Spice-devel] error: No free USB channel

2021-12-24 Thread Frediano Ziglio
Il giorno gio 23 dic 2021 alle ore 23:38 i iordanov ha scritto: > Hi guys, > > During my testing I've been unable to connect more than 2 USB devices > at a time - could you please help me figure out why that's happening? > > The backend starts returning error with message "No free USB channel", >

Re: [Spice-devel] attaching a USB device by libusb_device or libusb_device_handle on Android

2021-12-23 Thread Frediano Ziglio
Hi Iordan, could you open a MR? Il giorno gio 23 dic 2021 alle ore 03:59 i iordanov ha scritto: > Hi Uri, > > Thanks for your assistance. I got it working. I'm attaching a patch > that does the job, and would really like it if we can make it > acceptable for inclusion into spice-gtk. > > In ge

Re: [Spice-devel] Github "spice"

2021-10-19 Thread Frediano Ziglio
Hi, "spice" project is maintained by different people, some independent, some working for different companies. 70$ won't change the life of most people, much less a project supported by multiple international companies. It would be more the effort trying to split the money. Regards, Frediano

Re: [Spice-devel] spice protocol 11.5 encrypted password

2021-09-19 Thread Frediano Ziglio
inal-service-manager > > I already have a working vnc and rdp protocols implemented, and I'm > going to add spice protocol.. > > 2021-09-10 10:06 GMT, Frediano Ziglio : > > Hi, > > there's no protocol 11.5. > > There's no data length markeR, passwo

Re: [Spice-devel] spice protocol 11.5 encrypted password

2021-09-10 Thread Frediano Ziglio
Hi, there's no protocol 11.5. There's no data length markeR, password is zero terminated and encrypted, if you refer to the default password schema (no SASL). Can you explain what you are trying to do? Regards, Frediano Il giorno ven 10 set 2021 alle ore 06:51 Andrey Af ha scritto: > Hi, >

Re: [Spice-devel] Has SPICE devlopment stopped?

2021-09-09 Thread Frediano Ziglio
Hi, Red Hat decided to cut the investments for Linux desktop in general and move more in the cloud. As far as SPICE in Red Hat the team was shrunk and the effort is only maintenance. This does not mean that it cannot progress on the open source side although surely is slowing down. Regards, Fr

Re: [Spice-devel] winspice: a windows spice server similar to x11spice

2021-08-05 Thread Frediano Ziglio
Hi, Il giorno lun 2 ago 2021 alle ore 15:22 Dunrong Huang ha scritto: > Hi Frediano, thanks for you reply > > On Mon, Aug 2, 2021 at 8:14 PM Frediano Ziglio wrote: > >> Il giorno dom 1 ago 2021 alle ore 16:07 Dunrong Huang < >> riegama...@gmail.com> ha

Re: [Spice-devel] winspice: a windows spice server similar to x11spice

2021-08-02 Thread Frediano Ziglio
Il giorno dom 1 ago 2021 alle ore 16:07 Dunrong Huang ha scritto: > Hello everyone, > > Hi Dunrong, Inspired by x11spice, i developed winspice, which provides windows remote > desktop access using the spice protocol. > > It sounds great! The source code is here: > https://github.com/mathslinu

Re: [Spice-devel] License and Payment Required?

2021-06-16 Thread Frediano Ziglio
Il giorno gio 17 giu 2021 alle ore 06:35 Shawn O. Eary ha scritto: > I just created a Windows 10 Guest for QEMU\KVM on a Debian 10 host and > unfortunately copy/paste doesn't work. > > Do I have to pay a fee to use your tools at? > https://www.spice-space.org/download.html > > My employer will no

[Spice-devel] ANNOUNCE spice-server 0.15 release

2021-04-19 Thread Frediano Ziglio
Hey everyone, I just cut a new release in the 0.15.x stable series, so upgrading to it is recommended. If you find any bugs or regressions, please report them in our issue tracker: https://gitlab.freedesktop.org/groups/spice/-/issues. See also https://gitlab.freedesktop.org/spice/spice/-/tags/v0.1

Re: [Spice-devel] [PATCH 2/3] red-stream: add missing include

2021-04-17 Thread Frediano Ziglio
Il giorno sab 17 apr 2021 alle ore 09:52 Roman Bogorodskiy ha scritto: > > On FreeBSD, netinet/in.h needs to be included to use IPPROTO_TCP. > > Signed-off-by: Roman Bogorodskiy > --- > server/red-stream.cpp | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/server/red-stream.cpp b/server/

Re: [Spice-devel] [PATCH 1/3] build-sys: more version related fixups

2021-04-17 Thread Frediano Ziglio
Il giorno sab 17 apr 2021 alle ore 09:52 Roman Bogorodskiy ha scritto: > > - Drop "-dirty" suffix before processing version info > - Don't fail on versions without 'minor' specified (e.g. v0.15) This is due to my fault, I didn't realize that version tags must contain the micro version, even if 0.

Re: [Spice-devel] Helping with development...

2021-04-10 Thread Frediano Ziglio
Il giorno mer 7 apr 2021 alle ore 20:49 Bob Britton ha scritto: > > Hi Spice team, > > Thank you for all your hard work creating Spice. > > I'm running a company where I provide virtual desktops to my > customers. Most of my customers want their virtual desktops to have > hardware GPU accelera

Re: [Spice-devel] Qemu with Spice support on Windows10 host: a report

2021-03-24 Thread Frediano Ziglio
Il giorno mar 23 mar 2021 alle ore 20:33 Helge Konetzka ha scritto: > > Hello! > > Please excuse my english - I am no natural speaker! > > Thank you very much for providing spice! I use it in my daily work on a > qemu/kvm debian host. > > I am trying to run my debian qemu setup on windows10. > For

Re: [Spice-devel] Is the data after USB camera redirection compressed?

2021-02-04 Thread Frediano Ziglio
Il giorno gio 4 feb 2021 alle ore 12:56 lx ha scritto: > > > > Uri Lublin 于2021年2月2日周二 下午10:32写道: >> >> On 2/2/21 2:50 PM, lx wrote: >> > >> > >> > Uri Lublin mailto:u...@redhat.com>> 于2021年1月31日周 >> > 日 下午9:48写道: >&

Re: [Spice-devel] Is the data after USB camera redirection compressed?

2021-02-02 Thread Frediano Ziglio
Il giorno mar 2 feb 2021 alle ore 12:51 lx ha scritto: > > > > Uri Lublin 于2021年1月31日周日 下午9:48写道: >> >> On 1/30/21 1:25 PM, lx wrote: >> > Frediano Ziglio 于2021年1月29日周五 下午6:39写道: >> > >> >> Il giorno gio 28 gen 2021 alle ore 01:45 lx ha &g

Re: [Spice-devel] Activate the spice console password when vm is on

2021-01-29 Thread Frediano Ziglio
Il giorno gio 28 gen 2021 alle ore 07:18 alireza kahdoyee < alireza.kahdo...@hotmail.com> ha scritto: > Hello to all > > Dear friends, is it possible to activate and set a password for its spice > console when vm is on? > > thank you 🙂 > Hi, I think so, it's the way RHV works, it sets a passwor

Re: [Spice-devel] Is the data after USB camera redirection compressed?

2021-01-29 Thread Frediano Ziglio
Il giorno gio 28 gen 2021 alle ore 01:45 lx ha scritto: > > > Uri Lublin 于2021年1月27日周三 下午11:47写道: >> >> On 1/27/21 4:22 AM, lx wrote: >> > Hi all: >> > If I redirect USB camera to virtual machine, I think we send >> > original URB to virtual machine by USB channel. >> > Is this understand

Re: [Spice-devel] [spice-devel]Sounds abnormal

2021-01-28 Thread Frediano Ziglio
Il giorno gio 28 gen 2021 alle ore 06:28 lx ha scritto: > > Hi: >I play audio in the virtual machine, and the local sound sounds abnormal. > How to debug it ? > Enabling messages is a good way to start debugging. But what do you mean by abnormal? Have glitches? Interruptions? Different frequ

Re: [Spice-devel] Hi,GL acceleration (virgl) Can use it on windons?

2021-01-12 Thread Frediano Ziglio
Hi, I suppose by windons you mean Windows. This requires Windows drivers for 3d virtio-vga which is not currently planned. Regards, Frediano Il giorno gio 7 gen 2021 alle ore 07:40 刘玉雪(yu xue Liu) ha scritto: > > Hi, >3D graphics acceleration using virgl and local spice is Features Can

Re: [Spice-devel] Experimental OSX Client

2021-01-08 Thread Frediano Ziglio
Hi Domingo, did you try to compile it manually from sources? Regards, Frediano Il giorno ven 8 gen 2021 alle ore 11:23 Domingo Ruiz Arroyo ha scritto: > > Hi. The experimental client for os x has stopped working in macOS Big Sur, > when in the other versions it worked correctly. While this

Re: [Spice-devel] remote-viewer disconnected when unplugging laptop from dock and switching to WIFI network.

2020-12-28 Thread Frediano Ziglio
Il giorno sab 26 dic 2020 alle ore 17:50 ha scritto: > > I have installed virt-viewer 9.0 on a Windows laptop and use it to connect to > virtual machines in a remote Proxmox VE server. I noticed when I unplugging > the laptop from docking station (where it is connected through a network > cable

Re: [Spice-devel] TLS + Letsencrypt doesn't work on Windows

2020-12-15 Thread Frediano Ziglio
Il giorno mar 15 dic 2020 alle ore 11:45 Armin Ranjbar ha scritto: > > Dear Everyone, > > As always, let me thank you first for the effort you put in Spice. > > I have a strange case here, libvirt is configured with letsencrypt > certificates, remote-viewer works happily on Linux, but it doesn't

Re: [Spice-devel] Can the latest MacBook with M1 chip use this spice software

2020-12-06 Thread Frediano Ziglio
Il giorno dom 6 dic 2020 alle ore 16:52 友人七分 <2291177...@qq.com> ha scritto: > > Can the latest MacBook with M1 chip use this spice software Hi, are you considering the server or client part? The issue could be more the Mac than the M1, the code is pretty portable but Mac is not officially suppo

Re: [Spice-devel] about printer and scanner redirection

2020-12-03 Thread Frediano Ziglio
Il giorno mer 2 dic 2020 alle ore 15:20 ha scritto: > > Hello. > > we are planning to use ovirt in our company using spice protocol. > > successfully tested usb forwarding to virtual desktop. > > we have a question, how can we forward a printer and a scanner to a virtual > desktop, which are conn

Re: [Spice-devel] [PATCH] desktop_layout: ignore unconnected video devices

2020-11-03 Thread Frediano Ziglio
> > Currently, the Windows agent does not function properly if it detects a > non-QXL video adapter connected to the guest. See: > >https://gitlab.freedesktop.org/spice/win32/vd_agent/-/issues/15 >https://gitlab.freedesktop.org/spice/win32/vd_agent/-/issues/13 > > This is true even when

Re: [Spice-devel] [PATCH vd_agent_linux 10/10] Add a test for session_info

2020-11-03 Thread Frediano Ziglio
Hi, this is currently failing on Gitlab CI, I suppose due to the fact that is run inside a container (potentially not in a user session). Frediano > > Test from Uri, integrated in test suite. > > Signed-off-by: Uri Lublin > Signed-off-by: Frediano Ziglio >

Re: [Spice-devel] [PATCH vd_agent_linux 01/10] vdagentd: Avoid calling chmod

2020-11-03 Thread Frediano Ziglio
This entire series has been already reviewed and merged as part of security audit from SUSE security team. Note that the classifications are Low/Medium. Distributions should already have patches/packages. Regards, Frediano Ziglio > > Create the socket with the right permissions using

[Spice-devel] [PATCH vd_agent_linux 07/10] vdagentd: Limit number of agents per session to 1

2020-11-03 Thread Frediano Ziglio
From: Frediano Ziglio Signed-off-by: Frediano Ziglio Acked-by: Uri Lublin --- src/vdagentd/vdagentd.c | 24 1 file changed, 24 insertions(+) diff --git a/src/vdagentd/vdagentd.c b/src/vdagentd/vdagentd.c index 59aa523..92885b5 100644 --- a/src/vdagentd/vdagentd.c

[Spice-devel] [PATCH vd_agent_linux 10/10] Add a test for session_info

2020-11-03 Thread Frediano Ziglio
From: Frediano Ziglio Test from Uri, integrated in test suite. Signed-off-by: Uri Lublin Signed-off-by: Frediano Ziglio --- Makefile.am | 30 tests/test-session-info.c | 58 +++ 2 files changed, 88 insertions(+) create

[Spice-devel] [PATCH vd_agent_linux 06/10] Better check for sessions

2020-11-03 Thread Frediano Ziglio
From: Frediano Ziglio Do not allow other users to hijack a session checking that the process is launched by the owner of the session. Signed-off-by: Frediano Ziglio Acked-by: Uri Lublin --- src/vdagentd/console-kit.c| 67 +++ src/vdagentd/dummy-session

[Spice-devel] [PATCH vd_agent_linux 05/10] Avoids user session hijacking

2020-11-03 Thread Frediano Ziglio
From: Frediano Ziglio Avoids user hijacking sessions by reusing PID. In theory an attacker could: - open a connection to the daemon; - fork and exit the process but keep the file descriptor open (inheriting or duplicating it in forked process); - force OS to recycle the initial PID, by

[Spice-devel] [PATCH vd_agent_linux 02/10] Avoids unchecked file transfer IDs allocation and usage

2020-11-03 Thread Frediano Ziglio
From: Frediano Ziglio Avoid agents allocating file transfers. The "active_xfers" entries are now inserted when client start sending files. Also different agents cannot mess with other agent transfers as a transfer is bound to a single agent. This issue was reported by SUSE sec

[Spice-devel] [PATCH vd_agent_linux 08/10] cleanup active_xfers when the client disconnects

2020-11-03 Thread Frediano Ziglio
From: Uri Lublin Signed-off-by: Uri Lublin Acked-by: Frediano Ziglio --- src/vdagentd/vdagentd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vdagentd/vdagentd.c b/src/vdagentd/vdagentd.c index 92885b5..8437779 100644 --- a/src/vdagentd/vdagentd.c +++ b/src/vdagentd/vdagentd.c

[Spice-devel] [PATCH vd_agent_linux 09/10] vdagentd: do not allow to use an already used file-xfer id

2020-11-03 Thread Frediano Ziglio
From: Uri Lublin Signed-off-by: Uri Lublin Acked-by: Frediano Ziglio --- src/vdagentd/vdagentd.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/vdagentd/vdagentd.c b/src/vdagentd/vdagentd.c index 8437779..78378aa 100644 --- a/src/vdagentd/vdagentd.c +++ b/src/vdagentd

[Spice-devel] [PATCH vd_agent_linux 01/10] vdagentd: Avoid calling chmod

2020-11-03 Thread Frediano Ziglio
From: Frediano Ziglio Create the socket with the right permissions using umask. This also prevents possible symlink exploitation in case socket path is not secure. Signed-off-by: Frediano Ziglio Acked-by: Uri Lublin --- src/vdagentd/vdagentd.c | 12 ++-- 1 file changed, 2 insertions

[Spice-devel] [PATCH vd_agent_linux 03/10] Avoids uncontrolled "active_xfers" allocations

2020-11-03 Thread Frediano Ziglio
From: Frediano Ziglio Limit the number of active file transfers possibly causing DoSes consuming memory in "active_xfers". This issue was reported by SUSE security team. Signed-off-by: Frediano Ziglio Acked-by: Uri Lublin --- src/vdagentd/vdagentd.c | 23 +

[Spice-devel] [PATCH vd_agent_linux 04/10] Avoids unlimited agent connections

2020-11-03 Thread Frediano Ziglio
From: Frediano Ziglio Limit the number of agents that can be connected. Avoids reaching the maximum number of files in a process. Beside one file descriptor per agent the daemon open just some other fixed number of files. This issue was reported by SUSE security team. Signed-off-by: Frediano

Re: [Spice-devel] How to build Windows vdagent?

2020-10-29 Thread Frediano Ziglio
> > Following up on my earlier thread re the agent's incompatibility with > "mixed" (QXL + passthrough) configurations. I'd like to take a crack > at this issue, but I've been unable to find any instructions for > building the Windows vdagent. > > Can anyone point me to the instructions? > > Th

[Spice-devel] ANNOUNCE spice-server 0.14.91 release candidate

2020-10-28 Thread Frediano Ziglio
Hey everyone, I just cut a new release candidate in the 0.14.x stable series. If you find any bugs or regressions, please report them in our issue tracker: https://gitlab.freedesktop.org/groups/spice/-/issues. See also https://gitlab.freedesktop.org/spice/spice/-/tags/v0.14.91. Major Changes in 0

Re: [Spice-devel] how to get surface screen-shot in spice-server

2020-10-26 Thread Frediano Ziglio
> Hi, spice gurus: > I am a spice developer in my company which devle with desktop cloud > computing. > In spice-0.12.4 we can get surface screen-shot in red_worker.c by adding this > line in red_process_commands(): > surface_flush(worker, surface_id, &rect); > Function surface_flush flush undraw i

[Spice-devel] [PATCH spice-common 6/6] test-quic: Add test cases for quic fuzzer

2020-10-06 Thread Frediano Ziglio
From: Frediano Ziglio To use for start for the fuzzer. Tests have been generated with a patch like: diff --git a/tests/test-quic.c b/tests/test-quic.c --- a/tests/test-quic.c +++ b/tests/test-quic.c @@ -372,8 +372,8 @@ static void pixbuf_compare(GdkPixbuf

[Spice-devel] [PATCH spice-common 3/6] quic: Check RLE lengths

2020-10-06 Thread Frediano Ziglio
From: Frediano Ziglio Avoid buffer overflows decoding images. On compression we compute lengths till end of line so it won't cause regressions. Proved by fuzzing the code. Signed-off-by: Frediano Ziglio Acked-by: Uri Lublin --- common/quic_tmpl.c | 6 +- 1 file changed, 5 inser

[Spice-devel] [PATCH spice-common 5/6] test-quic: Add fuzzer capabilities to the test

2020-10-06 Thread Frediano Ziglio
From: Frediano Ziglio Allows it to be used for fuzzying compressed images. Signed-off-by: Frediano Ziglio Acked-by: Uri Lublin --- tests/test-quic.c | 51 ++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/tests/test-quic.c b/tests

[Spice-devel] [PATCH spice-common 0/6] Multiple buffer overflow vulnerabilities in QUIC decoding code

2020-10-06 Thread Frediano Ziglio
From: Frediano Ziglio The patches on this series are addressing CVE-2020-14355. Multiple buffer overflow vulnerabilities were found in the QUIC image decoding process of the SPICE remote display system. More specifically, these flaws reside in the spice-common shared code between the client and

[Spice-devel] [PATCH spice-common 4/6] quic: Avoid possible buffer overflow in find_bucket

2020-10-06 Thread Frediano Ziglio
From: Frediano Ziglio Proved by fuzzing the code. Signed-off-by: Frediano Ziglio Acked-by: Uri Lublin --- common/quic_family_tmpl.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/common/quic_family_tmpl.c b/common/quic_family_tmpl.c index 8a5f7d2..6cc051b 100644

[Spice-devel] [PATCH spice-common 1/6] quic: Check we have some data to start decoding quic image

2020-10-06 Thread Frediano Ziglio
From: Frediano Ziglio All paths already pass some data to quic_decode_begin but for the test check it, it's not that expensive test. Checking for not 0 is enough, all other words will potentially be read calling more_io_words but we need one to avoid a potential initial buffer overfl

[Spice-devel] [PATCH spice-common 2/6] quic: Check image size in quic_decode_begin

2020-10-06 Thread Frediano Ziglio
From: Frediano Ziglio Avoid some overflow in code due to images too big or negative numbers. Signed-off-by: Frediano Ziglio Acked-by: Uri Lublin --- common/quic.c | 13 + 1 file changed, 13 insertions(+) diff --git a/common/quic.c b/common/quic.c index bc753ca..6815316 100644

Re: [Spice-devel] ANNOUNCE spice-protocol 0.14.3 release

2020-10-01 Thread Frediano Ziglio
Thanks to Victor Toso for the support for this release. Frediano > > Hey everyone, > > I just cut a new small release. > If you find any bugs or regressions, please report them in our issue > tracker: https://gitlab.freedesktop.org/spice/spice-protocol/-/issues. > See also https://gitlab.freede

[Spice-devel] ANNOUNCE spice-protocol 0.14.3 release

2020-10-01 Thread Frediano Ziglio
Hey everyone, I just cut a new small release. If you find any bugs or regressions, please report them in our issue tracker: https://gitlab.freedesktop.org/spice/spice-protocol/-/issues. See also https://gitlab.freedesktop.org/spice/spice-protocol/-/tags/v0.14.3. Major changes in 0.14.3 ==

Re: [Spice-devel] [PATCH v2 5/6] spice: get monitors physical dimension

2020-09-25 Thread Frediano Ziglio
> > From: Marc-André Lureau > > Note that for consistency, we use the same logic as MonitorsConfig to > figure out the associated monitor. However, I can't find traces of the > discussion/patches about the "new spice-server" behaviour: it still uses > the multiple-configurations path in git mast

Re: [Spice-devel] Windows 10 VDAgent incompatible with "hidden" KVM?

2020-09-25 Thread Frediano Ziglio
> > On 9/25/20 9:47 AM, Ian Pilcher wrote: > > On 9/25/20 2:34 AM, Frediano Ziglio wrote: > > > >> Can you post the agent logs when it's not working? > > > > Where are the agent logs stored? > > > > Found 'em. > > Her

Re: [Spice-devel] Windows 10 VDAgent incompatible with "hidden" KVM?

2020-09-25 Thread Frediano Ziglio
> > I'm in the process of setting up a Windows 10 (x64) VM with an NVIDIA > Quadro P1000 GPU (using PCI passthrough). The GPU will be used only for > video processing, so it has no displays connected, and access to the > VM's user interface is via RDP or (preferably) SPICE. > > I have everything

Re: [Spice-devel] [Spice-commits] 6 commits - meson.build src/map-file src/spice-glib-sym-file src/spice-gtk-session.c src/spice-session.c src/spice-session.h src/spice-session-priv.h

2020-09-09 Thread Frediano Ziglio
> Hi > On Wed, Sep 9, 2020 at 6:45 PM Jakub Janku < jja...@redhat.com > wrote: > > On Wed, Sep 9, 2020 at 4:36 PM Frediano Ziglio < fzig...@redhat.com > > > wrote: > > > > > > > > > On Wed, Sep 9, 2020 at 4:1

Re: [Spice-devel] [Spice-commits] 6 commits - meson.build src/map-file src/spice-glib-sym-file src/spice-gtk-session.c src/spice-session.c src/spice-session.h src/spice-session-priv.h

2020-09-09 Thread Frediano Ziglio
> On Wed, Sep 9, 2020 at 4:16 PM Frediano Ziglio wrote: > > > > > > commit 4b9092b96b8da946ff3d17922b0fcf225c5dc81f > > > > > > > Author: Jakub Janků < jja...@redhat.com > > > > > > > > Date: Sat May 23 16:28:52 2020 +0200 >

Re: [Spice-devel] [Spice-commits] 6 commits - meson.build src/map-file src/spice-glib-sym-file src/spice-gtk-session.c src/spice-session.c src/spice-session.h src/spice-session-priv.h

2020-09-09 Thread Frediano Ziglio
> > commit 4b9092b96b8da946ff3d17922b0fcf225c5dc81f > > > Author: Jakub Janků < jja...@redhat.com > > > > Date: Sat May 23 16:28:52 2020 +0200 > > > session: make spice_session_get_webdav_server() public > > > It will be necessary to access the webdav server from spice-gtk-session.c > > > wh

Re: [Spice-devel] Is it a possible memory leak (spice-gtk/src/channel-display.c)?

2020-09-09 Thread Frediano Ziglio
> Hi all, for the latest commit in 'spice-gtk/src/channel-display.c', in the > static function > 'create_canvas', the first returning point (line 997) and the 'if > (surface->primary)' (line 1036) > is not taken then the second returning point, the allocated memory for > surface would be lost. > A

Re: [Spice-devel] Shared Playback with simultaneous clients connection

2020-09-05 Thread Frediano Ziglio
> Hello, > I am a college student working on my senior project for Vermont Technical > College. My little team hoped to use, the kimchi/wok environment to create a > collaborative web browsing service. I have used the proper settings to allow > for multiple users to use the same VM. But I have noti

<    1   2   3   4   5   6   7   8   9   10   >