How to take kvm guest console from its host server's command line terminal?

Solution Verified - Updated -

Issue

  • How do I access the kvm guest console from its host server's command line terminal?
  • I have created two VMs (KVM) on one server. Now how do I open the VMs from that same server command line?
  • virsh console not working for kvm guests. do
# virsh console guest.name
Connected to domain XXXXX
Escape character is ^]

Environment

  • Red Hat Enterprise Linux (RHEL) including:
    • Red Hat Enterprise Linux 5 (RHEL5)
    • Red Hat Enterprise Linux 6 (RHEL6)
  • KVM hypervisor
    • Red Hat Enterprise Virtualization (RHEV) not applicable
  • RHEL5 or RHEL6 guest

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.