Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.