How do they differ. What are their functionality. I'm new to ubuntu and i'm using ubuntu 12.04LTS.
Here are their contents.
xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 304.88 (buildmeister@swio-display-x86-rhel47-14) Wed Mar 27 15:36:45 PDT 2013
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
xorg.conf.failsafe
Section "Device"
Identifier "Configured Video Device"
Driver "vesa"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
- why is xorg.conf.nvidia-xconfig-original empty?
- why does xorg.conf.failsafe lists vesa as driver?
xorg.conf is the one that is being used, if available. It is no longer required, which is why the original was empty; normally, it's not even present, but certain install scripts, such as nvidia, will create backup copies when making a change.
So, the failsafe copy is one that will work, but at a reduced resolution and functionality. It may have been created by an old installer, as I don't think nvidia creates that. But I no longer have nvidia drivers, so I could be mistaken. If you run the nvidia script more than once, you'll end up with more backups.
If there is ever a problem with video, such as no GUI at all, you can often use a terminal to go into the directory and rename the files to change the behavior. In theory, you can rename xorg.conf to xorg.conf.1, or anything else you want, and then copy the failsafe version to xorg.conf.
There is some good information on askubuntu, such as this:
man xorg.conf
will give you a lot of information in this sense:xorg.conf.failsafe
file is for the case in which you messed up something on your machine and you need to boot in failsafe mode. For this reason the use of the generic VESA video driver. Again, for more information you can callman vesa
:And finally, for
xorg.conf.nvidia-xconfig-original
file, again you will find enough information in man pages.man nvidia-xconfig
: