Complete Full Screen Mode??

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.
farahm2
Posts: 1
Joined: 12. Jul 2010, 20:58
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: OSx

Complete Full Screen Mode??

Post by farahm2 »

Hey people, is there a way I can get it so that it is completely full screen when I use Mac through Virtualbox? When I click the full screen option now, I get it so that its not completely full screen because the sides are not all the way at the edges.

And I cant turn off the guess screen resolution option either. Any help?

Thanks!
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Complete Full Screen Mode??

Post by Sasquatch »

You can increase the resolution using an EFI setting (should be in the manual, but definitely mentioned here on the forums before) so that it's 1024x768. You can't get higher I think. Other resolutions are only available when the Guest Additions are done. These don't exist at the moment.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
NotAnAddict
Posts: 2
Joined: 27. Feb 2010, 06:20
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows, Linux, MacOS

Re: Complete Full Screen Mode??

Post by NotAnAddict »

Actually, you can arbitrarily adjust the screen resolution of your virtual machine.

In your MacOS X Server virtual machine, edit the file /Library/Preferences/SystemConfiguration/com.apple.Boot.plist and add (or change) the graphics mode line, which should look like this:

<string>"Graphics Mode"="1920x1200x32"</string>

Where the resolution given matches the resolution of your screen.

Depending on your configuration, you may also need to edit the VirtualBox machine file. On Linux hosts, this will be in a subdirectory of the ~/.VirtualBox/Machines/ directory. You may need to add a line to the ExtraData section that looks like this:

<ExtraDataItem name="CustomVideoMode1" value="1920x1200x32" />

This will allow VirtualBox to support extra video modes (widescreen video modes in particular).

Good luck!
saul
Posts: 3
Joined: 12. Aug 2010, 20:44
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: OSX, Ubuntu

Re: Complete Full Screen Mode??

Post by saul »

NotAnAddict wrote:Actually, you can arbitrarily adjust the screen resolution of your virtual machine.

In your MacOS X Server virtual machine, edit the file /Library/Preferences/SystemConfiguration/com.apple.Boot.plist and add (or change) the graphics mode line, which should look like this:

<string>"Graphics Mode"="1920x1200x32"</string>

Where the resolution given matches the resolution of your screen.

Depending on your configuration, you may also need to edit the VirtualBox machine file. On Linux hosts, this will be in a subdirectory of the ~/.VirtualBox/Machines/ directory. You may need to add a line to the ExtraData section that looks like this:

<ExtraDataItem name="CustomVideoMode1" value="1920x1200x32" />

This will allow VirtualBox to support extra video modes (widescreen video modes in particular).

Good luck!
I tried that yesterday with VB 3.2.8 and OSX 10.6.4. It doesn't work. At least on my hardware, which is Intel Core 2 Duo E6400/Intel DP965LT. Also, every time I added the "CustomVideoMode1" tag, VirtualBox kept deleting it from the XML configuration file.
paulscode
Posts: 25
Joined: 9. May 2010, 03:36
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: XP, Tiger, Leopard, Snow Leopard

Re: Complete Full Screen Mode??

Post by paulscode »

saul wrote:Also, every time I added the "CustomVideoMode1" tag, VirtualBox kept deleting it from the XML configuration file.
I don't know about the rest of it, but to avoid having VirtualBox delete stuff you add to the configuration file, you must shut VirtualBox down entirely (not just the guest - the whole program). Then make the change, save it, and then start Virtual Box back up again.
saul
Posts: 3
Joined: 12. Aug 2010, 20:44
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: OSX, Ubuntu

Re: Complete Full Screen Mode??

Post by saul »

paulscode wrote:I don't know about the rest of it, but to avoid having VirtualBox delete stuff you add to the configuration file, you must shut VirtualBox down entirely (not just the guest - the whole program). Then make the change, save it, and then start Virtual Box back up again.
Thanks. Now the data stays in the configuration file but it didn't change the screen resolution. Still the same, 1024x768.
jstevenson72
Posts: 1
Joined: 14. Aug 2010, 14:58
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: OS X 10.6.4

Re: Complete Full Screen Mode??

Post by jstevenson72 »

Sounds like you are editing the wrong file on OS X. If you are using any of the booters out there, they make a copy of the com.apple.Boot.plist file in the /Extra folder off the root of your boot volume.

I suggest you add the resolution settings to that file.

