Dear Mr,

Please disregard my previous email as I finally found the answer:

//usr/bin/virt-viewer -w --spice-shared-dir=/home/user VM/

If you don't mind, I have one remaining question: is it possible to enable folder sharing by default, so that we don't have to go to the File" → "Preferences" menu of virt-viewer to enable it each time we start the VM?

Again, thank you very much for your work and your help.

Have a very nice day,

Best regards,

Frantz Honegger

Le 20/10/2022 à 19:19, Frantz Honegger a écrit :

Dear Mr,

Thank you very much for your time.

Could you please provide me with additional information about the necessary settings to modify the spice-webdav default shared directory (the directory is ~/Public by default, but I would like it to be /home/user for example).

I did a lot of research on the net but could only find the below information from https://github.com/lofyer/spice-webdav :

*/In your virt-viewer client/*/
//
//The Spice client can share a folder with the remote guest. By default folder sharing is disabled. Use the remote-viewer "File" → "Preferences" menu to enable it. The default shared directory is the XDG Public Share directory (ie ~/Public if you use a regular system). You may specify a different folder with --spice-share-dir client option./

The problem is that I don't know where the "--spice-share-dir client option" should be set (I am using virt-viewer). Could you please provide me with a concrete example or more information?

Thank you very much for your work and your help.

Have a very nice day,

Best regards,

Frantz Honegger

Reply via email to