"You do not adequate permission to open existing X configuration file"

I am trying to “Save to X Configuration File”, but I get the error, “You do not have adequate permission to open the existing X configuration file ‘/etc/X11/xorg.conf’ for writing. You must be ‘root’ to modify the file.”

Could someone please help me here?

use sudo.

2 Likes

Incase the above instruction isn’t completely clear, you need to invoke the text editor you’re using with sudo.

IE if using, say, nano, instead of nano /etc/X11/xorg.conf you would use sudo nano /etc/X11/xorg.conf

It’s designed to protect important files from being edited unintentionally.

More info about sudo:

Thanks!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.