Difference between revisions of "Virsh console"

From wikieduonline
Jump to navigation Jump to search
Line 18: Line 18:
 
* <code>[[virsh --connect]]</code>
 
* <code>[[virsh --connect]]</code>
 
* <code>[[virsh vncdisplay]] VM_NAME</code>
 
* <code>[[virsh vncdisplay]] VM_NAME</code>
* [[/var/log/libvirt/]]qemu/
+
* <code>[[/var/log/libvirt/]]qemu/</code>
 
* <code>[[virsh ttyconsole]]</code>
 
* <code>[[virsh ttyconsole]]</code>
  

Revision as of 13:32, 7 November 2020

First you need to enable serial console in your VM Machine.[1]


virsh console MACHINE
Connected to domain MACHINE
Escape character is ^]
error: operation failed: Active console session exists for this domain


Related commands

See also

  • https://www.cyberciti.biz/faq/how-to-enable-kvm-virsh-console-access-for-ubuntu-linux-vm/
  • Advertising: