<!DOCTYPE html>
<html><head>
    <meta charset="UTF-8">
</head><body><p>thanks for the feedback<br></p><p>>> You can install virt-manager and virt-viewer on the KVM server, and access both GUIs from your laptop through ssh X11 forwarding</p><p>... my laptop is a W7 machine though ... I would be surprised whether X11 (not present on the KVM server, neither on a W7 machine) would be firing from on such a setup, nevertheless I'll try that out<br></p><p>still ... I tend to find all this completely not necessary if you just could use the KVM hosts console to get inside of the VM's console. </p><p>Honestly I am not really clear how a standard install .iso even works without interaction [which only can be done when you actually 'see' what happening] during the installation process and I wouldn't know [the machine itself not being aware to be a VM] how that was to be different whether you are in a VM or on bare metal)<br></p><p>for now still mysterious to some degree.<br></p><blockquote type="cite">On August 30, 2016 at 1:43 AM Markos Gogoulos <mgogoulos@mist.io> wrote:<br><br><div dir="ltr">You can install virt-manager and virt-viewer on the KVM server, and access both GUIs from your laptop through ssh X11 forwarding<div><br></div><div>ssh to the KVM server with the -X switch</div><div><br></div><div>ssh root@server -X</div><div><br></div><div>now you can run </div><div>virt-viewer VM </div><div><br></div><div>or </div><div><br></div><div>virt-manager</div><div><br></div><div>Wait a few seconds and the GUIs will appear on your laptop's screen. It's slower of course but works from any place that can access the KVM server (without the need to install a desktop environment there)</div><div><br></div><div>Hope this helps, </div><div>Markos</div><div><br></div><div><br><div class="ox-452db5a31c-gmail_extra"><br><div class="ox-452db5a31c-gmail_quote">On Mon, Aug 29, 2016 at 8:24 AM, <<a href="mailto:gunnar.wagner@netcologne.de" target="_blank">gunnar.wagner@netcologne.de</a>> wrote:<br><blockquote><u></u><div><p><br></p><p>Thanks for your suggestion regarding <strong>virt-viewer</strong>. But I am on a server without any graphical Desktop</p><p>Is there a CLI version of virt-viewer (or an equivalent tool CLI [which I though virsh --connect would have been)?</p><p>Or does virt-viewer run in a CLI mode once you don't have a GUI?</p><p><br></p><blockquote type="cite">On August 28, 2016 at 9:52 PM Nicolas Bock <<a href="mailto:nicolasbock@gmail.com" target="_blank">nicolasbock@gmail.com</a>> wrote:<blockquote><p>Have you tried to run virt-viewer and then select your VM?</p><p>On Sun, Aug 28, 2016 at 6:50 AM, <<a href="mailto:vrms@netcologne.de" target="_blank">vrms@netcologne.de</a>> wrote:</p><blockquote><div><div><p>I am new to this list and hope it's the right place to address my issue. I<br>also do not have much insight in libvirt/qemu yet</p><p>host OS is ubuntu-server 1404. What I am trying to achieve is installing an<br>ubunt1604 server on to an existing (qemu-img create) qcow2 image file with<br>the following command ...</p><p>sudo virt-install --name myVM --ram 512 \<br> --disk path=/path/to/image.qcow2 \<br> --location /path/to/ubuntu-16.04.1-server<wbr/>-amd64.iso</p><p>... and then access the machine (through my hosts terminal).</p><p>the command above results into</p><p>Starting install... Retrieving file version.info...<br> | 116 B 00:00 ... Retrieving file linux...<br> | 13 MB 00:00 ... Retrieving file initrd.gz...<br> | 72 MB 00:00 ... Creating domain...<br> | 0 B 00:01 Connected to domain myVM Escape character is ^]</p><p>after that, nothing.Not having ^ on my keyboard I don't get to escape<br>from this</p><p>When I check on another console window (virsh list --all) in my host I see<br>that the domain myVM is marked as 'running.</p><p>naturally There is not way to access it via ssh yet and I'd expect to be a<br>given that is should be possible to acces a VM's command line from my host<br>directly</p><p>virsh connect qemu:///system myVM is something I came up with but that<br>only returns an error</p><p>"error: unexpected data 'myVM'"</p><p>Furthermore I am unable to stop the machine (virsh shutdown myVM) either,<br>it just keeps running until killing it</p></div></div><p>______________________________<wbr/>_________________<br>libvirt-users mailing list<br><a href="mailto:libvirt-users@redhat.com" target="_blank">libvirt-users@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/libvirt-users" target="_blank">https://www.redhat.com/mailman<wbr/>/listinfo/libvirt-users</a><br></p></blockquote></blockquote></blockquote></div><br>______________________________<wbr/>_________________<br> libvirt-users mailing list<br> <a href="mailto:libvirt-users@redhat.com" target="_blank">libvirt-users@redhat.com</a><br> <a href="https://www.redhat.com/mailman/listinfo/libvirt-users" target="_blank">https://www.redhat.com/mailman<wbr/>/listinfo/libvirt-users</a><br></blockquote></div><br></div></div></div>_______________________________________________<br>libvirt-users mailing list<br>libvirt-users@redhat.com<br>https://www.redhat.com/mailman/listinfo/libvirt-users</blockquote></body></html>