Difference between revisions of "Virsh console"
Jump to navigation
Jump to search
↑ https://www.cyberciti.biz/faq/how-to-enable-kvm-virsh-console-access-for-ubuntu-linux-vm/
Tags: Mobile web edit, Mobile edit |
|||
Line 1: | Line 1: | ||
First you need to enable [[serial]] console in your VM Machine.<ref>https://www.cyberciti.biz/faq/how-to-enable-kvm-virsh-console-access-for-ubuntu-linux-vm/</ref> | First you need to enable [[serial]] console in your VM Machine.<ref>https://www.cyberciti.biz/faq/how-to-enable-kvm-virsh-console-access-for-ubuntu-linux-vm/</ref> | ||
− | + | *<code>sudo [[systemctl enable]] [email protected]</code> | |
− | + | *<code>sudo [[systemctl start]] [email protected]</code> | |
<code>[[virsh]] [[console]] MACHINE</code> | <code>[[virsh]] [[console]] MACHINE</code> |
Revision as of 13:25, 10 June 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
- Conneting:
virsh [ console | ttyconsole | domdisplay | vncdisplay
],virsh --connect
,virt-manager
,virt-viewer
, VNC virsh
: Storage information, Connecting, Operations, Memory, Snapshots, Networking, CPU, release notes,virsh nodedev-list
Advertising: