Setting Remote Desktop access password in KVM
I am using KVM with libvirt for virtualization. I can access remote desktop of my vm's without any password. I want to set a Password for each vm access. I am using vinagre : for remote desktop access.
Thanks in advance.
In libvirt:
- Add Hardware
- Select Graphics
- Select VNC Server
- Set Password
You can edit your domain xml directly like this:
# virsh edit <your-domain-name>
edit the element and add attribute passwd like this:
<graphics type='vnc' passwd='foo'>
You can get more options from the article libvirt domain xml format
精彩评论