Re: Mouse failure happens when mouse hovers on some Apps like Kaspersky Anti-virus tool.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arnon,

I tried "//ret = _running = false"earlier and noticed vdagent was not stopped but had seen mouse tracking offset issue.
I can't stop VDService because VDAgent functionality is mandatory.

As Yaniv suggestion, will it be possible keep running VDAgent and keeping server mode for such apps?
Do you have any other ideas to fix this?

Thanks\Naga.


From: Yaniv Kaul <ykaul@xxxxxxxxxx>
To: Arnon Gilboa <agilboa@xxxxxxxxxx>
Cc: spice-devel@xxxxxxxxxxxxxxxxxxxxx; Naga Mohan Pothula <nagamohan.pothula@xxxxxxxxx>
Sent: Wednesday, August 15, 2012 5:19 AM
Subject: Re: Mouse failure happens when mouse hovers on some Apps like Kaspersky Anti-virus tool.

On 08/15/2012 01:05 PM, Arnon Gilboa wrote:
> Yaniv Kaul wrote:
>> ----- Original Message -----
>>> Hi Naga,
>>>
>>> Tested and reproduced it on Win7.
>>
>> I bet you'd see this in any many personal FW / Antivirus, to prevent a malicious software from manipulating it via the mouse (and disable it, for example).
>>
>> I'd try with ZoneAlarm (http://www.zonealarm.com/security/en-us/zonealarm-pc-security-free-firewall.htm#) for example, which I know has such protection.
>> Y.
> Seems you are right. So the only option we have is (auto)fallback to server mode / usbtablet for such apps?

If you can do it automatically, I guess so.
Y.

>>> I don't have a patch yet for solving it, but you comment out the
>>> line:
>>> //ret = _running = false;
>>> so vdagent won't exit, although mouse will not be effective on such
>>> apps.
>>> If it's a must, meanwhile you can always switch back to server mouse
>>> mode by stopping vdservice.
>>> You can also use usbtablet in case you don't need vdagent
>>> functionality
>>> (multi mon, c&p etc.)
>>> I'll update you when I have a patch ready (currently not top
>>> priority).
>>>
>>> Regards,
>>> Arnon
>>>
>>>
>>>
>>> Naga Mohan Pothula wrote:
>>>> Hi Arnon,
>>>>
>>>> Have you checked installing kaspersky trail version? Here is the
>>>> eror that causes vdagent.exe to be terminated abruptly.
>>>> VDAgent::send_input::SendInput failed: 0
>>>> VDAgent::run::Agent stopped
>>>>
>>>> I've checked integrity level of Kaspersky UI process and it is
>>>> lesser than VDAgent.exe
>>>>
>>>>
>>>> Thanks/Naga.
>>>>
>>>>
>>>> ________________________________
>>>> From: Arnon Gilboa <agilboa@xxxxxxxxxx>fail due to UIPI blocking
>>>> To: Naga Mohan Pothula <nagamohan.pothula@xxxxxxxxx>
>>>> Cc: "spice-devel@xxxxxxxxxxxxxxxxxxxxx"
>>>> <spice-devel@xxxxxxxxxxxxxxxxxxxxx>
>>>> Sent: Sunday, August 5, 2012 9:54 AM
>>>> Subject: Re: Mouse failure happens when mouse hovers
>>>> on some Apps like Kaspersky Anti-virus tool.
>>>>
>>>> Naga Mohan Pothula wrote:
>>>>> Hi,
>>>>>
>>>>> VDAgent in Windows 7 guest gets terminated when mouse hovers on
>>>>> some applications like Kaspersky Anti-virus tool. Noticed
>>>>> SendInput Windows API fails whenever any mouse operation performs
>>>>> on this tool. "handle_mouse_event" method returns with failure
>>>>> due to this and causes VDAgent to terminate.
>>>> what's the error logged in %windir%\temp\vdagent.log? look for
>>>> "SendInput failed: ...")
>>>>> Initially, I thought it is UIPI ie., Process Integrity Level issue
>>>>> and observed as follows:
>>>>> VDService with SYSTEM a/c creates VDAgent with SYTEM a/c
>>>>> Kaspersky tool is service-based app with SYSTEM a/c creates
>>>>> process to handle UI with logged-on user and with 'Medium'
>>>>> Integrity level.
>>>>>
>>>>> Don't understand why SendInput API fails even VDAgent with higher
>>>>> integrity level than Kaspersky tool?
>>>>> Is there any other way to make VDAgent works for all applications
>>>>> installed in windows guest?
>>>> will give it a look and update you accordingly.
>>>>> Thanks\Naga.
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> _______________________________________________
>>>>> Spice-devel mailing list
>>>>> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
>>>>> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>>> _______________________________________________
>>> Spice-devel mailing list
>>> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
>>> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>>>
>



_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]