View Full Version : [xubuntu] 800 x 600 max resolution on VirtualBox ?

May 21st, 2008, 10:33 PM

I'm using Xubuntu on a VirtualBox 1.6.0 and the screen only shows at 800x600. I would like to use it in 1024x768.

I've used other distros (Slax, Puppy, DSL) and all OK. All of them allow 1024x768.



May 21st, 2008, 10:51 PM
so it does not give you the option for 800*600?

have you tried going into the xorg.conf file?

gksudo gedit /etc/X11/xorg.conf

May 21st, 2008, 10:53 PM
Moved to Virtualization.

Have you installed the Guest Extras package for VirtualBox? That is necessary to get full resolution in most guest OSes.

May 21st, 2008, 11:06 PM

How do I install Guest Extras package for VirtualBox? I Google it and I didn't found an howto.

I'm using an Intel Mac and VB1.6.0

/etc/X11/xorg.conf doesn't give me any information about the monitor resolution.

Thank you very much for your help.



May 22nd, 2008, 04:49 AM
You must open your Virtualbox image, I think its xxxxxxxx.vmx, where the x's are your image name.

Open it in a text editor, and add the following lines:

svga.maxWidth = "1400"
svga.maxHeight = "900"

Or whatever resolution you want. This should unlock the resolution you need in the display properties of your guest OS.

May 22nd, 2008, 08:08 PM
Skeet: Thanks for the help, but as I didn't found the files I looked in Google and the procedure you described is for Vmware. I'm using VirtualBox on the Mac.

Does anyone knows how to force Vesa card and 1024x768 ? I guess the reason that works in other OS'es is that they use this.



May 22nd, 2008, 08:43 PM

Here's how I did it:

1 - I've boted SLAX (A Linux Live CD distro) using xVesa for the graphics

2 - I've copied the file in Slax:


to an USB Pen

3 - I've copied the Ubuntu xorg.conf to the same USB

4 - I've edited the ubuntu file replacing some elements by the elements in the slax file.

5 - I've loged in Xubuntu in the terminal mode and then:

sudo cp ./xorg.conf /etc/X11/xorg.conf


6 - Just logged in normally.

May 22nd, 2008, 08:46 PM
Ah I didn't check what os you were using. I wasn't too sure if it worked in VirtualBox. Good job figuring it out though.

Have fun!

May 22nd, 2008, 08:55 PM
In case anyone needs it, the sections I've replaced:


Section "Device"
Identifier "VESA Framebuffer"
Driver "vesa"
#VideoRam 4096
# Insert Clocks lines here if appropriate

Section "Monitor"
Identifier "My Monitor"
HorizSync 31.5 - 150.0
VertRefresh 75-85

Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32

# "1024x768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"


Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen "Screen 1"



May 23rd, 2008, 05:08 PM
I have this same problem. Host=Gutsy, guest=Kubuntu 8.04 w KDE4.0.4. I copied my existing xorg.conf to the guest. Lost the graphical interface. Copied the original back. Tried the sample code at Innotek. That didn't work either.

CPU Intel DualCore
Video GeForce 8400
Monitor Samsung 226BW

I did see enough of Kubuntu to determine that I will install it as a dual boot. However, my wife needs to run XP and doesn't like dual booting so I'm hoping that I can get a full screen XP in VirtualBox.


May 23rd, 2008, 07:10 PM
i had the same problem with kubuntu 8.04 but solved it completely by mounting /usr/share/virtualbox/VBoxGuestAdditions.iso, opening it in Dolphin and double clicking on the install script for linux guest additions. then I just restarted the virtual machine and i got my max resolution, seamless mode, automatic guest screen resizing and the whole works.

May 24th, 2008, 08:11 AM
Bobland: Have you tried to:

1) Boot Slax in VESA ( 1024x768 )
2) Copy the xorg.conf sections above to a usb stick
3) Replace the same sections in your Kubuntu

Don't forget to make a backup of your old xorg.conf

It worked for me.



October 2nd, 2009, 12:05 AM
I found the best way to fix this was to install the guest additions option.

1) Load up Ubuntu in Sun VirtualBox
2) Click "Devices" at the top left
3) Choose "Install Guest Additions"

This will then put a picture of a cd on your desktop.

4) Open this cd up to view the files

5) Double click autorun.sh
6) At the prompt click "Run in Terminal"

This will then install a few moduals onto your Ubuntu Guest OS, once it has successfully installed restart and your graphics res problem should be fixed, PLUS you should be able to use seemless mode and the mouse intergration option. Both very fun to play with :-)

Hope this helps!



October 2nd, 2009, 12:06 AM
This thread is a year and a half old. O_o

May 27th, 2010, 04:11 PM
so it does not give you the option for 800*600?

have you tried going into the xorg.conf file?

gksudo gedit /etc/X11/xorg.conf

My xorg.conf file is empty.
I can't reconfigurate Ubuntu 10.04 monitor resolution into VirtualBox.
I've looked in a lot of threads and places, Googled...
Does anybody know a real solution?
Of course I have the latest VirtualBox and the latest Guest Addons installed.