Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-17-10, 08:19 PM   #1
zim2dive
Registered User
 
Join Date: Dec 2008
Posts: 145
Default nvidia-settings refuses to save xorg.conf anywhere

I've long had the issue where EVERY reboot I have to manually change the refresh rate.. no matter how many times/ways I saved xorg.conf... it never stuck.

Today I updated to 195.36.15 and installed a GT240.

LOL, now nvidia-settings says it can't save xorg.conf... anywhere.. even in my $HOME. I've tried launching thru the normal GUI menus, as well as launching via sudo on the command line.

I can still change the refresh (and I have to).. but now it won't save nor merge.

I did "preview" the file, and copied and pasted the text manually.

Just checking to see if anyone has run into this. Ubuntu 9.10.
zim2dive is offline   Reply With Quote
Old 04-17-10, 09:04 PM   #2
Arup
Registered User
 
Join Date: May 2009
Posts: 122
Default Re: nvidia-settings refuses to save xorg.conf anywhere

You have to do gksudo nvidia-settings in terminal and then save to X. in case you want brightness settings to load when you reboot, just do regular nvidia-settings and save the brightness and other values and then add a startup entry nvidia-settings --load-config-only

For X sudo is needed.
Arup is offline   Reply With Quote
Old 04-18-10, 02:50 PM   #3
zim2dive
Registered User
 
Join Date: Dec 2008
Posts: 145
Default Re: nvidia-settings refuses to save xorg.conf anywhere

Quote:
Originally Posted by Arup View Post
You have to do gksudo nvidia-settings in terminal and then save to X. in case you want brightness settings to load when you reboot, just do regular nvidia-settings and save the brightness and other values and then add a startup entry nvidia-settings --load-config-only

For X sudo is needed.
no dice
Quote:
gksudo nvidia-settings &
[1] 20626
htpc:/home/zimmy > return self._proxy_method(*args, **keywords)
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 649, in _message_cb
(candidate_method, parent_method) = _method_lookup(self, method_name, interface_name)
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 244, in _method_lookup
raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface))
UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: backupAndWriteXorgConf is not a valid method of interface com.ubuntu.ScreenResolution.Mechanism


ERROR: Unable to open X config file '/etc/X11/xorg.conf' for writing.
zim2dive is offline   Reply With Quote
Old 04-19-10, 01:51 AM   #4
Dizzle7677
Registered User
 
Dizzle7677's Avatar
 
Join Date: May 2008
Location: Relativity
Posts: 194
Default Re: nvidia-settings refuses to save xorg.conf anywhere

Quote:
LOL
You have to give your username read/write permission to the /etc/X11 directory or just the file itself depending on what filesystem you use.
Dizzle7677 is offline   Reply With Quote
Old 04-19-10, 02:21 AM   #5
Fackamato
User
 
Join Date: Mar 2005
Posts: 366
Default Re: nvidia-settings refuses to save xorg.conf anywhere

Quote:
Originally Posted by Dizzle7677 View Post
You have to give your username read/write permission to the /etc/X11 directory or just the file itself depending on what filesystem you use.
Bad idea.
Fackamato is offline   Reply With Quote
Old 04-19-10, 06:13 AM   #6
zim2dive
Registered User
 
Join Date: Dec 2008
Posts: 145
Default Re: nvidia-settings refuses to save xorg.conf anywhere

Quote:
Originally Posted by Dizzle7677 View Post
You have to give your username read/write permission to the /etc/X11 directory or just the file itself depending on what filesystem you use.
Completely wrong. You'll note this was launched with sudo.

Also once /etc/X11/ failed, I then tried to save to my home directory (if you' read completely), where I most certainly have write permissions.
zim2dive is offline   Reply With Quote
Old 04-19-10, 08:31 AM   #7
Arup
Registered User
 
Join Date: May 2009
Posts: 122
Default Re: nvidia-settings refuses to save xorg.conf anywhere

Looks like no nvidia xconfig file, try gksudo nvidia-xconfig and then nvidia-settings
Arup is offline   Reply With Quote
Old 04-19-10, 09:02 AM   #8
zim2dive
Registered User
 
Join Date: Dec 2008
Posts: 145
Default Re: nvidia-settings refuses to save xorg.conf anywhere

Quote:
Originally Posted by Arup View Post
Looks like no nvidia xconfig file, try gksudi nvidia-xconfig and then nvidia-settings
Will give that a shot tonite, thanks!
zim2dive is offline   Reply With Quote

Old 04-19-10, 04:16 PM   #9
zim2dive
Registered User
 
Join Date: Dec 2008
Posts: 145
Default Re: nvidia-settings refuses to save xorg.conf anywhere

Quote:
Originally Posted by Arup View Post
Looks like no nvidia xconfig file, try gksudo nvidia-xconfig and then nvidia-settings
that didnt work either
Code:
>gksudo nvidia-xconfig (y|n|e|a)? yes

Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

htpc:/home/zimmy >gksudo nvidia-settings &
[1] 2676
htpc:/home/zimmy >Traceback (most recent call last):
  File "/usr/share/screen-resolution-extra/nvidia-polkit.py", line 75, in <module>
    operation_status = main(options)
  File "/usr/share/screen-resolution-extra/nvidia-polkit.py", line 51, in main
    exit_code = conf.backupAndWriteXorgConf([options.backup_filename, options.filename])
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 649, in _message_cb
    (candidate_method, parent_method) = _method_lookup(self, method_name, interface_name)
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 244, in _method_lookup
    raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface))
UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: backupAndWriteXorgConf is not a valid method of interface com.ubuntu.ScreenResolution.Mechanism


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


[1]    Done                          gksudo nvidia-settings
htpc:/home/zimmy >ls -al /etc/X11/xorg.conf
-rw-r--r-- 1 root root 1982 2010-04-19 17:14 /etc/X11/xorg.conf
zim2dive is offline   Reply With Quote
Old 04-19-10, 06:15 PM   #10
ledoc
Registered User
 
Join Date: Jan 2008
Posts: 330
Default Re: nvidia-settings refuses to save xorg.conf anywhere

Are you using something like SELinux et al?
ledoc is offline   Reply With Quote
Old 04-19-10, 07:09 PM   #11
zim2dive
Registered User
 
Join Date: Dec 2008
Posts: 145
Default Re: nvidia-settings refuses to save xorg.conf anywhere

Quote:
Originally Posted by ledoc View Post
Are you using something like SELinux et al?
Ubuntu 9.10 and the nvidia PPA (tho it seems like I have to do a full remove/purge then install the new version each time)
zim2dive is offline   Reply With Quote
Old 04-19-10, 11:50 PM   #12
Arup
Registered User
 
Join Date: May 2009
Posts: 122
Default Re: nvidia-settings refuses to save xorg.conf anywhere

Quote:
Originally Posted by zim2dive View Post
Ubuntu 9.10 and the nvidia PPA (tho it seems like I have to do a full remove/purge then install the new version each time)
Are you installing driver via PPA or via run file from nvidia's site?
Arup is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:43 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.