Use xrandr in your guest, In your case "ubuntu" BUT PAY ATTETION in a "BRAND NEW TERMINAL"
Example:
$ xrandr -q
Screen 0: minimum 64 x 64, current 3200 x 900, maximum 32000 x 32000
VBOX0 connected 1600x900+0+0 0mm x 0mm
1600x900 60.0*+
1600x1200 60.0
1440x1050 60.0
1280x960 60.0
1024x768 60.0
800x600 60.0
640x480 60.0
VBOX1 connected 1600x900+1600+0 0mm x 0mm
1600x900 60.0*+
1600x1200 60.0
1440x1050 60.0
1280x960 60.0
1024x768 60.0
800x600 60.0
640x480 60.0
As you can see I dont have 1920x1280 so I did:
xrandr --newmode "1920x1280" 60.0 1920 1600 1600 1440 1280 1024 800 640 -hsync +vsync
and now ...
xrandr --output VBOX1 --mode 1920x1280
and now ...
$ xrandr -q
Screen 0: minimum 64 x 64, current 3520 x 1280, maximum 32000 x 32000
VBOX0 connected 1600x900+0+0 0mm x 0mm
1600x900 60.0*+
1600x1200 60.0
1440x1050 60.0
1280x960 60.0
1024x768 60.0
800x600 60.0
640x480 60.0
VBOX1 connected 1920x1280+1600+0 0mm x 0mm
1920x1280 60.0 + 65.1*
1600x1200 60.0
1440x1050 60.0
1280x960 60.0
1024x768 60.0
800x600 60.0
640x480 60.0
Make sure your "host" have resolution to your VBOX1.
Regards,
4Did you install the Virtual Box Guest Additions? I'm pretty sure they're required to be able to adjust the resolution. – Velociraptors – 2010-08-06T22:50:49.000