Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Screen resolution in Virtual Box with Ubuntu

07 Dec 2010   #21
rap33042

Windows 7 Home Premium x64
 
 

whs:
All you should have to do is grab the bottom-right corner of the window and drag it to the size you want. (just like any other window)
This is a VBox function, not Ubuntu's function.
VBox will automagically re-size the Ubuntu screen size to fit.


My System SpecsSystem Spec
.
07 Dec 2010   #22
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Quote   Quote: Originally Posted by rap33042 View Post
whs:
All you should have to do is grab the bottom-right corner of the window and drag it to the size you want. (just like any other window)
This is a VBox function, not Ubuntu's function.
VBox will automagically re-size the Ubuntu screen size to fit.
Hmm, that sounds promising. I'll try all that later because I now have to leave for a bit.
My System SpecsSystem Spec
07 Dec 2010   #23
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Little interim report:

I have tried all proposals (except the Vi and Vim editor that Lemur proposed - need more study time). Nothing works. I can make a full screen (per Kari's post), but the Ubuntu screen stays 800x600 and the rest of the screen is black. I think that I need to get this Ubuntu resolution resolved (maybe with Lemur's Vim editor - once I understand that).

When I was running Win7 Beta in vBox, I had a much bigger resolution. That leads me to think that it is a Ubuntu problem - maybe a driver problem. But there are no Ubuntu drivers for my HP w2207. I keep plowing along at this time - until I give up - LOL.
My System SpecsSystem Spec
.

08 Dec 2010   #24
Kari

 

Ok, Wolfgang. Let's try once more, if it's OK for you. The following applies when using Ubuntu 10.10 on a VirtualBox 3.12.12 virtual machine.

