← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 477309] Re: When trying to save new X configuration, I get an error message: Failed to parse existing x config file '/etc/X11/xorg.conf'

 

I'm running kubuntu 10.04 and had the same problem. First, it would fail
to parse the xorg.conf file, so i removed it and ran nvidia-xconfig. It
warned me that pkg-config was not found, so I installed it and ran
nvidia-xconfig again. Now nvidia-settings kept saying "Unable to open X
config file '/etc/X11/xorg.conf' for writing.", so I ran it from konsole
and noticed this:

Traceback (most recent call last):
  File "/usr/share/screen-resolution-extra/nvidia-polkit.py", line 20, in <module>
    import gtk, gobject, sys, dbus, logging, os, re
ImportError: No module named gtk

ERROR: Unable to open X config file '/etc/X11/xorg.conf' for writing.

So I installed the package python-gtk2 and ran nvidia-settings again. It
worked perfectly.

-- 
When trying to save new X configuration, I get an error message: Failed to parse existing x config file '/etc/X11/xorg.conf'
https://bugs.launchpad.net/bugs/477309
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-settings in ubuntu.



References