<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    于 2011年07月29日 19:36, bala suru 写道:
    <blockquote
cite="mid:CAOYyr-tiei6TfwFLojfQ4JrC6yhGMNFu5H-+kCdtyrKkjOUnuw@mail.gmail.com"
      type="cite">
      <div>Hi,</div>
      <div>I have deployed some VM on to the KVM-qemu and installed
        libvirtd ..</div>
      <div> </div>
      <div>I could see the VM running by command virsh list .</div>
      <div> </div>
      <div>but how to login to the VMs other than SSH ..? </div>
    </blockquote>
    <br>
    <snip><br>
    <blockquote
cite="mid:CAOYyr-tiei6TfwFLojfQ4JrC6yhGMNFu5H-+kCdtyrKkjOUnuw@mail.gmail.com"
      type="cite">
      <div>i tried virsh vncdisplay , but no output ..</div>
    </blockquote>
    </snip><br>
    <br>
    This means you don't configure a "vnc" graphic for your guest. See<br>
    <br>
    # virsh help vncdisplay<br>
    <br>
    For what the command does.<br>
    <br>
    Except the vnc method, you might want to use text console, do like<br>
    below will work:<br>
    <br>
    <span class="Apple-style-span" style="border-collapse: separate;
      color: rgb(0, 0, 0); font-family: 'AR PL UKai CN'; font-style:
      normal; font-variant: normal; font-weight: normal; letter-spacing:
      normal; line-height: normal; orphans: 2; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; font-size: medium;"><span
        class="Apple-style-span" style="color: rgb(51, 51, 51);
        font-family: Verdana,Arial,sans-serif,Helvetica,Georgia;
        font-size: 12px; line-height: 23px;">   1. Add
        console=ttyS0,115200 to guest kernel line.<br>
           2. Add the following XML section to a domain.<br>
        <br>
            <serial type='pty'><br>
                <target port='0'/><br>
            </serial><br>
            <console type='pty'><br>
                <target port='0'/><br>
            </console><br>
        <br>
           3. # virsh start $domain<br>
           4. # virsh console $domain<br>
        <br>
        Osier<br>
      </span></span>
  </body>
</html>