<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=gb2312"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"批注框文本 Char";
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:9.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
span.Char
        {mso-style-name:"批注框文本 Char";
        mso-style-priority:99;
        mso-style-link:批注框文本;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=ZH-CN link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Thanks and I write a nullframebuffer (grab from VBoxHeadless) and it work now.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'>And now I has another question. It seem that </span><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'>the own-defined frontend only can start from virtualbox installed folder.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'>If I put my MyFrontEnd.exe into another folder and start it, the log say the vm can not find the vboxvmm.dll and the path is wrong.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'>It look for core dlls from my exe’s dir.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Is it harden-coding?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal align=left style='text-align:left'><b><span style='font-size:10.0pt;font-family:宋体;color:windowtext'>发件人<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:10.0pt;font-family:宋体;color:windowtext'> Klaus Espenlaub [mailto:klaus.espenlaub@oracle.com] <br></span><b><span style='font-size:10.0pt;font-family:宋体;color:windowtext'>发送时间<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:10.0pt;font-family:宋体;color:windowtext'> 2014</span><span style='font-size:10.0pt;font-family:宋体;color:windowtext'>年<span lang=EN-US>9</span>月<span lang=EN-US>18</span>日<span lang=EN-US> 21:03<br></span><b>收件人<span lang=EN-US>:</span></b><span lang=EN-US> vbox-dev@virtualbox.org<br></span><b>主题<span lang=EN-US>:</span></b><span lang=EN-US> Re: [vbox-dev] frontend with no display/framebuffer<o:p></o:p></span></span></p></div></div><p class=MsoNormal align=left style='text-align:left'><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>On 17.09.2014 12:03, DRACULAX wrote:<br><br><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Hi, guys, I recently build my frontend which based on VBoxHeadless.exe<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>except that I do not create any framebuffer for it.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>When I start my frontend it got the following error output. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>It looks like the vga device failed to start. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Am I missing something? Is the framebuffer object needed anyway?<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left'><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Yes, as long as the VGA card is configured (in 4.3 you can actually disable it using CLI) it needs a framebuffer. Wonder why it's worth implementing a framebuffer-less VBoxHeadless look-alike.<br><br>It's required to get at the screen content, and it was considered too unusual to have a VGA card and no framebuffer. When disabling VGA it's a valid setup.<br><br>Klaus<br> <br><br><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Best regards for you<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>VirtualBox VM 4.3.10 r93012 win.amd64 (Mar 26 2014 18:53:57) release log<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>00:00:00.824047 Log opened 2014-09-17T08:54:22.362547900Z<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>00:00:00.824047 Build Type: release<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>00:00:00.963055 DMI Product Name: 3443A96<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>00:00:00.968055 DMI Product Version: ThinkPad X1 Carbon<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>00:00:00.968055 Host RAM: 3776MB total, 880MB available<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>…<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>…<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>00:00:03.319951 CPUM: SetGuestCpuIdFeature: Enabled APIC<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>00:00:03.335542 PIT: mode=3 count=0x10000 (65536) - 18.20 Hz (ch=0)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>00:00:03.353628 Shared Folders service loaded.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>00:00:03.364024 PDM: Failed to construct 'vga'/0! VERR_INVALID_STATE (-79) - Generic invalid state error.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>  <o:p></o:p></span></p></div></body></html>