You are not logged in.
Pages: 1
Ok, so I'm unsure this belongs here but it seemed like the most approprite section and I'm sorry if it's not.
So I recently reformated my pc to arch and installed the nouveau driver, then I decided I wanted play dota 2 and decided to uninstall nouveau and install nvidia drivers, until now it's all fine and dandy but the problem is I'm trying to run nvidia-xconfig and I get the following error message :
WARNING: Unable to locate/open X configuration file.
sh: pkg-config: command not found
ERROR: Unable to write to directory '/etc/X11'.
and so I'm baffeled, I solved some problems that arose during the format process and post installation of arch using the wiki but I don't know where to go from here about this one.
Thanks for any and all help.
Last edited by nashod (2013-09-30 14:32:55)
Offline
Are you sure it's not 'nvidia-xconfig'? There's no space before the dash.
Edit: Typo.
Last edited by karol (2013-09-30 14:36:02)
Offline
For future reference:
~ > ls /bin | grep nvidia
nvidia-bug-report.sh
nvidia-debugdump
nvidia-settings
nvidia-smi
nvidia-xconfigOffline
Are you running nvidia-xconfig as root or with sudo?
Have you tried installing pkg-config or the whole base-devel?
@skottish
grepping the output of ls? Yuck ;-)
The wiki tells you which commands to run.
Offline
ueah no space before the dash, I installed pkg-config but now I get this warrning:
Unable to locate/open X configuration file.
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
New X configuration file written to '/etc/X11/xorg.conf'
so at least I got the config file, at least trying to solve this problem is turning out to be a bit of a learning experience
edit: still steam is giving me an error about my system not using direct rendering, I tried adding myself to the video group, checking other solutions now
edit 2: ok managed to get that so all that is left is getting the PKG_CONFIG_PATH thing sorted out, any ideas?
Last edited by nashod (2013-09-30 14:57:36)
Offline
You have to install xorg-server and friends. https://wiki.archlinux.org/index.php/Xorg
Edit: Post the command and the output you get. I don't know where this PKG_CONFIG_PATH error is coming from.
Last edited by karol (2013-09-30 14:58:48)
Offline
Moving to Newbie Forum
See the Stickied topic for the System Administration subforum https://bbs.archlinux.org/viewtopic.php?id=163496
Last edited by ewaller (2013-09-30 15:01:16)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I don't think your pkg-config is a problem. These days, the xorg.conf file isn't always created, as the X server can usually do a good job without it. So when you first run nvidia-settings, you may not have an xorg.conf file, so it tries to find one using pkg-config. But if that isn't installed, then it can't find it at all, which, as I said, isn't a problem. Now that you have saved one off (you'll need to run nvidia-settings as root in order to save it), you shouldn't be seeing this error again anyway.
Offline
Pages: 1