You are on page 1of 4

Instructions on Adjusting Resolution in VirtualBox Running Ubuntu.

When first installing Ubuntu using VirtualBox in a Windows environment the native display appears bloated. The following steps should work to adjust the Display Resolution to your liking.

Nvidia Drivers Version 280


Open a terminal window. Add the repositories necessary to install Nvidia drivers. sudo apt-add-repository ppa:ubuntu-x-swat/x-updates Update repositories. sudo apt-get update Install current Nvidia drivers. sudo apt-get install nvidia-current Open the Nvidia Control Panel sudo nvidia-settings You should see the following message.

Close the Control Panel. Then run the following command, which should add xorg.conf,a file necessary to adjust resolution. sudo nvidia-xconfig Navigate to X11 directory.

cd /etc/X11 Open xorg.conf in a text editor. sudo emacs xorg.conf or sudo vi xorg.conf Navigate to the following section in xorg.conf .

Modify the section to look like:

SubSection Display Depth 24 Modes 1920x1200 EndSubSection Restart virtual machine and the resolution should default to the one added.. If this does not adjust your resolution, launch nvidia-settings from terminal once again. If you still see the message you experienced earlier, uninstall the nvidia drivers using the following.

sudo apt-get remove nvidia-current nvidia-current-updates nvidia-settings nvidia-settings-updates You will then follow the installation instructions for version 173

Nvidia Drivers Version 173 (Older possibly more stabile)


Update repositories.

sudo apt-get update Install current Nvidia drivers.

sudo apt-get install nvidia-173 Open the Nvidia Control Panel sudo nvidia-settings You should see the following message.

Close the Control Panel. Then run the following command, which should add xorg.conf,a file necessary to adjust resolution. sudo nvidia-xconfig Output:

Navigate to X11 directory. cd /etc/X11 Open xorg.conf in a text editor. sudo emacs xorg.conf or sudo vi xorg.conf Navigate to the following section in xorg.conf .

Modify the section to look like:

SubSection Display Depth 24 Modes 1920x1200 EndSubSection Restart virtual machine and the resolution should default to the one added.

You might also like