The easiest way (bare in mind I'm new to Mac) that I have found is to drag the file from the folder to your desktop. Open it and make the change, and then drag it back to the folder. That way you will only need to "Authenticate" your login to allow the file to be updated. (The file is protected otherwise)

The section you need is the <key>Graphics Mode</key><string>1680x1050x32</string>

Good Luck,

Jake
saul
Posts: 3
Joined: 12. Aug 2010, 20:44
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: OSX, Ubuntu

Re: Complete Full Screen Mode??

Post by saul »

jstevenson72 wrote:Sounds like you are editing the wrong file on OS X. If you are using any of the booters out there, they make a copy of the com.apple.Boot.plist file in the /Extra folder off the root of your boot volume.

I suggest you add the resolution settings to that file.

The easiest way (bare in mind I'm new to Mac) that I have found is to drag the file from the folder to your desktop. Open it and make the change, and then drag it back to the folder. That way you will only need to "Authenticate" your login to allow the file to be updated. (The file is protected otherwise)

The section you need is the <key>Graphics Mode</key><string>1680x1050x32</string>

Good Luck,

Jake
That the hint I was looking for 8)
gotchay
Posts: 1
Joined: 1. Oct 2010, 22:01
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Mac OS X

Re: Complete Full Screen Mode??

Post by gotchay »

I've tried doing the above and it seems I have two copies one in username/Extras and one in Libary/Preferences/SystemConfiguration/ and editing either one doesn't work.

I'm trying to get the resolution of 1920x1200x32 to work. Any tips or suggestions?

I edited the right file now but it seems the highest it will go is 1600x1200 :(
apos
Posts: 2
Joined: 6. Oct 2010, 22:32
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows

Re: Complete Full Screen Mode??

Post by apos »

I successfully got a resolution of 1680x1050x32 with VirtualBox 3.2.8 and Leopard 10.6.2.
Here's what I did:

A. ALTER THE FILE com.apple.Boot.plist in /Extras

1. Opened Finder. On the left side opened the primary harddisk (the first device where OSX is installed)
2. Went to /Extras/
3. Copied the com.apple.Boot.plist to the desktop
4. Opened com.apple.Boot.plist with TextEdit.
5. Added

Code: Select all

<dict>
    <key>Graphics Mode</key>
    <string>"Graphics Mode"="1680x1050x32"</string>
    [...]
6. Save As
-> Save as: com.apple.Boot.plist
-> Plain Text Encoding: Unicode (UTF-8)
-> Turn off... use ".txt"

7. Drag an Drop the file back into the /Extras folder
8. Autenticate with your password

B. NOW DO THE SAME IN THE FOLDER "/Library/Preferences/SystemConfiguration/"

C. Shutdown the virtual Machine

D. Close ALL VirtualBox Instances

E. Edit the file PATH_TO_VIRTUALBOX_FOLDER/Machines/OSX/OSX.xml
OSX.xml is the file if your virtual machine is named "OSX", so it could differ from your installation.
Add the following line:

Code: Select all

   [...]
   <ExtraData>
      <ExtraDataItem name="CustomVideoMode1" value="1680x1050x32" />
     [...]
F. Start VirtualBox and your virtual machine
Enjoy your new resolution :D
jamesensor
Posts: 17
Joined: 9. Oct 2010, 08:14
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: SL

Re: Complete Full Screen Mode??

Post by jamesensor »

Hi all fellow users.

I'm having the same problem with full screen.

on a aspire 5740g (core i5, 4gb ram ati hd5650).

Installed and all works smoothly, except sound, but this isn't much of a problem.
At boot i tried to "?video" and checked that only some video modes could work. So, i edited the boot.plist with those resolutions and they actually changed in the OS. But managing the virtualbox config for a res with 1366x768x32 -> " <ExtraData>
<ExtraDataItem name="CustomVideoMode1" value="1366x768x32" />" didnt work, and simultaneously with the boot.plist. altered. Only 1280, 1024, 1600...

I'll try another iso with diferent settings to see how this goes.. If anyone can't give me hints here or in pm's i'd apreciate.

Thank you.
Last edited by jamesensor on 10. Oct 2010, 01:31, edited 1 time in total.
jamesensor
Posts: 17
Joined: 9. Oct 2010, 08:14
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: SL

Re: Complete Full Screen Mode??

Post by jamesensor »

Edited : ---removed----

I've also made the same question in their forum to see whats going on. If this could make sense, my graphics card is a ati hd 5650. (Oddly, vmware grants me the res i want, but everything else sucks.)

Any help would be most appreciated. Thank you.

P.S. sorry Perryg
Last edited by jamesensor on 10. Oct 2010, 01:32, edited 1 time in total.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Complete Full Screen Mode??

Post by Perryg »

GENZANO
Posts: 1
Joined: 14. Oct 2010, 13:28
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Windows 7

Re: Complete Full Screen Mode??

Post by GENZANO »

apos wrote:I successfully got a resolution of 1680x1050x32 with VirtualBox 3.2.8 and Leopard 10.6.2.
Here's what I did:

A. ALTER THE FILE com.apple.Boot.plist in /Extras

1. Opened Finder. On the left side opened the primary harddisk (the first device where OSX is installed)
2. Went to /Extras/
3. Copied the com.apple.Boot.plist to the desktop
4. Opened com.apple.Boot.plist with TextEdit.
5. Added

Code: Select all

<dict>
    <key>Graphics Mode</key>
    <string>"Graphics Mode"="1680x1050x32"</string>
    [...]
6. Save As
-> Save as: com.apple.Boot.plist
-> Plain Text Encoding: Unicode (UTF-8)
-> Turn off... use ".txt"

7. Drag an Drop the file back into the /Extras folder
8. Autenticate with your password

B. NOW DO THE SAME IN THE FOLDER "/Library/Preferences/SystemConfiguration/"

C. Shutdown the virtual Machine

D. Close ALL VirtualBox Instances

E. Edit the file PATH_TO_VIRTUALBOX_FOLDER/Machines/OSX/OSX.xml
OSX.xml is the file if your virtual machine is named "OSX", so it could differ from your installation.
Add the following line:

Code: Select all

   [...]
   <ExtraData>
      <ExtraDataItem name="CustomVideoMode1" value="1680x1050x32" />
     [...]
F. Start VirtualBox and your virtual machine
Enjoy your new resolution :D
Hi guys...and apos!! :-)
Great guide, but I cannot rename these files....I don't have privilege!! :-( How can I get them?
karog
Posts: 9
Joined: 8. Sep 2010, 21:33
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Ubuntu, OS X Server

Re: Complete Full Screen Mode??

Post by karog »

GENZANO wrote:Great guide, but I cannot rename these files....I don't have privilege!! :-( How can I get them?
Send $50 to takemymoney@ripmeoff.com. :twisted:

Or use sudo with admin password.
Locked