public:kvm:access:local_vhost
Local vhost access
The GUI of a vhost can only be displayed on a host on which a GUI is installed. On most KVM hosts a GUI is not installed. That's why the GUI of a vhost often cannot be displayed on a KVM server.
But access to the console of a vhost is easily possible on a kvm host. The command virsh console <vhost>
is the tool of choice:
kvm5:~# virsh console client Connected to domain client Escape character is ^] Debian GNU/Linux 9 cougar ttyS0 client login: admin Password: Last login: Tue Apr 24 12:34:10 CEST 2018 from 10.0.0.6 on pts/2 Linux client 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. admin@client:~$ sudo -i client:~#
The picture above shows the access to a serial console ('ttyS0') of a vhost named 'client'. This only works, when a serial console was added to the vhost as described on this page.
previous chapter | contents | next chapter
public/kvm/access/local_vhost.txt · Last modified: 2018/06/08 19:53 by wiki.tk