
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm

If you manually resize the window on the host you'll only zoom on the image returned by the VM, so of course this gives a very bad image quality.Ĭhange the screen's resolution in the VM's configuration, either via the GUI, or directly via the command line with xrandr.įirst run xrandr with no arguments, it'll display all outputs (in this case they're just the virtual outputs emulated by VirtualBox).

Insert the commands in the file after these linesĪfter following these steps, switch your VirtualBox ubuntu VM into full screen mode either via the Machine > Switch to Fullscreen menu item or Host Key + F.The window size is controlled by the VM's screen resolution. To make the changes permanent, you need to edit the default file to insert the commands that we just executed. The Modeline output from the cvt command should be passed as a parameter to the xandr command as shown here: Here's a summary of the steps creating a new resolution of 1366x768: You'll replace all references to VGA1 in the commands to VBOX0. Execute the xrandr command to get the name of your display which is used as a parameter in several of the commands. I found a very good description of the steps on the ubuntu geek site. My first step was to setup the modes for the System > Preferences > Monitors tool. What follows are the instructions using xrandr but the steps above worked for me under Ubuntu 10.10. $VBoxManage controlvm winbox setvideomodehint 1920 1200 24

If you still can't get the resolution you want, try the following: Do this in the VB Manager under Settings > Display. If you're running in a very high resolution, like 1920x1200, you must also configure the VirtualBox Guest to give it 128Mb of display memory. $ sudo apt-get install build-essential linux-headers-$(uname -r) I'm trying out ubuntu on my Windows 7 laptop under VirtualBox and I'd like to switch to full screen mode on my Toshiba laptop which is 1366x768 and on my desktop system which is 1920x1200.īefore you start this process, you must have the VirtualBox Guest Additions installed.
