我这里有一台 RHEL 5 机器,它是 Dell Precision T3500。
我是一名 Ubuntu 用户,但是我使用这台机器的时候遇到了很多麻烦。
在处理其第一次安全更新后,我们无法通过 gdm 欢迎程序登录。安装了新内核;然后我为我们的 Quadro NVS 295 安装了 nVidia 驱动程序。
我知道 X 配置是有效的,因为 gdm 欢迎程序确实显示了出来;然而,登录后我们所能看到的只是一个带有光标的空白黑屏。
我认为也许我们的 python 安装已损坏,但通过 yum 重新安装并没有帮助。
我已经在 Google 上进行了广泛的搜索,以寻找可能的解决方案,但一无所获。
以下是 uname 的输出、/var/log/messages 中的错误尾部以及 Xorg.conf。
有人能建议一个行动方案吗?
[sean@cheetah ~]$ uname -a
Linux cheetah.*.* 2.6.18-308.8.1.el5 #1 SMP Fri May 4 16:43:02 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
[sean@cheetah ~]$ sudo tail /var/log/messages
Jun 5 15:03:04 cheetah gconfd (sean-4592): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Jun 5 15:03:05 cheetah hcid[3855]: Default passkey agent (:1.8, /org/bluez/applet) registered
Jun 5 15:03:05 cheetah pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not Found
Jun 5 15:03:05 cheetah last message repeated 2 times
Jun 5 15:03:06 cheetah gconfd (sean-4592): Resolved address "xml:readwrite:/home/sean/.gconf" to a writable configuration source at position 0
Jun 5 15:03:06 cheetah setroubleshoot: [program.ERROR] exception ImportError: /usr/lib/libatk-1.0.so.0: undefined symbol: g_assertion_message_expr Traceback (most recent call last): File "/usr/bin/sealert", line 952, in ? from setroubleshoot.gui_utils import * File "/usr/lib/python2.4/site-packages/setroubleshoot/gui_utils.py", line 26, in ? import gtk File "/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 48, in ? from gtk import _gtk ImportError: /usr/lib/libatk-1.0.so.0: undefined symbol: g_assertion_message_expr
Jun 5 15:03:07 cheetah setroubleshoot: [program.ERROR] exception ImportError: /usr/lib/libatk-1.0.so.0: undefined symbol: g_assertion_message_expr Traceback (most recent call last): File "/usr/bin/sealert", line 952, in ? from setroubleshoot.gui_utils import * File "/usr/lib/python2.4/site-packages/setroubleshoot/gui_utils.py", line 26, in ? import gtk File "/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 48, in ? from gtk import _gtk ImportError: /usr/lib/libatk-1.0.so.0: undefined symbol: g_assertion_message_expr
Jun 5 15:03:08 cheetah pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not Found
Jun 5 15:07:01 cheetah ntpd[4114]: synchronized to 64.16.211.38, stratum 3
Jun 5 15:07:01 cheetah ntpd[4114]: kernel time sync enabled 0001
[sean@cheetah ~]$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 295.53 ([email protected]) Sat May 12 00:34:20 PDT 2012
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
ModelName "LCD Panel 1600x1200"
HorizSync 31.5 - 74.7
VertRefresh 56.0 - 65.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
更新:切换到nv
驱动程序(已安装)xorg.conf
没有解决。我认为这不再是 X 问题。
由于存在setroubleshoot
错误,我将设置 SELinuxpermissive
并查看是否有帮助。
更新:这没用。有人吗?
更新:以下是更全面的消息日志尾部。您可以看到,我对其进行了跟踪,然后在 10:44 登录到机器,而这个输出显然是问题所在。
[sean@cheetah ~]$ sudo tail -f /var/log/messages
Jun 27 10:17:05 cheetah smartd[4362]: Device /dev/sdb: using '-d sat' for ATA disk behind SAT layer.
Jun 27 10:17:05 cheetah smartd[4362]: Device: /dev/sdb, opened
Jun 27 10:17:06 cheetah smartd[4362]: Device: /dev/sdb, found in smartd database.
Jun 27 10:17:06 cheetah smartd[4362]: Device: /dev/sdb, is SMART capable. Adding to "monitor" list.
Jun 27 10:17:06 cheetah smartd[4362]: Monitoring 0 ATA and 2 SCSI devices
Jun 27 10:17:06 cheetah smartd[4392]: smartd has fork()ed into background mode. New PID=4392.
Jun 27 10:17:08 cheetah pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not Found
Jun 27 10:17:08 cheetah last message repeated 3 times
Jun 27 10:21:16 cheetah ntpd[4109]: synchronized to 46.166.138.172, stratum 2
Jun 27 10:21:16 cheetah ntpd[4109]: kernel time sync enabled 0001
Jun 27 10:44:49 cheetah gconfd (sean-4757): starting (version 2.14.0), pid 4757 user 'sean'
Jun 27 10:44:49 cheetah gconfd (sean-4757): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Jun 27 10:44:49 cheetah gconfd (sean-4757): Resolved address "xml:readwrite:/home/sean/.gconf" to a writable configuration source at position 1
Jun 27 10:44:49 cheetah gconfd (sean-4757): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Jun 27 10:44:50 cheetah hcid[3851]: Default passkey agent (:1.8, /org/bluez/applet) registered
Jun 27 10:44:50 cheetah kernel: nm-applet[4821]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fff668d1d68 error 14
Jun 27 10:44:51 cheetah pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not Found
Jun 27 10:44:51 cheetah last message repeated 2 times
Jun 27 10:44:51 cheetah gconfd (sean-4757): Resolved address "xml:readwrite:/home/sean/.gconf" to a writable configuration source at position 0
Jun 27 10:44:51 cheetah setroubleshoot: [program.ERROR] exception ImportError: /usr/lib/libatk-1.0.so.0: undefined symbol: g_assertion_message_expr Traceback (most recent call last): File "/usr/bin/sealert", line 952, in ? from setroubleshoot.gui_utils import * File "/usr/lib/python2.4/site-packages/setroubleshoot/gui_utils.py", line 26, in ? import gtk File "/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 48, in ? from gtk import _gtk ImportError: /usr/lib/libatk-1.0.so.0: undefined symbol: g_assertion_message_expr
Jun 27 10:44:52 cheetah setroubleshoot: [program.ERROR] exception ImportError: /usr/lib/libatk-1.0.so.0: undefined symbol: g_assertion_message_expr Traceback (most recent call last): File "/usr/bin/sealert", line 952, in ? from setroubleshoot.gui_utils import * File "/usr/lib/python2.4/site-packages/setroubleshoot/gui_utils.py", line 26, in ? import gtk File "/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 48, in ? from gtk import _gtk ImportError: /usr/lib/libatk-1.0.so.0: undefined symbol: g_assertion_message_expr
Jun 27 10:44:54 cheetah pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not Found
答案1
另请参阅http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1001511对我有帮助。我必须将模式行添加到“屏幕”部分,手动安装 vmware cd 并重新启动才能使我的 vmware 安装正常运行。
通过使用 RedHat 的配置工具或直接编辑 xorg.conf 手动选择 1024 x 768 的屏幕分辨率来解决该问题。
要使用 RedHat 配置工具,请执行 system-config-display 并从用户界面的下拉菜单中选择 1024 x 768。
要手动编辑 Xorg 配置文件:
打开 /etc/X11/xorg.conf 并确保屏幕部分包含 1024 x 768 模式,如下所示:
------------------------------------------
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
------------------------------------------
为了使更改生效,请按 Ctrl+Alt+Backspace 停止并重新启动 X 服务器。
注意:如果问题仍然存在,请尝试使用分辨率工具更改分辨率。为此,请单击系统 > 首选项 > 屏幕分辨率,选择首选分辨率大小,并将其设置为系统默认分辨率