Screen Resolution on VirtualBox

Asked by Imran Shahid

I previously used Ubuntu 7.10 on VirtualBox and its screen resolution was 1024*768, where my monitor's screen resolution is 1280*1024.

Now I have installed Ubuntu 8.04 on VirtualBox with the same settings. Everything is fine except the screen resolution is 800*600 in the VirtualBox.

I have tried to reconfigure xorg but nothing different happened. It has only two options, 800*600 with refresh rate 61 or 640*480 with refresh rate 60.

Can anyone help me out here?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu virtualbox-ose Edit question
Assignee:
No assignee Edit question
Solved by:
Agusti Dosaiguas
Solved:
Last query:
Last reply:
Revision history for this message
Best Agusti Dosaiguas (agusti-dosaiguas) said :
#1

The same happens with Kubuntu 8.04 KDE 4.

I have installed both systems and this is what I had to modify on both of them after installing the VirtualBox Additions:

I modified the /etc/X11/xorg.conf file and added this to section Device:

   Driver "vboxvideo"

And this to the section Screen:

   DefaultDepth 24
   SubSection "Display"
      Depth 24
      Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection

Revision history for this message
Imran Shahid (imran.shahid) said :
#2

Thank you Agusti. You solved my problem.

Revision history for this message
JohnD (john-dove1) said :
#3

Make sure you use the latest VirtualBox version (1.5.6-1)

Install VirtualBox' "Guest Additions" (and reboot)

Open the "Screen and Graphics Preferences" dialog.
In Ubuntu 7.10 it was part of the "System/Administration" menu. For some reason it does not appear in Ubuntu 8.04 so a command line is needed in the console -
    sudo displayconfig-gtk

In this dialog change the graphic driver to "vboxvideo"
And change the screen model to "LCD Panel NNNNxNNNN" (whatever relevant to your actual screen).

Reboot, or logoff and relogin

Revision history for this message
Corey Downie (corey-downie) said :
#4

I changed my driver to vboxvideo as JohnD suggested, and was able to change my resolutions successfully. However , since doing so I cannot see the mouse cursor.

It is there, and i can click on things when i get lucky but I can't actually see the cursor.

Running vb 1.5.6 on XP

Revision history for this message
Imran Shahid (imran.shahid) said :
#5

I have changed to the latest version of VirtualBox 1.6 after Sun's acquisition of Innotek. I installed Ubuntu 8.04 on a virtual disk, then installed Guest Additions for Linux as described in the help file. Now the full screen shortcut key makes ubuntu span on the whole desktop and the screen resolution also re-adjusts itself accordingly.

Revision history for this message
giannisg (g-giagas) said :
#6

vboxvideo does not appear in the available drivers

Revision history for this message
aimforgrowth (tim-chesonis) said :
#7

Does anybody have any advise as to how to get "vboxvideo" drivers?