Ubuntu Unable to locate/open X configuration file. No package ‘xorg-server‘ found

警告

WARNING: 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'

解决办法

 sudo apt install xorg-server-source

おすすめ

転載: blog.csdn.net/dscn15848078969/article/details/120385860
おすすめ