Page 1 of 1

Custom display options for guest OSs

Posted: 28. Aug 2009, 21:51
by jimoe
VirtualBox v3.0.4
WinXP sp3
os/2 v4.52

Neither os/2 nor winxp recognizes the custom video setting created by "VBoxManage setextradata" command. Is there any other method that might be more effective?

Re: Custom display options for guest OSs

Posted: 28. Aug 2009, 23:22
by Sasquatch
For Windows XP, you can install the Guest Additions which allows for dynamic resolution changes.
As for OS/2, I dunno. Are you sure you did everything right according to the manual?

Re: Custom display options for guest OSs

Posted: 28. Aug 2009, 23:51
by jimoe
For Windows XP, you can install the Guest Additions which allows for dynamic resolution changes.
Yes, quite right. My mistake.
As for OS/2, I dunno. Are you sure you did everything right according to the manual?
AFAICT, yes.

Re: Custom display options for guest OSs

Posted: 28. Aug 2009, 23:56
by Sasquatch
It might be useful for us if you gave the command you used, along with the contents of the settings file.

Re: Custom display options for guest OSs

Posted: 29. Aug 2009, 20:29
by jimoe
Sasquatch wrote:It might be useful for us if you gave the command you used, along with the contents of the settings file.

Code: Select all

VBoxManage setextradata os2v4.52 "CustomVideoMode1" 1600x1100x32
Settings file <~/.VirtualBox/Machines/os2v4.52> cat os2v4.52.xml>:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>                                                                                
<!-- Sun VirtualBox Machine Configuration -->                                                                         
<VirtualBox xmlns="http://www.innotek.de/VirtualBox-settings" version="1.7-linux">                                    
  <Machine uuid="{525dfbea-5480-489c-bf04-6bee8b0b1125}" name="os2v4.52" OSType="OS2Warp45" lastStateChange="2009-08-28T20:48:19Z">                                                                                                         
    <ExtraData>                                                                                                       
      <ExtraDataItem name="GUI/LastCloseAction" value="save"/>                                                        
      <ExtraDataItem name="GUI/LastWindowPostion" value="297,61,1280,1077"/>                                          
      <ExtraDataItem name="GUI/Fullscreen" value="off"/>                                                              
      <ExtraDataItem name="GUI/Seamless" value="off"/>                                                                
      <ExtraDataItem name="GUI/AutoresizeGuest" value="on"/>                                                          
      <ExtraDataItem name="GUI/MiniToolBarAutoHide" value="on"/>                                                      
      <ExtraDataItem name="GUI/SaveMountedAtRuntime" value="yes"/>                                                    
      <ExtraDataItem name="GUI/ShowMiniToolBar" value="yes"/>                                                         
      <ExtraDataItem name="GUI/MiniToolBarAlignment" value="bottom"/>                                                 
      <ExtraDataItem name="CustomVideoMode1" value="1600x1100x32"/>                                                   
    </ExtraData>                                                                                                      
    <Hardware>                                                                                                        
      <CPU count="1">                                                                                                 
        <HardwareVirtEx enabled="true"/>                                                                              
        <HardwareVirtExNestedPaging enabled="true"/>                                                                  
      </CPU>                                                                                                          
      <Memory RAMSize="517"/>                                                                                         
      <Boot>                                                                                                          
        <Order position="1" device="DVD"/>                                                                            
        <Order position="2" device="HardDisk"/>                                                                       
      </Boot>                                                                                                         
      <Display VRAMSize="32" monitorCount="1" accelerate3D="false"/>                                                  
      <RemoteDisplay enabled="false" port="3389" authType="Null" authTimeout="5000"/>                                 
      <BIOS>                                                                                                          
        <ACPI enabled="false"/>                                                                                       
        <IOAPIC enabled="false"/>                                                                                     
        <Logo fadeIn="true" fadeOut="true" displayTime="0"/>                                                          
        <BootMenu mode="MessageAndMenu"/>                                                                             
        <TimeOffset value="0"/>                                                                                       
        <PXEDebug enabled="false"/>                                                                                   
      </BIOS>                                                                                                         
      <DVDDrive passthrough="false"/>                                                                                 
      <FloppyDrive enabled="true"/>                                                                                   
      <USBController enabled="true" enabledEhci="false"/>                                                             
      <Network>                                                                                                       
        <Adapter slot="0" enabled="true" MACAddress="08002719DCE5" cable="true" speed="0" type="Am79C973">            
          <BridgedInterface name="eth0"/>                                                                             
        </Adapter>                                                                                                    
        <Adapter slot="1" enabled="false" MACAddress="0800276F47BB" cable="true" speed="0" type="Am79C973"/>          
        <Adapter slot="2" enabled="false" MACAddress="0800275CDEBD" cable="true" speed="0" type="Am79C973"/>          
        <Adapter slot="3" enabled="false" MACAddress="080027D54AFC" cable="true" speed="0" type="Am79C973"/>          
        <Adapter slot="4" enabled="false" MACAddress="080027AAF2E3" cable="true" speed="0" type="Am79C973"/>          
        <Adapter slot="5" enabled="false" MACAddress="080027933457" cable="true" speed="0" type="Am79C973"/>          
        <Adapter slot="6" enabled="false" MACAddress="080027DE77DF" cable="true" speed="0" type="Am79C973"/>          
        <Adapter slot="7" enabled="false" MACAddress="080027B92474" cable="true" speed="0" type="Am79C973"/>          
      </Network>
      <UART>
        <Port slot="0" enabled="false" IOBase="0x3f8" IRQ="4" hostMode="Disconnected"/>
        <Port slot="1" enabled="false" IOBase="0x3f8" IRQ="4" hostMode="Disconnected"/>
      </UART>
      <LPT>
        <Port slot="0" enabled="false" IOBase="0x378" IRQ="4"/>
        <Port slot="1" enabled="false" IOBase="0x378" IRQ="4"/>
      </LPT>
      <AudioAdapter controller="AC97" driver="Pulse" enabled="true"/>
      <SharedFolders/>
      <Clipboard mode="Bidirectional"/>
      <Guest memoryBalloonSize="0" statisticsUpdateInterval="0"/>
      <GuestProperties>
        <GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="C" timestamp="1251070746986362000" flags=""/>
      </GuestProperties>
    </Hardware>
    <StorageControllers>
      <StorageController name="IDE" type="PIIX4" PortCount="2">
        <AttachedDevice type="HardDisk" port="0" device="0">
          <Image uuid="{4fe112ae-38e6-44f1-af0a-87328d22bd77}"/>
        </AttachedDevice>
        <AttachedDevice type="HardDisk" port="0" device="1">
          <Image uuid="{5f321031-1547-4d9e-bad2-58669c66146a}"/>
        </AttachedDevice>
      </StorageController>
    </StorageControllers>
  </Machine>
</VirtualBox>

Re: Custom display options for guest OSs

Posted: 6. Sep 2009, 23:14
by jimoe
Was any of that information useful?

Re: Custom display options for guest OSs

Posted: 6. Sep 2009, 23:33
by Sasquatch
It should be enough, but I've also read that you can or need to use videomodehint, so the Guest can see or use it properly. Maybe OS/2 just doesn't want to see it, because it doesn't support the resolution. I have no idea, because I never used OS/2 and don't use the resolution feature.