nmap 192.168.163.179<br><br>Starting Nmap 5.51 ( <a href="http://nmap.org" target="_blank">http://nmap.org</a> ) at 2012-02-13 09:50 EST<br>Nmap scan report for 192.168.163.179<br>Host is up (0.00024s latency).<br>All 1000 scanned ports on 192.168.163.179 are filtered<br>


MAC Address: 00:0C:29:E7:6B:6F (VMware)<div><br></div><div><br><br>Nmap done: 1 IP address (1 host up) scanned in 5.20 seconds<div><br></div><div><br><img src="cid:ii_135776dd1fb71977" alt="image.png" title="image.png"><br>
or maybe I should conect to 192.168.2.15 ?</div><div><br></div><div><br><div class="gmail_quote">2012/2/13 David Jaša <span dir="ltr">&lt;<a href="mailto:djasa@redhat.com" target="_blank">djasa@redhat.com</a>&gt;</span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Daniel Parnak píše v Po 13. 02. 2012 v 12:25 +0100:<br>
<div><div>&gt; # /home/liveuser/.spicec/spicec.log<br>
&gt;<br>
&gt; 1329134774 INFO [2196:2196] Application::main: starting 0.10.1<br>
&gt; 1329134774 INFO [2196:2196] Application::main: command line: spicec -h<br>
&gt; 192.168.163.179 -p 5930<br>
&gt; 1329134774 INFO [2196:2196] init_key_map: using evdev mapping<br>
&gt; 1329134774 INFO [2196:2196] MultyMonScreen::MultyMonScreen:<br>
&gt; platform_win: 52428801<br>
&gt; 1329134774 INFO [2196:2196] GUI::GUI:<br>
&gt; 1329134775 INFO [2196:2196] ForeignMenu::ForeignMenu: Creating a<br>
&gt; foreign menu connection /tmp/SpiceForeignMenu-2196.uds<br>
&gt; 1329134775 INFO [2196:2197] RedPeer::connect_to_peer: Connect failed:<br>
&gt; No route to host (113)<br>
&gt; 1329134775 WARN [2196:2197] RedChannel::run: failed to connect: No<br>
&gt; route to host (113)<br>
&gt; 1329134775 INFO [2196:2196] main: Spice client terminated (exitcode =<br>
&gt; 3)<br>
&gt; 1329134778 INFO [2199:2199] Application::main: starting 0.10.1<br>
&gt; 1329134778 INFO [2199:2199] Application::main: command line: spicec -h<br>
&gt; 192.168.163.179 -p 5930<br>
&gt; 1329134778 INFO [2199:2199] init_key_map: using evdev mapping<br>
&gt; 1329134778 INFO [2199:2199] MultyMonScreen::MultyMonScreen:<br>
&gt; platform_win: 52428801<br>
&gt; 1329134778 INFO [2199:2199] GUI::GUI:<br>
&gt; 1329134778 INFO [2199:2199] ForeignMenu::ForeignMenu: Creating a<br>
&gt; foreign menu connection /tmp/SpiceForeignMenu-2199.uds<br>
&gt; 1329134778 INFO [2199:2200] RedPeer::connect_to_peer: Connect failed:<br>
&gt; No route to host (113)<br>
&gt; 1329134778 WARN [2199:2200] RedChannel::run: failed to connect: No<br>
&gt; route to host (113)<br>
&gt; 1329134778 INFO [2199:2199] main: Spice client terminated (exitcode =<br>
&gt; 3)<br>
&gt;<br>
&gt; # I&#39;ve installed qemu-kvm but when I try to run qemu-kvm shows this:<br>
&gt;<br>
&gt; Could not access KVM kernel module: No such file or directory<br>
&gt; failed to initialize KVM: No such file or directory<br>
&gt; No accelerator found!<br>
&gt;<br>
</div></div>This is expected, as you run qemu in VM (IIUC your first mail). Can you<br>
verify with nmap that the host is really reachable?<br>
<div><br>
&gt; # How is qemu connected to hosts network?<br>
&gt;<br>
<br>
</div>qemu listens on defined address (-spice addr=&lt;sth&gt;,port=&lt;port&gt;,...).<br>
When not specified, default address is 0.0.0.0 (all ivp4 addresses).<br>
<br>
The different story is networking of VM, there are more possible<br>
approaches - consult qemu&#39;s manual page for them.<br>
<br>
David<br>
<div><div>&gt;<br>
&gt;<br>
&gt; 2012/2/13 Yonit Halperin &lt;<a href="mailto:yhalperi@redhat.com" target="_blank">yhalperi@redhat.com</a>&gt;<br>
&gt;         On 02/12/2012 11:39 AM, Daniel Parnak wrote:<br>
&gt;                 2012/2/12 Yonit Halperin &lt;<a href="mailto:yhalperi@redhat.com" target="_blank">yhalperi@redhat.com</a><br>
&gt;                 &lt;mailto:<a href="mailto:yhalperi@redhat.com" target="_blank">yhalperi@redhat.com</a>&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;                    On 02/11/2012 01:29 PM, Daniel Parnak wrote:<br>
&gt;<br>
&gt;                        Hello,<br>
&gt;<br>
&gt;                        I want to test spice on my virtual machines but<br>
&gt;                 I have problem.<br>
&gt;                        I create 2 virtual machines (one for server,<br>
&gt;                 one for client) on<br>
&gt;                        VMware<br>
&gt;                        Workstation 8 and I run on them<br>
&gt;                 Fedora-16-x86_64-Live-Desktop.<br>
&gt;<br>
&gt;                        # On server I do:<br>
&gt;                        yum -y install qemu-kvm libvirt python-virtinst<br>
&gt;                 bridge-utils<br>
&gt;                        systemctl start libvirtd.service<br>
&gt;                        chkconfig libvirtd on<br>
&gt;                        yum -y install spice-server spice-protocol<br>
&gt;                        qemu-img create /tmp/fedora.qcow 8G<br>
&gt;                        qemu -cdrom /dev/cdrom -hda /tmp/fedora.qcow<br>
&gt;                 -boot d -net nic<br>
&gt;                        -net user<br>
&gt;                        -m 1024<br>
&gt;<br>
&gt;                        # Then after run virtual machine I start spice<br>
&gt;                        qemu -spice port=5930<br>
&gt;<br>
&gt;                    Hi, you should add the &quot;-spice &lt;spice-params&gt;&quot; at<br>
&gt;                 the same command<br>
&gt;                    you run the vm. No need for 2 different `qemu`<br>
&gt;                 runs.<br>
&gt;                    In addition, you probably also want to add to<br>
&gt;                 spice-params<br>
&gt;                    &quot;,disable-ticketing&quot; and to qemu params -vga qxl.<br>
&gt;<br>
&gt;<br>
&gt;                 Thanks, now I do:<br>
&gt;<br>
&gt;                 qemu -cdrom /tmp/FreeBSD-8.2-RELEASE-i386-disc1.iso<br>
&gt;                 -hda<br>
&gt;                 /tmp/fedora.qcow -boot d -net nic -net user -m 1024<br>
&gt;                 -spice<br>
&gt;                 port=5930,disable-ticketing -vga qxl<br>
&gt;<br>
&gt;                 and I receive:<br>
&gt;<br>
&gt;<br>
&gt;                 /do_spice_init: starting 0.10.1<br>
&gt;<br>
&gt;                 spice_server_add_interface: SPICE_INTERFACE_KEYBOARD<br>
&gt;                 spice_server_add_interface: SPICE_INTERFACE_MOUSE<br>
&gt;                 spice_server_add_interface: SPICE_INTERFACE_QXL<br>
&gt;                 red_worker_main: begin<br>
&gt;                 display_channel_create: create display channel<br>
&gt;<br>
&gt;                 cursor_channel_create: create cursor channel/<br>
&gt;<br>
&gt;<br>
&gt;                 vm doesn&#39;t start, and I still can&#39;t connect from<br>
&gt;                 spicec to server<br>
&gt;<br>
&gt;<br>
&gt;         Hi,<br>
&gt;<br>
&gt;         You can try running qemu-kvm instead of qemu. Please also send<br>
&gt;         the client&#39;s log file ($home/.spicec/spicec.log)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                        # On client&#39;s machine I install spice client<br>
&gt;                        yum -y install spice-client spice-protocol<br>
&gt;                        spicec -h 192.168.163.128 -p 5930<br>
&gt;<br>
&gt;                        And I receive warning:<br>
&gt;                        failed to connect: no route to host (113)<br>
&gt;<br>
&gt;                        I can ping server and host. Tcpdump shows that<br>
&gt;                 when I want to<br>
&gt;                        connect<br>
&gt;                        via spicec packages are sent, and host receive<br>
&gt;                 it.<br>
&gt;<br>
&gt;                        What is wrong? And how can I resolve this<br>
&gt;                 problem?<br>
&gt;<br>
&gt;                        Greetings,<br>
&gt;                        Daniel<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                  _________________________________________________<br>
&gt;                        Spice-devel mailing list<br>
&gt;                        Spice-devel@lists.freedesktop.__org<br>
&gt;                        &lt;mailto:<a href="mailto:Spice-devel@lists.freedesktop.org" target="_blank">Spice-devel@lists.freedesktop.org</a>&gt;<br>
&gt;<br>
&gt;                  <a href="http://lists.freedesktop.org/__mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/__mailman/listinfo/spice-devel</a><br>
&gt;<br>
&gt;                  &lt;<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div><div>&gt; _______________________________________________<br>
&gt; Spice-devel mailing list<br>
&gt; <a href="mailto:Spice-devel@lists.freedesktop.org" target="_blank">Spice-devel@lists.freedesktop.org</a><br>
&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
<br>
</div></div><span><font color="#888888">--<br>
<br>
David Jaša, RHCE<br>
<br>
SPICE QE based in Brno<br>
GPG Key:     22C33E24<br>
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24<br>
<br>
<br>
</font></span></blockquote></div><br>
</div></div>