nvidia x server settings not saving......

Asked by natethagreat

I just recently did a clean install of Ubuntu 9.10. Now I am having trouble I the tv out on my graphics card. I have installed the nvidia drivers, and when I run the Nvidia X Server Settings, I can adjust everything.... Get the tv out working and all that good stuff. The problem is when I try to Save the x configure file. i get the message "Failed to parse existing X config file '/etc/X11/xorg.conf'!"..

I have tried running in terminal and it didn't work either.

this is what the /ect/x11/xorg.conf file currently shows....

Section "Screen"
 Identifier "Default Screen"
 DefaultDepth 24
EndSection

Section "Module"
 Load "glx"
EndSection

Section "Device"
 Identifier "Default Device"
 Driver "nvidia"
 Option "NoLogo" "True"
EndSection

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xserver-xorg-video-nv Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

run: sudo nvidia-xconfig; gksudo nvidia-settings

You can now save to the file, should be ok

Revision history for this message
natethagreat (natethagreat) said :
#2

Thanks actionparsnip, that solved my question.

Revision history for this message
natethagreat (natethagreat) said :
#3

Thanks, I realy appreciate your help. It is working now.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Karmic (annoyingly) doesnt ship with an xorg.conf file so you needed to make one using nvidia-xconfig

I have made a fair bit of noise about this file lacking as it is REALLY handy and in some cases NEEDED to make suff work. Canonical seem to think HAL and UDEV will detect everything ever and autoconfigure but this simply isnt the case

Revision history for this message
Matthieu (matthieu-vs) said :
#5

Hi actionparsnip, will your answer also work on other linux distro's?
I experienced the same on the OpenSuse 11.2 distro.
The Ubuntu distro 9.04 seemed no to be bothered with no saving the config, when I upgraded to 9.10 the error message also showed up.
Is this specific for nvidia cards?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Sure, xorg is xorg and nvidia is nvidia

Should be universal to all Linuxes using NVidia if there is no skeleton xorg.conf file for the app to manipulate.

Revision history for this message
Cushie (redhotwal) said :
#7

  Thanks for the 'gksudo nvidia-settings' but when I boot up from cold I am only offered the 'low res' option which I accept then do a 'sudo /etc/init.d/gdm restart' to get into the correct resolution. Fine but Gnome desktop graphics are 'cocked up'. For example the terminal is just a blank white box and is unusable. I've even gone back to 'Appearance/Visual effects/ none. How do get the normal desktop back?