문제

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:

  1. Add Hardware
  2. Select Graphics
  3. Select VNC Server
  4. 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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top