[Spice-devel] spice configuration - problem with connection

Yonit Halperin yhalperi at redhat.com
Sun Feb 12 22:33:55 PST 2012


On 02/12/2012 11:39 AM, Daniel Parnak wrote:
> 2012/2/12 Yonit Halperin <yhalperi at redhat.com <mailto:yhalperi at redhat.com>>
>
>     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.
>
>
> Thanks, now I do:
>
> qemu -cdrom /tmp/FreeBSD-8.2-RELEASE-i386-disc1.iso -hda
> /tmp/fedora.qcow -boot d -net nic -net user -m 1024 -spice
> port=5930,disable-ticketing -vga qxl
>
> and I receive:
>
> /do_spice_init: starting 0.10.1
> spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
> spice_server_add_interface: SPICE_INTERFACE_MOUSE
> spice_server_add_interface: SPICE_INTERFACE_QXL
> red_worker_main: begin
> display_channel_create: create display channel
> cursor_channel_create: create cursor channel/
>
> vm doesn't start, and I still can't connect from spicec to server
>
Hi,

You can try running qemu-kvm instead of qemu. Please also send the 
client's log file ($home/.spicec/spicec.log)


>
>         # 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
>         <mailto:Spice-devel at lists.freedesktop.org>
>         http://lists.freedesktop.org/__mailman/listinfo/spice-devel
>         <http://lists.freedesktop.org/mailman/listinfo/spice-devel>
>
>
>



More information about the Spice-devel mailing list