Re: spice: connection refused

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

 




----- Original Message -----
> From: "Sean Darcy" <seandarcy2@xxxxxxxxx>
> To: spice-devel@xxxxxxxxxxxxxxxxxxxxx
> Sent: Sunday, February 16, 2014 8:50:19 PM
> Subject: Re:  spice: connection refused
> 
> On 02/16/2014 12:10 PM, Sean Darcy wrote:
> > I'm trying to connect to a windows guest on an Fedora 19 host from a
> > Fedora 19 client.
> >
> > remote-viewer spice://10.10.11.100:5972
> >
> > (remote-viewer:19994): GSpice-WARNING **: Could not connect to
> > 10.10.11.100: Connection refused
> >
> > virt-viewer-0.5.6-1.fc19.x86_64
> >
> > xml for the guest has:
> >
> > <graphics type='spice' port='5972' autoport='no'/>
> >
> > Not sure how you troubleshoot this. I can ssh into the host, and connect
> > to the guest with vnc.
> >
> > On the F19 host:
> >
> > qemu-1.6.1-2.fc19.x86_64
> > rpm -qa | grep spice | sort
> > spice-glib-0.20-6.fc19.x86_64
> > spice-glib-devel-0.20-6.fc19.x86_64
> > spice-gtk-0.20-6.fc19.x86_64
> > spice-gtk3-0.20-6.fc19.x86_64
> > spice-gtk3-devel-0.20-6.fc19.x86_64
> > spice-gtk-devel-0.20-6.fc19.x86_64
> > spice-gtk-python-0.20-6.fc19.x86_64
> > spice-gtk-tools-0.20-6.fc19.x86_64
> > spice-parent-15-9.fc19.noarch
> > spice-protocol-0.12.6-1.fc19.noarch
> > spice-server-0.12.4-3.fc19.x86_64
> > spice-vdagent-0.14.0-5.fc19.x86_64
> > spice-xpi-2.8-3.fc19.x86_64
> >
> > On the Windows 2008R2 guest:
> >
> > virtio-win-0.1-74.iso
> > spice guest tools 0.74
> >
> > Any help appreciated.
> >
> > sean
> >
> On F19 host:
> libvirt-1.1.3.2-1.fc19.x86_64
> 
> 
> And from the log file on the host:
> 
> -spice port=5972,addr=127.0.0.1,disable-ticketing,seamless-migration=on

You specified the spice server to be binded only on localhost:5972 (the option addr=127.0.0.1) but you are trying to connect to 10.10.11.100:5972, so If you use only localhost connection (the host and client is the same machine) try - "remote-viewer spice://localhost:5972" otherwise specify correct IP address for your spice server to be binded on, try to edit the domain xml to something like:
<graphics type='spice' port='5972' autoport='no'/>
      <listen type='address' address='10.10.11.100'/>
</graphics>
and then "remote-viewer spice://10.10.11.100:5972"
You can use address 0.0.0.0 as wildcard for all interfaces.

> 
> sean
> 
> _______________________________________________
> 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]