Ubuntu NVidia, Can't Save to xorg.conf

Recently I bought a second monitor for my home system. I installed the second monitor and booted into ubuntu only to find that the OS was only displaying on one screen. In order to fix this, I needed to run:

System -> Administration -> NVIDIA X Server Settings

... since I'm running with the NVidia propriatary drivers on my system. I found that I could configure the second monitor easily enough under "X Server Display Configuration" settings, but in order to make the changes *LIVE*, you have to hit the "Save to XX Configuration File".

This didn't work for me. Instead I got a "Can't Save to /etc/X11/xorg.conf" error message. I thought this might be a problem with permissions, but running the following:

"gksudo /usr/bin/nvidia-settings"

... got me the same results. After that I assumed it must be a parsing problem, and I found that I could have the NVIDIA driver re-write the xorg.conf file using the following command:

"sudo /usr/bin/nvidia-xconfig"

Then the driver re-wrote my xorg.conf, and I was able to run the "gksudo /usr/bin/nvidia-settings", and SAVE with no problems.

Hope this helps!

Comments

1
Jamie Krug

Hi Jordan, In an older version of Ubuntu, I ran into that problem, and recall I had to prepend gksu before the command in my launcher menu, but that was only one intermediate release for me. Also, I recently discovered disper, and it's AWESOME! I bring my laptop (System76 Serval Pro) to work everyday, plug in my monitor, resume--and I USED TO need to use the NVIDIA settings GUI and make about 20 clicks to setup twinview for both displays. Now, I click one little custom launcher (which is just a single disper command), and I have my dual display set exactly as I like! Beautiful. Check it out :) Cheers, Jamie

Write your comment

(it will not be displayed)

Leave this field empty: