I have an ubuntu 24.04 LTS new installation.
Hardware: CPU: AMD Ryzen 5 7600 6-Core, Graphics card: GeForce RTX 3050.
Desktops: MATE, Ubuntu (for test purpose).
Due to problems with the Nouveau driver I switched to the nvidia driver 550. Then I called nvidia-settings (automatically installed together with the nvidia driver) and altered settings there.
When I click "Save to X Configuration File", the application wants to save to
/etc/X11/xorg.conf by default.
When I click "Save" then, I have to authenticate as sudoer.
But thereafter the following message appears:
"Unable to open X config file '/etc/X11/xorg.conf' for writing".
Even when I touch the file before trying to write it and set the file mode to -rw-rw-rw-, the same message appears.
The effect is: Each time after login I have to newly apply the changes in nvidia-settings.
Any ideas?