[Spice-devel] spice configuration - problem with connection

Daniel Parnak parnakd at iem.pw.edu.pl
Mon Feb 13 03:25:18 PST 2012


# /home/liveuser/.spicec/spicec.log

1329134774 INFO [2196:2196] Application::main: starting 0.10.1
1329134774 INFO [2196:2196] Application::main: command line: spicec -h
192.168.163.179 -p 5930
1329134774 INFO [2196:2196] init_key_map: using evdev mapping
1329134774 INFO [2196:2196] MultyMonScreen::MultyMonScreen: platform_win:
52428801
1329134774 INFO [2196:2196] GUI::GUI:
1329134775 INFO [2196:2196] ForeignMenu::ForeignMenu: Creating a foreign
menu connection /tmp/SpiceForeignMenu-2196.uds
1329134775 INFO [2196:2197] RedPeer::connect_to_peer: Connect failed: No
route to host (113)
1329134775 WARN [2196:2197] RedChannel::run: failed to connect: No route to
host (113)
1329134775 INFO [2196:2196] main: Spice client terminated (exitcode = 3)
1329134778 INFO [2199:2199] Application::main: starting 0.10.1
1329134778 INFO [2199:2199] Application::main: command line: spicec -h
192.168.163.179 -p 5930
1329134778 INFO [2199:2199] init_key_map: using evdev mapping
1329134778 INFO [2199:2199] MultyMonScreen::MultyMonScreen: platform_win:
52428801
1329134778 INFO [2199:2199] GUI::GUI:
1329134778 INFO [2199:2199] ForeignMenu::ForeignMenu: Creating a foreign
menu connection /tmp/SpiceForeignMenu-2199.uds
1329134778 INFO [2199:2200] RedPeer::connect_to_peer: Connect failed: No
route to host (113)
1329134778 WARN [2199:2200] RedChannel::run: failed to connect: No route to
host (113)
1329134778 INFO [2199:2199] main: Spice client terminated (exitcode = 3)

# I've installed qemu-kvm but when I try to run qemu-kvm shows this:

Could not access KVM kernel module: No such file or directory
failed to initialize KVM: No such file or directory
No accelerator found!

# How is qemu connected to hosts network?



2012/2/13 Yonit Halperin <yhalperi at redhat.com>

> 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<Spice-devel at lists.freedesktop.org>
>> >
>>        http://lists.freedesktop.org/_**_mailman/listinfo/spice-devel<http://lists.freedesktop.org/__mailman/listinfo/spice-devel>
>>        <http://lists.freedesktop.org/**mailman/listinfo/spice-devel<http://lists.freedesktop.org/mailman/listinfo/spice-devel>
>> >
>>
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120213/2bf535b5/attachment.htm>


More information about the Spice-devel mailing list