My objective is also to run headless virtual machines through libvirt library.
I am using an Ubuntu 10.04 distro and libvirt 0.9.2.
Before asking you guys about it, I searched on the web and found this:
Hi,
thanks for your hint.
I read the lines in the documentation, but unfortunately editing the xml
within virsh lead to the errors.
The Solution to a headless domain was to edit the XML file from bash and
then
#virsh: define <domainname.xml>
to reload the new values for the graphics type of the machine.
Obvioulsy something went wrong when editing "live"....
Regards,
Christian
Am 24.06.2010 18:27, schrieb Jean-Baptiste Rouault:
> Hi,
>
> Something like this should work, as can be seen in the
> documentation here : http://libvirt.org/formatdomain.html#elementsGraphics
>
> <drivers>
> <graphics type='rdp' autoport='yes' />
> </drivers>
>
> Regards,
>
> Jean-Baptiste
>
>
>> Hello,
>>
>> I'm trying to use the VirtualBox/vbox driver together with libvirt 0.8.1
>> on a Ubuntu Lucid Machine, VirtualBox Release 3.1.
>>
>> The goal is to run the virtual machines headless and to connect using RDP.
>>
>> When starting a virtual domain using 'virsh start <domainname>' the GUI
>> of VirtualBox will pop up and I see no option to prevent this. If X is
>> not running, the virsh command will terminate with 'unknown failure'.
>>
>> I've found some hints on inclusion of the headless statement in the
>> 'graphics' part of the XML definition file, but when I tree to adopt
>> this, the editing of the file will crash.
>>
>> Has anyone achieved to manage VBox machines with libvirt on a headless
>> server ?
>>
>> Thanks in advance for some hints or experiences with this issue,
>> Christian
>>