Hi Frediano. Thank you for the reply. Yes it's good to have a way to 
distinguish the 2 cases. This is the log when I change the laptop's network 
from lan to wifi. Can we distinguish the case from the log? Or could I submit a 
feature request to distinguish the two cases?

```C:\Windows\system32>"C:\Program Files\VirtViewer 
v9.0-256\bin\remote-viewer.exe" "C:\Users\XXX\Downloads\download.vv" 

C:\Windows\system32>
(remote-viewer.exe:11576): GLib-GObject-WARNING **: 23:23:24.702: 
g_object_get_is_valid_property: object class 'GstAutoAudioSink' has no property 
named 'volume'

(remote-viewer.exe:11576): GLib-GObject-WARNING **: 23:23:24.711: 
g_object_get_is_valid_property: object class 'GstAutoAudioSrc' has no property 
named 'volume'

(remote-viewer.exe:11576): GSpice-WARNING **: 23:23:25.261: Warning no 
automount-inhibiting implementation available

(remote-viewer.exe:11576): GSpice-WARNING **: 23:23:33.246: Error receiving 
data: An existing connection was forcibly closed by the remote host.

(remote-viewer.exe:11576): GSpice-WARNING **: 23:23:33.247: Error receiving 
data: An existing connection was forcibly closed by the remote host.

(remote-viewer.exe:11576): GSpice-WARNING **: 23:23:33.247: Error receiving 
data: An existing connection was forcibly closed by the remote host.

(remote-viewer.exe:11576): GSpice-WARNING **: 23:23:33.248: Error receiving 
data: An existing connection was forcibly closed by the remote host.


C:\Windows\system32>
```

Dec 28, 2020, 18:22 by fredd...@gmail.com:

> Il giorno sab 26 dic 2020 alle ore 17:50 <git...@tuta.io> 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), and switching to WIFI network, the virt-viewer window will 
>> disappear. I assume the virt-viewer is not making attempts to reconnect when 
>> network get lost.
>>
>> I noticed when I clicked the console button on the Proxmox VE server, it 
>> actually download a download.vv file. When I click the download.vv file it 
>> actually uses the remote-viewer.exe to open it. There seems no option in the 
>> download.vv file or remote-viewer.exe that can configure the retry attempts.
>>
>> So can we add a feature to the remote-viewer.exe to make it retry for some 
>> attempts? Just like the Windows RDP when disconnected, it will show "The 
>> connection has been lost. Attempting to reconnect to your session, 
>> Connection attempt: 1 of 20". (Example picture here: 
>> https://social.technet.microsoft.com/Forums/azure/en-US/7c0cc2f3-0378-4f98-a2e7-d23a3925df2c/configure-unlimited-number-of-attempts-on-the-client-to-reconnect-the-host-via-remote-desktop
>>  )
>>
>
> Hi,
>  one of the issues I see here is that usually Spice uses a token and
> not a password.
> The difference is that the password expires, so the reconnection would
> fail as the password is expired.
> If is not the case it would be doable however better to have a way to
> distinguish the 2 cases otherwise
> the client will attempt again and again.
>
> Frediano
>

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

Reply via email to