[Spice-devel] spice configuration - problem with connection

Yonit Halperin yhalperi at redhat.com
Sat Feb 11 22:42:10 PST 2012


On 02/11/2012 01:29 PM, Daniel Parnak wrote:
> Hello,
>
> I want to test spice on my virtual machines but I have problem.
> I create 2 virtual machines (one for server, one for client) on VMware
> Workstation 8 and I run on them Fedora-16-x86_64-Live-Desktop.
>
> # On server I do:
> yum -y install qemu-kvm libvirt python-virtinst bridge-utils
> systemctl start libvirtd.service
> chkconfig libvirtd on
> yum -y install spice-server spice-protocol
> qemu-img create /tmp/fedora.qcow 8G
> qemu -cdrom /dev/cdrom -hda /tmp/fedora.qcow -boot d -net nic -net user
> -m 1024
>
> # Then after run virtual machine I start spice
> qemu -spice port=5930
Hi, you should add the "-spice <spice-params>" at the same command you 
run the vm. No need for 2 different `qemu` runs.
In addition, you probably also want to add to spice-params 
",disable-ticketing" and to qemu params -vga qxl.
>
> # On client's machine I install spice client
> yum -y install spice-client spice-protocol
> spicec -h 192.168.163.128 -p 5930
>
> And I receive warning:
> failed to connect: no route to host (113)
>
> I can ping server and host. Tcpdump shows that when I want to connect
> via spicec packages are sent, and host receive it.
>
> What is wrong? And how can I resolve this problem?
>
> Greetings,
> Daniel
>
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel



More information about the Spice-devel mailing list