Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm trying to fetch the VNC access data from a virtual machine managed by libVirt. However, when I run virsh dumpxml $machine, the vnc passwd is missing:

<graphics type='vnc' port='-1' autoport='yes'/>

Checking the same using virsh edit $machine, I see the password is actually there:

<graphics type='vnc' port='-1' autoport='yes' passwd='asdf'/>

Why is this? Is this intentional (what reason?), or could this be a bug?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

This is intentional; look for VIR_DOMAIN_XML_SECURE flag in libvirt sources.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.