Earlier last night I created a new virtual machine installing Ubuntu to be able to test this. I have changed nothing in Ubuntu settings, this is how it should work out of the box.
  • First, check from Ubuntu virtual machine's settings that you have assigned the maximum possible video memory to the virtual machine, and that 3D acceleration is enabled:
    .
    Screen resolution in Virtual Box with Ubuntu-vb_ga_0.png
    .
  • Launch Ubuntu
  • When Ubuntu vm is running, click Devices menu on VirtualBox' Explorer window, choose Install Guest Additions. Do this even if you are sure GA is already installed, no harm in reinstalling:
    .
    Screen resolution in Virtual Box with Ubuntu-vb_ga_1.png
    .
  • This attach the GA ISO as a DVD drive to Ubuntu vm. Right click the drive symbol on desktop and choose Open with autorun prompt, or open your home folder from Ubuntu's Places menu, click VBADDITIONS drive symbol to open the drive, and click Open autorun prompt:
    .
    Screen resolution in Virtual Box with Ubuntu-vb_ga_2.png
    .
  • This opens a dialog to confirm you want to run the setup:
    .
    Screen resolution in Virtual Box with Ubuntu-vb_ga_3.png
    .
  • Next a dialog appears asking you to provide the root (administrator) password. By default it is the same as your user password:
    .
    Screen resolution in Virtual Box with Ubuntu-vb_ga_4.png
    .
  • You can now see Guest Additions being installed. If GA was already installed, setup first uninstalls and then reinstalls. When installation is done, you are asked to press Return to close the window:
    .
    Screen resolution in Virtual Box with Ubuntu-vb_ga_5.png
    .
  • Reboot Ubuntu
  • Now you can see all possible resolutions:
    .
    Screen resolution in Virtual Box with Ubuntu-vb_ga_6.png
    .
  • If you change resolution from here (Ubuntu > System > Preferences > Monitors), only the resolution of Ubuntu is changed but Windows Explorer window for VirtualBox vm stays as it was, causing a not so nice looking experience. For instance, here I have chosen 640 * 480 resolution in Ubuntu when Windows Explorer window is full screen:
    .
    Screen resolution in Virtual Box with Ubuntu-vb_ga_7.png
    .
  • Clicking restore button on Windows Explorer window instead, or resizing this Explorer window in Windows, Ubuntu automatically changes resolution to that of the Explorer window (minus Explorer's menu bar and status bar):
    .
    Screen resolution in Virtual Box with Ubuntu-vb_ga_8.png
Conclusion: after installing GA on a VirtualBox vm running on Windows 7, change the resolution of ANY virtual machine, Linux, Solaris or Windows, by resizing the Windows Explorer window. Do not use native resolution settings on OS installed on vm.

Kari


My System SpecsSystem Spec
08 Dec 2010   #25
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Kari, thank you very much taking the time for such a detailed tutorial. Good news is that I did exactly what you have done. Bad news is that it did not change anything. I will give it a rest for a while and work with the little window.
What puzzles me is that I had a much larger resolution when I was running Win7 Beta. I wonder whether it is a driver problem in Ubuntu.
My System SpecsSystem Spec
08 Dec 2010   #26
Kari

 

Do you have the latest, both Ubuntu and VirtualBox. The procedure I followed works with all defaults with Ubuntu 10.10 and VBox 3.12.12. I have now tested on two desktops and a laptop. One DT and LT running Seven Enterprise, second DT Seven Ultimate.

Kari
My System SpecsSystem Spec
08 Dec 2010   #27
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Good News - Just discovered that when I maximize the Win7 window, the Ubuntu screen will follow and become full size - who would have thunk. Again thanks to everybody helping me. It is fun to discover another OS. I am starting to get the hang of it.

Look at this beautiful screen:

My System SpecsSystem Spec
08 Dec 2010   #28
Kari

 

YES!

Just to please us, what happens now when you restore the Explorer window, or drag the window handles?
My System SpecsSystem Spec
08 Dec 2010   #29
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Kari, it stays full screen (always according to the Explorer drag size). And even when I restart Ubuntu, it comes back as full screen.
Another advantage I discovered is that the cursor need not be captured with a click anymore. It captures automatically when i am on the corresponding window. So I can work simultaneously in Ubuntu and Win7 without switching the cursor. And my tweaked Vista sidebar as well as the Win7 taskbar stays up. My Win7 Rocket Dock is also fully functional. So I have access to both systems at the same time.

The whole excercise is really a test for the Windows8 Beta which I first plan to run in vBox. And at the same time I learn a bit of Ubuntu - amazing how much one can learn in just a few days. I even ventured into Ubunto Command Prompt - which thay call "Terminal".
My System SpecsSystem Spec
08 Dec 2010   #30
Kari

 

Wolfgang, sooner than you can think of you sudo apt-get install this and bzip2 -dc that, compiling Linux kernel to better work for you, joining a Linux forum to offer your assistance.

Mouse integration, as well as cross OS copy & paste which you should also have now, are integrated parts of VirtualBox Guest Additions not available without GA, so the question is fully answered: you have successfully installed the Guest Additions.

Have fun with Ubuntu. When you have played with it a bit more, try another distro. My favorite is OpenSUSE 11.3.

Kari

EDIT: A wonderful site for VirtualBox users, lots of free or almost free virtual disk images with pre-installed OS's, inclusive all possible Linux distros: http://virtualboximages.com/
My System SpecsSystem Spec
Reply

 Screen resolution in Virtual Box with Ubuntu




Thread Tools




Similar help and support threads
Thread Forum
Creating VM in virtual box with Ubuntu
I already have Ubuntu set up as a dual boot with win7 64. Is there a way to install virtual box and create a vm (point it to the installed Ubuntu) so I don't have to reinstall Ubuntu? I currently have Ubuntu on my second hard drive. This will be my 1st time using virtual box. Have used fusion on my...
Virtualization
Virtual PC and Ubuntu 11.04
G'day, I've decided to expand my boundaries, and experiment with both virtualisation and Linux. This is something completely new to me as I have never attempted to use either before. I propose to follow Kari's excellent tutorial for the task: ...
Virtualization
How to install Ubuntu on Windows Virtual PC?
How to install Ubuntu on Windows Virtual PC? (NOT Microsoft Virtual PC 2003 or 2007)
Virtualization
A new Ubuntu Virtual Machine question
Hi Frinds ! After a lot of hard work and great support from you friends (in this thread : https://www.sevenforums.com/virtualization/61038-how-run-ubuntu-vmware.html) , I am able to run an Ubuntu VM properly in Windows 7 host. But still I have a few problems. Hope I will get your support as usual...
Virtualization
Screen Resolution W7 64-bit vs Virtual XP
32-bit programs installed and launched in Windows 7 64-bit have LOWER resolution than the same program installed and launched in Virtual XP Mode. In the attached example, The left Chrome was opened in 64-bit, the right in XP Mode. The resolution on the right is visibly greater. ?????...
General Discussion
Virtual PC Beta for Ubuntu
Is it possible to use the Virtual PC Beta in 7 for another OS? From my understanding, previous versions of VPC use software virtualisation while this beta uses hardware virtualisation, so it's better for testing other operating systems.
Virtualization


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:18.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App