CentOS7:删除 nvidia-x11-drv-340xx 想要卸载整个 xorg

CentOS7:删除 nvidia-x11-drv-340xx 想要卸载整个 xorg

我需要 VNC xorg 访问无头服务器。所以我安装了 Gnome 和所有的东西,就像我为双胞胎所做的那样。错误地我有埃尔雷波启用了存储库,并且在安装 gnome 时我安装了它nvidia-x11-drv-340xx包裹。这会阻止我访问 Gnome 会话,因为它无法检测加速图形。这是我在日志中发现的:

Thu Nov 19 07:10:04 2015
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5901
 vncext:      created VNC server for screen 0
Xlib:  extension "GLX" missing on display ":1".
Xlib:  extension "GLX" missing on display ":1".
Xlib:  extension "GLX" missing on display ":1".
gnome-session-is-accelerated: No hardware 3D support.
Xlib:  extension "GLX" missing on display ":1".
gnome-session-check-accelerated: Helper exited with code 256

Thu Nov 19 07:10:11 2015
 Connections: accepted: 10.22.33.6::47408
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VncAuth(2)
Xlib:  extension "GLX" missing on display ":1".
Xlib:  extension "GLX" missing on display ":1".
Xlib:  extension "GLX" missing on display ":1".
gnome-session-is-accelerated: No hardware 3D support.
Xlib:  extension "GLX" missing on display ":1".
gnome-session-check-accelerated: Helper exited with code 256

** (process:16465): WARNING **: software acceleration check failed: Child process exited with code 1

所以我尝试删除kmod-nvidia-340xx-340.93-1.el7.elrepo.x86_64and nvidia-x11-drv-340xx-340.93-1.el7.elrepo.x86_64,但是当我这样做时yum remove kmod-nvidia-340xx-340.93-1.el7.elrepo.x86_64 nvidia-x11-drv-340xx-340.93-1.el7.elrepo.x86_64它想要删除整个 xorg

我还发现它/usr/lib64/xorg/modules/extensions/libglx.so指向 nvidia 库(通过ldd)。但这个包是由 拥有的xorg-x11-server-Xorg-1.15.0-33.el7_1.x86_64,即使我重新安装它,情况也没有改变。

如何在没有加速驱动程序的情况下安全地删除这些 nvidia 软件包并运行 xorg?

更新xorg|x11以下是工作服务器上已安装软件包的列表,以及两者之间的 rpm 差异:

abrt-addon-xorg-2.1.11-22.el7.centos.0.1.x86_64
dbus-x11-1.6.12-11.el7.x86_64
pulseaudio-module-x11-3.0-30.el7.x86_64
xorg-x11-apps-7.7-6.el7.x86_64
xorg-x11-drivers-7.7-6.el7.x86_64
xorg-x11-drv-ati-7.4.0-1.20140918git56c7fb8.el7.x86_64
xorg-x11-drv-dummy-0.3.6-15.el7.x86_64
xorg-x11-drv-evdev-2.8.2-5.el7.x86_64
xorg-x11-drv-fbdev-0.4.3-15.el7.x86_64
xorg-x11-drv-intel-2.99.916-5.el7.x86_64
xorg-x11-drv-modesetting-0.8.0-13.el7.x86_64
xorg-x11-drv-nouveau-1.0.10-5.el7.x86_64
xorg-x11-drv-qxl-0.1.1-12.el7.x86_64
xorg-x11-drv-synaptics-1.7.1-13.el7.x86_64
xorg-x11-drv-v4l-0.2.0-35.el7.x86_64
xorg-x11-drv-vesa-2.3.2-14.el7.x86_64
xorg-x11-drv-vmmouse-13.0.0-10.el7.x86_64
xorg-x11-drv-vmware-13.0.2-1.el7.x86_64
xorg-x11-drv-void-1.4.0-23.el7.x86_64
xorg-x11-drv-wacom-0.23.0-6.el7.x86_64
xorg-x11-fonts-Type1-7.5-9.el7.noarch
xorg-x11-font-utils-7.5-18.1.el7.x86_64
xorg-x11-glamor-0.6.0-2.20140918git347ef4f.el7.x86_64
xorg-x11-server-common-1.15.0-33.el7_1.x86_64
xorg-x11-server-utils-7.7-4.el7.x86_64
xorg-x11-server-Xorg-1.15.0-33.el7_1.x86_64
xorg-x11-utils-7.5-13.1.el7.x86_64
xorg-x11-xauth-1.0.7-6.1.el7.x86_64
xorg-x11-xinit-1.3.2-14.el7.x86_64
xorg-x11-xkb-utils-7.7-9.1.el7.x86_64

和差异:

diff -Naur srv01s srv02s 
--- srv01s  2015-11-23 08:38:02.993066495 +0100
+++ srv02s  2015-11-23 08:38:02.569057434 +0100
@@ -1,7 +1,6 @@

 abrt-addon-xorg-2.1.11-22.el7.centos.0.1.x86_64
 dbus-x11-1.6.12-11.el7.x86_64
-nvidia-x11-drv-340xx-340.93-1.el7.elrepo.x86_64
 pulseaudio-module-x11-3.0-30.el7.x86_64
 xorg-x11-apps-7.7-6.el7.x86_64
 xorg-x11-drivers-7.7-6.el7.x86_64

答案1

首先安装具有相同功能的替代包。我怀疑它想要删除整个 xorg,因为它没有其他选择可以保留。

相关内容