Resolution problem: Can't reach maximum resolution

This is for discussing general topics about how to use VirtualBox.
Post Reply
sim085
Posts: 26
Joined: 6. Jul 2007, 13:46

Resolution problem: Can't reach maximum resolution

Post by sim085 »

Hello, my hostOS (Windows7) can reach up to a resolution of 1280 x 1024. However my guestOS (Xubuntu 10.04) can only go up to 1152 x 864 and 1360 x 760. I have the guest addition installed. I did a search on the Internet and found out the following command:

Code: Select all

VBoxManage setextradata global GUI/MaxGuestResolution 1280,1024
However when I run this there is still no difference. In other words I still do not get the option to set my resolution to 1280 x 1024 in the gustOS. Does anyone know how I might solve this?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Resolution problem: Can't reach maximum resolution

Post by Perryg »

Make sure that the autoresize is activated in the guest. (host+g) toggle turns this on and off.
Also remember that the resolution for the guest is not set in the guest when using a virtual environment. Use the mouse click drag or the (host+f) toggle to go in and out of full screen.

host=right ctrl key unless you have changed it.
sim085
Posts: 26
Joined: 6. Jul 2007, 13:46

Re: Resolution problem: Can't reach maximum resolution

Post by sim085 »

Hi, thanks for the help. host+g did not do much. However I noticed in terminal that I am getting the following error:

Code: Select all

Starting the VirtualBox Guest Additions ...fail!
(modprobe vboxguest failed)
Starting VirtualBox Guest Addition service VirtualBox Additions module not loaded!
Could this be related to my resolution problem? and why am I getting this error?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Resolution problem: Can't reach maximum resolution

Post by Perryg »

Sure does. Usually you need to make sure that the kernel and headers match and that you installed

Code: Select all

sudo apt-get install dkms built-essential linux-headers-generic
Then install the guest additions again.
sim085
Posts: 26
Joined: 6. Jul 2007, 13:46

Re: Resolution problem: Can't reach maximum resolution

Post by sim085 »

Thanks, I managed to solve the VirtualBox Guest Addition problem following your advice. Regarding resolution, I followed your tutorial "Howto: Install Linux Guest Additions + Xorg config". In other words I created the xorg.conf file under /etc/X11/ directory and set the mode to my resolution.

Is this the right way to do it? And can I add more then one mode (coz it says Modes).

Thanks again for your help. Now I can use my guestOS in full screen mode :)
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Resolution problem: Can't reach maximum resolution

Post by Sasquatch »

I do hope you read the note at the beginning of the xorg configuration. You don't need it. All you need is to make sure the Machine menu reads "Enable automatic resize" or something like that. Then put the VM in full screen and voilà, it goes to your native resolution. Using xorg.conf does however disable this dynamic resizing (also noted in my howto).
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.
sim085
Posts: 26
Joined: 6. Jul 2007, 13:46

Re: Resolution problem: Can't reach maximum resolution

Post by sim085 »

Yes you are right. It seems that the only problem I had was the fact that my VirtualBox Guest Addition was not installed correctly. I now deleted the xorg.conf file I had written and the guestOS resolution is adapting according to window size which is great :) Thanks again for all the help!!
Post Reply