[libvirt-users] VirtualBox headless

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

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
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

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
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
-- *Christian Patsch <Christian.Patsch@GONICUS.de> (Senior Consultant) *GONICUS GmbH * Zentrale * Moehnestr. 11-17 * 59755 Arnsberg *Tel.: +49 (0) 2932 / 916 - 0 * Fax: +49 (0) 29 32 / 916 - 273 *http://www.GONICUS.de *Sitz der Gesellschaft: Moehnestrasse 11-17 * D-59755 Arnsberg *Geschaeftsfuehrer: Rainer Luelsdorf, Alfred Schroeder *Vorsitzender des Beirats: Juergen Michels *Amtsgericht Arnsberg * HRB 1968
participants (2)
-
Christian Patsch
-
Jean-Baptiste Rouault