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
Error accessing /usr/share/screen-resolution-extra/nvidia-polkit: No such file or directory
ERROR: Unable to open X config file '/etc/X11/xorg.conf' for writing.
WARNING: Unable to parse X.Org version string.
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
Error accessing /usr/share/screen-resolution-extra/nvidia-polkit: No such file or directory
ERROR: Unable to open X config file '/home/ig/test.conf' for writing.
Running into the same problem:
Ubuntu 19.04
NVIDIA Driver 440.33.01
Output: (Please note that not even writing the conf to my HOME directory works. I've also retried with sudo. Same results.)
------
➜ nvidia-settings
(nvidia- settings: 19553): GLib-GObject- CRITICAL **: 10:04:11.973: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
WARNING: Unable to parse X.Org version string.
Package xorg-server was not found in the pkg-config search path. screen- resolution- extra/nvidia- polkit: No such file or directory
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
Error accessing /usr/share/
ERROR: Unable to open X config file '/etc/X11/ xorg.conf' for writing.
WARNING: Unable to parse X.Org version string.
Package xorg-server was not found in the pkg-config search path. screen- resolution- extra/nvidia- polkit: No such file or directory
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
Error accessing /usr/share/
ERROR: Unable to open X config file '/home/ ig/test. conf' for writing.