Camelfreehumps
Posts: 4
Joined: Sun Jul 29, 2012 3:03 pm

unable to save changes in config.txt file

Fri Oct 19, 2012 10:22 pm

I can change values in the config.txt file but the system will not allow me to save the changes.It reports "unable to open file" What am i not doing?

bbailey9
Posts: 6
Joined: Thu Oct 18, 2012 6:55 pm
Location: Lafayette, IN

Re: unable to save changes in config.txt file

Fri Oct 19, 2012 10:28 pm

You need to be logged on as the root user in order to make changes to config.txt.

Camelfreehumps
Posts: 4
Joined: Sun Jul 29, 2012 3:03 pm

Re: unable to save changes in config.txt file

Sat Oct 20, 2012 12:56 am

I am logged in as Root The system returns a message" /usr/bin/x-terminal emulator prog'
was started with the privilages of root without the need of a password due to systems
authentication mechanism setup"

User avatar
malakai
Posts: 1382
Joined: Sat Sep 15, 2012 10:35 am
Contact: Website

Re: unable to save changes in config.txt file

Sat Oct 20, 2012 2:32 am

Not sure how your setup is or the command you used to edit

But typically just:


sudo nano /boot/config.txt

edit what you need

CTRL+X answer y then hit Enter

If not try posting what steps and results you are using to produce the errors.
http://www.raspians.com - always looking for content feel free to ask to have it posted. Or sign up and message me to become a contributor to the site. Raspians is not affiliated with the Raspberry Pi Foundation. (RPi's + You = Raspians)

User avatar
Onira
Posts: 237
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: unable to save changes in config.txt file

Sat Oct 20, 2012 6:52 am

I had something similar
and I could not change the overscan

I restarted RPi pressed enter to go to system installer, clicked Advanced
and there's an option to edit config.txt file
Cogito ergo sum

Bombadil
Posts: 3
Joined: Sun May 20, 2012 12:16 pm

Re: unable to save changes in config.txt file

Mon Oct 22, 2012 8:35 pm

I open the file with sudo nano /boot/config.txt
I can save the file successfully.
When running sudo nano /boot/config.txt again it shows me the changes I made.

However, when rebooting to make linux use the changed settings, the config.txt turns back into it's original unchanged version and all my changes are gone.

Why might that be and how can I make my changes stay?

Bombadil
Posts: 3
Joined: Sun May 20, 2012 12:16 pm

Re: unable to save changes in config.txt file

Mon Oct 22, 2012 9:52 pm

I managed to make the changes constant via sudo chmod 444 /boot/config.txt
However I don't think that's how it is meant to be and would rather solve the issue in a more approriate way than with that dirty fix

Return to “Troubleshooting”