Xorg Res Problems
So you've got a fresh Ubuntu install and on your first boot are greeted
with a very low screen resolution, when you know your hardware can do
better. This is a common problem with Xorg on any version of Linux.
Luckily its usually a easy fix. Here is my brief guide on how to
This is by no means a exhaustive guide to all things Xorg, but is my advice which has helped many thus far on forums.
Here is mine. I have a nvidia video card which I will give some advice
about a bit later. The text in red is what I would add to enable 1280 x
1024 resolution. The same principal work for all resolutions like 1600
800 x 600 etc... Just add the new resolution in the correct order of
the list under each depth and save the file. Then log off and back on
and it should be available to select under System -> Preferences -> Screen Resolution in gnome, if it is not activated by default
If the desired resolution still does not work then your monitor refresh
rate may be incorrectly set. Either set it manually like below (Those
numbers work for my 17in monitor, may not work for all so be advised)
Or re-run the xorg configuration program using this command sudo dpkg-reconfigure xserver-xorg You can usually safely accept the defaults untilyou come to the monitor configuration select"medium" not "simple" Doing this allows you to choose a monitor that supports your desired resolution, That should fix it all for you.
Here is the code to manually add the refresh rate
Identifier "Generic Monitor"
When nvidia-glx-config enable fails
Changing the driver to nvidia will cause xorg to fail to load if you do
not have a nvidia card, or something is missing from your install.
Therefore the command to enable it will fail if it detects anything out
if the ordianry, For example the "nv" driver not being used. As long as
you have a nvidia card and have the nvidia-glx and restricted modules
installed enabling it should be safe. If enabling it causes xorg to not
load then simply change it back to what it was before.
For those with nvidia cards installing the nvidia-glx package to get 3d acceleration who get this error message when running
sudo nvidia-glx-config enable
Error: your X configuration has been altered.
This script cannot proceed automatically. If you believe that this
not correct, you can update the md5sum entry executing the following
md5sum /etc/X11/xorg.conf | sudo tee /var/lib/x11/xorg.conf.md5sum
otherwise edit manually /etc/X11/xorg.conf to change the Driver section
from nv to nvidia.
Just edit your Xorg.conf file using like this.
To edit from within gnome run:
gksudo gedit /etc/X11/xorg.conf
To edit from a command line use:
sudo nano /etc/X11/xorg.conf
When you look at this section below change the driver to "nvidia" not "nv" or "vesa" Then save and logoff/on