[已解决] Ubuntu 显卡风扇调节问题 Unable to locate/open X configuration file. No package ‘xorg-server‘ found

问题

显卡发烫风扇蜗速旋转,NVIDIA控制面板没有风扇信息,上网查解决方案输入sudo nvidia-xconfig --cool-bits=4之后报警告:

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'

如果忽略警告继续重启可能面临开机黑屏,这时按Ctrl+Alt+F1进入DOS输入rm /etc/X11/xord.conf删掉文件还原更改然后reboot重启就行。

解决办法

仔细看上面的警告,是缺包引起的。用下面命令将包安好即可:

 sudo apt install xorg-server-source

[已解决] Ubuntu 显卡风扇调节问题 Unable to locate/open X configuration file. No package ‘xorg-server‘ found
然后警告消除。
继续按照网上进行:

sudo nvidia-xconfig --cool-bits=4

然后改/etc/X11/xord.conf文件:

Section "Device"
	Identifier		"Device0"
	Driver			"nvidia"
	VendorName		"NVIDIA Corporation"
	Option			"NoLogo" "True"
	Option			"Coolbits" "4"
EndSection
上一篇:2021最新超人社区二手跳蚤市场 V6. 6.2版


下一篇:阿里云 FaaS 架构设计与创新实践