开发者

Setting Remote Desktop access password in KVM

开发者 https://www.devze.com 2023-02-06 23:50 出处:网络
开发者_开发技巧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 remot
开发者_开发技巧

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

0

精彩评论

暂无评论...
验证码 换一张
取 消