Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
仮想化にlibvirtでKVMを使用しています。パスワードなしで仮想マシンのリモートデスクトップにアクセスできます。vmアクセスごとにパスワードを設定したい。私はvinagreを使用しています:リモートデスクトップアクセス用。
前もって感謝します。
libvirtの場合:
ドメインxmlは次のように直接編集できます。
# virsh edit <your-domain-name>
要素を編集し、次のように属性passwdを追加します。
<graphics type='vnc' passwd='foo'>
記事libvirtドメインxml形式からより多くのオプションを取得できます