<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="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 29, 2016 at 8:24 AM,  <span dir="ltr"><<a href="mailto:gunnar.wagner@netcologne.de" target="_blank">gunnar.wagner@netcologne.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><span>On August 28, 2016 at 9:52 PM Nicolas Bock <<a href="mailto:nicolasbock@gmail.com" target="_blank">nicolasbock@gmail.com</a>> wrote:</span><blockquote><span><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></span><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>_________________<span><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></span></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" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/libvirt-users</a><br></blockquote></div><br></div></div></div>