Difference between revisions of "Virsh console"

From wikieduonline
Jump to navigation Jump to search
Line 21: Line 21:
 
* <code>[[virsh start]]</code>
 
* <code>[[virsh start]]</code>
 
* <code>[[virsh --connect]]</code>
 
* <code>[[virsh --connect]]</code>
* <code>[[virsh vncdisplay]]</code>
+
* <code>[[virsh vncdisplay]] VM_NAME</code>
  
 
== See also ==
 
== See also ==

Revision as of 13:46, 5 February 2020

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

 sudo systemctl enable [email protected]
 sudo systemctl start [email protected]


virsh console MACHINE


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: