Re: How to connect to the running VM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



于 2011年07月29日 19:36, bala suru 写道:
Hi,
I have deployed some VM on to the KVM-qemu and installed libvirtd ..
 
I could see the VM running by command virsh list .
 
but how to login to the VMs other than SSH ..?

<snip>
i tried virsh vncdisplay , but no output ..
</snip>

This means you don't configure a "vnc" graphic for your guest. See

# virsh help vncdisplay

For what the command does.

Except the vnc method, you might want to use text console, do like
below will work:

   1. Add console=ttyS0,115200 to guest kernel line.
   2. Add the following XML section to a domain.

    <serial type='pty'>
        <target port='0'/>
    </serial>
    <console type='pty'>
        <target port='0'/>
    </console>

   3. # virsh start $domain
   4. # virsh console $domain

Osier
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]