If you are into virtualization with Sun xVM VirtualBox, there’s a great new simple solution to setting the guest virtual machine’s screen size/ resolution - since the release of VirtualBox version 1.6.2.
It’s a new VBoxManage command, explained in the Help Contents/ User Manual at section 9.12 under the heading “Configuring the maximum resolution of guests when using the graphical frontend”.
As the default screen resolution option was unsatisfactory for me, I found by trial and error that the perfect resolution for a Guest on my Host’s desktop (with a 19 inch LCD) is 1272 x 920. So in my HOST system, I shut down VirtualBox, then opened a terminal and typed:
VBoxManage setextradata global GUI/MaxGuestResolution 1272,920
This worked perfectly. Now when I run any guest machine in Virtualbox, the guest immediately opens to my desired screen size (1272x920) and it works consistently time after time. You can set any screen size you want this way. Absolutely no adjustments are required inside the guest machine’s settings.
Resizing the physical window doesn’t change the screen resolution inside it (for me anyway). I’ve almost universally had to modify the X configs by adding a mode line. Unless or until I do that my resolutions are always set to 1900x something on my Dell D520. Screen on my guests always extend way off the screen in either direction.
It’s an easy fix to be sure, but annoying none the less.