Interface for accessing to guest OS via libvirt

zerospiel asked:

Is there any possible (not necessary native) ways to get access (e.g., terminal usage is the main purpose for me) to guest OS with *nix using libvirt/LXC(not as libvirt module) capabilities? And I don’t mean to use methods like lxc-console commands.

My answer:

virsh domdisplay <VM-name> will give you a URL for connecting to a graphical console for a guest, if the guest doesn’t have a serial console enabled.

virsh console <VM-name> will connect to the guest’s serial console.

If all of this command line crap just annoys you, install the virt-manager GUI and you can point and click your way around managing your guests. (Note that virt-manager cannot yet install LXC guests.)

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.