You are not logged in.
Pages: 1
nvidia-xconfig
WARNING: Unable to locate/open X configuration file.
WARNING: Unable to parse X.Org version string.
ERROR: Unable to write to directory '/etc/X11'.
Can someone explain me why i m having this error?
Last edited by hugana (2025-03-16 12:27:36)
Offline
what command were you trying to run that produced these errors? what were you trying to do in general? what reference page were you following?
Offline
i was just checking the arch wiki for nvidia, making the automatic configuration. I have KDE plasma and i m using X11 is this Xorg?
Last edited by hugana (2025-03-10 02:54:39)
Offline
you don't need to make a xorg config if you are using kde plasma
Offline
if i m using X11 i dont need to make any nvidia-xconfig like its saying in the wiki? so i just skip that and wayland aswell?
Offline
if i m using X11 i dont need to make any nvidia-xconfig like its saying in the wiki? so i just skip that and wayland aswell?
I don't know what wiki page you are following, but the wiki for nvidia states (or insinuates) that for wayland, it's the compositor that's doing the work for you when it comes to configs
for x11, it states:
The proprietary NVIDIA graphics card driver does not need any Xorg server configuration file. However, it may be required to create a configuration file (prefer /etc/X11/xorg.conf.d/20-nvidia.conf over /etc/X11/xorg.conf) in order to adjust various settings.
You would only need those configuration files to adjust settings. Those settings are usually only necessary when using a DE that doesn't do the work for you. When it comes to KDE plasma, you wouldn't necessarily need a manually created xorg conf
Offline
"
nvidia-xconfig
WARNING: Unable to locate/open X configuration file.
WARNING: Unable to parse X.Org version string.
ERROR: Unable to write to directory '/etc/X11'.
Can someone explain me why i m having this error?
---
I received a similar error when I ran `nvidia-xconfig` without sudo privileges.
Running `sudo nvidia-xconfig` and waiting ~30 seconds while `WARNING: Unable to locate/open X configuration file.` displayed, the command was able to fully complete. I did not get the "Unable to parse X.Org version string" error you did though.
Offline
DO NOT GENERATE STATIC X11 SERVER LAYOUTS.
LET ALONE BY SOME AUTOMATIC TOOL!
This has nothing to do with the x11 session you're running.
They're all dated back into the time befire Xorg had autoconfiguration and create cruft that will typicall either break stuff or stash problems behind the enforced setup.
Remove any kind of /etc/X11/xorg.conf that you have not written yourself because either you or the person instructing you knows what they're doing.
The canonical approach to nudge the server - ifff necessary at all - is via very specific drop-in configlets in /etc/X11/xorg.conf.d
Static server configurations are extremely rarely required for very specific setups in more complex hardware configurations.
Last edited by seth (2025-03-10 08:47:33)
Offline
Pages: 1