I am trying to change resolution in ubuntu 10.04 ( as I am used to do in earlier versions) but It didn't works for me!

I want to change the resolution to be 1024x768 (that doesn't appear by default in System>Preferences>Display)!! please help

2 Answers 2


Actually, the solution was the following:

Section "Device"
    Identifier  "Configured Video Device"
    Driver      "vesa"

Section "Monitor"
    Identifier "Generic Monitor"
    Option "DPMS"
    HorizSync 27-149
    VertRefresh 43-172

Section "Screen"
    Identifier "Default Screen"
    Device "Generic Video Card"
    Monitor "Generic Monitor"
    DefaultDepth 24
        SubSection "Display"
        Depth 24
        Modes "1280x800" "1024x768" "800x600" "640x480"
  • 1
    could you mention where to apply that solution? what file does that go in? is it /etc/X11/xorg.conf ?
    – JustJeff
    Commented Jul 18, 2010 at 12:55
  • Ya, If you haven't one, create one, X11 still can read it if you create one in /etc/X11 Commented Jul 30, 2010 at 12:04
  1. Start Virtual box and log into Ubuntu.

  2. Hit the right ctrl key so you can get your mouse pointer outside the virtual machine.

3.Go to top of virtual window, click on devices then select "Install Guest Additions" You will see a window pop up inside Ubuntu showing you that there are some new files mounted in a virtual CDROM drive. One of those files should be VBoxLinuxAdditions.run

You must run the file with some admin permissions so do that this way...

  1. Click inside the Ubuntu screen again then go to Applications - Accessories then Terminal. The terminal window is where you will run the file from, but first we must navigate to the correct directory.

  2. type this... cd /media/cdrom0 (then hit enter, there is a space after cd!)

  3. next type... dir (You should see amongst the files displayed VBoxLinuxAdditions.run)

  4. now type... sudo sh ./VBoxLinuxAdditions.run (yes, that is a full stop before the slash!)

after you hit enter and it has done its stuff, the files are now accessable from Ubuntu.

  1. You now need to reboot the virtual machine or press Ctrl+Alt+backspace.

  2. Log onto the Ubuntu desktop and this time go to System - Preferences then Screen Resolution. You should now have more options than the three low res options you had at the beginning of the day!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .