[Spice-devel] How to use spice floder sharing

Victor Toso victortoso at redhat.com
Wed Dec 19 10:49:26 UTC 2018


Hi,

On Wed, Dec 19, 2018 at 10:06:53AM +0800, wangjiedong wrote:
> Actually there are 2 questions.

> Firstly , on Windows 7 vm i can install
> spice-webdavd-x64-2.2.msi and no error , but the service
> spice-webdavd in TASK MANAGER allways stop although rebooting
> vm.

So, you are able to install without issues but it doesn't start?

> Then, on Linux vm , I can install spice-webdavd and also can
> find Spice client folder icon on files network places, but when
> i click the icon , it faild with "HTTP ERROR : Invalid URI
>http://[[fe80::f816:3eff:fe50:633b]]:9843/’", in fact
> fe80::f816:3eff:fe50:633b is inet6 address of NIC.

Weird, should be ipv4 address.

1) Which Linux VM is it?

2) In your Linux VM, can you go to the browser and access
127.0.0.1:9843/ ?

> If you resolved these questions, please help me, thanks

I just tried in Fedora 28 VM and test (2) above worked while
Nautilus gave me an error "HTTP Error: Error resolving
"linux.local": Name or service not known"

Also got an abort from gvfs :(

So, something changed in Linux guests.

Tested here on a fresh windows 7 box. For some reason it didn't
worked out of box either, I had to go to task manager, shutdown
the process and start it over; After I did that, when I enabled
shared-folder option in remote-viewer, Windows 7 mounted my
'Public' shared folder in the guest as Z:

I also verify that I can access the shared folder in the browser
with http://127.0.0.1:9843/

Cheers,

> ------------------ Original ------------------
> From:  "Victor Toso"<victortoso at redhat.com>;
> Date:  Fri, Dec 14, 2018 05:29 PM
> To:  "wangjiedong"<wangjiedong at kylinos.cn>; 
> Cc:  "spice-devel"<spice-devel at lists.freedesktop.org>; 
> Subject:  Re: [Spice-devel]  How to use spice floder sharing
> 
>  
> Hi,
> 
> On Fri, Dec 14, 2018 at 10:42:11AM +0800, wangjiedong wrote:
> > I followed the way to configure Floder sharing on
> > https://www.spice-space.org/spice-user-manual.html
> >
> > The configuration of vm XML is ok , but on Windows 7 vm the
> > spice-webdavd service's status is allways stopped after
> > installing spice-webdavd-x64-2.2.msi, so i can never choose a
> > floder with virt-viewer-6.0
> 
> > on Linux vm, i compiled phodav with
> > https://gitlab.gnome.org/GNOME/phodav ,with the command
> > spice-webdavd -p 8493 ok , i can only download doc with
> > http://127.0.0.1:8493 , i can't upload from vm to client.
> > 
> > Actually i can't use Floder sharing correctly
> > Hope for help , thanks !
> 
> You want to use shared folders in windows but you can't install
> spice-webdavd-x64-2.2.msi, is that correct? What errors do you
> see?
> 
> It should be similar to linux guest, it'll mount a D:\E:\F:
> network partition that you can use.
> 
> Cheers,
> Victor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20181219/050c4bd2/attachment-0001.sig>


More information about the Spice-devel mailing list