QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4845|回复: 11

CENTOS 5.7 不能登录图形界面

[复制链接]
发表于 2012-11-16 09:13:20 | 显示全部楼层 |阅读模式
CENTOS 5.7 不能登录图形界面请求各位大哥指导。
startx 报错
[root@localhost ~]# startx
xauth:  creating new authority file /root/.serverauth.6442

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-53.el5 i686 Red Hat, Inc.
Current Operating System: Linux localhost.localdomain 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 EDT 2010 i686
Build Date: 04 October 2012
Build ID: xorg-x11-server 1.1.1-48.91.el5_8.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 15 17:51:48 2012
(==) Using config file: "/etc/X11/xorg.conf"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Multiple symbols for level 1/group 1 on key <I5F>
>                   Using XF86Sleep, ignoring XF86Standby
> Warning:          Symbol map for key <I5F> redefined
>                   Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server
localuser:root being added to access control list
No profile for user 'root' found
Smart Common Input Method 1.4.4
Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...
/usr/bin/gnome-session: error while loading shared libraries: /usr/lib/libbonoboui-2.so.0: cannot read file data: Error 21
waiting for X server to shut down FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.


xorg日志

[root@localhost ~]# cat /var/log/Xorg.0.log | grep EE
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(II) AST: Driver for ASPEED Graphics Chipsets: ASPEED Graphics Family,
        ASPEED Graphics Family
(--) Chipset ASPEED Graphics Family found
(--) AST(0): Chipset: "ASPEED Graphics Family"
(II) AST(0): VESA VBE OEM: ASPEED
(II) AST(0): VESA VBE OEM Vendor: ASPEED Technology, Inc.

[root@localhost ~]# cat /etc/X11/xorg.conf
# Xorg configuration created by pyxf86config
Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection
Section "Device"
        Identifier  "Videocard0"
        Driver      "ast"
EndSection
Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
发表于 2012-11-16 09:25:50 | 显示全部楼层
检查机器之前发生了什么,做了什么操作。
回复

使用道具 举报

 楼主| 发表于 2012-11-16 09:38:55 | 显示全部楼层
不知道额,刚刚接手的机器。因为要在上面安装个oracle 11g需要用到图形界面结果发现不能用。
回复

使用道具 举报

发表于 2012-11-16 09:41:31 | 显示全部楼层
/usr/bin/gnome-session: error while loading shared libraries: /usr/lib/libbonoboui-2.so.0: cannot read file data: Error 21
这行提示是读取 so 失败导致不能启动。应该是这个问题导致启动失败。
这个原因我没见过,我觉得可能是硬盘有问题了吧?
回复

使用道具 举报

 楼主| 发表于 2012-11-16 09:44:36 | 显示全部楼层
硬盘是做成了RAID1了,因为硬盘数据之前丢失过不知道是不是那个原因。
回复

使用道具 举报

 楼主| 发表于 2012-11-16 10:05:31 | 显示全部楼层
版主能告诉我这个是什么意思吗?
[root@localhost ~]# ldconfig
ldconfig: Cannot mmap file /usr/lib/libedataserver-1.2.so.7.

ldconfig: Cannot mmap file /usr/lib/libbonoboui-2.so.

ldconfig: Cannot mmap file /usr/lib/libcamel-1.2.so.

ldconfig: Cannot mmap file /usr/lib/libedataserver-1.2.so.

ldconfig: Cannot mmap file /usr/lib/libgphoto2_port.so.0.

ldconfig: Cannot mmap file /usr/lib/libebook-1.2.so.9.

ldconfig: Cannot mmap file /usr/lib/libcamel-1.2.so.0.

ldconfig: Cannot mmap file /usr/lib/libbonoboui-2.so.0.

ldconfig: Cannot mmap file /usr/lib/libsoup-2.2.so.8.

ldconfig: Cannot mmap file /usr/lib/libebook-1.2.so.

ldconfig: Cannot mmap file /usr/lib/libgnutls.so.

ldconfig: Cannot mmap file /usr/lib/libloginhelper.so.0.

ldconfig: Cannot mmap file /usr/lib/libsoup-2.2.so.

ldconfig: Cannot mmap file /usr/lib/libloginhelper.so.

ldconfig: Cannot mmap file /usr/lib/libgimpbase-2.0.so.0.

ldconfig: /usr/lib/libsmime3.so is not a symbolic link
回复

使用道具 举报

发表于 2012-11-16 11:10:31 | 显示全部楼层
应该都是没有找到 so 文件本体吧?
回复

使用道具 举报

发表于 2012-11-16 11:10:58 | 显示全部楼层
估计就是数据丢失导致文件损坏
回复

使用道具 举报

 楼主| 发表于 2012-11-16 11:16:13 | 显示全部楼层
重新卸载安装了 yum groupremove "X Window System" -y
yum groupremove "GNOME Desktop Environment" -y

yum groupinstall  "X Window System" -y
yum groupinstall "GNOME Desktop Environment" -y

图形界面可以显示了。
但是启动startx 好像还是有问题
[root@localhost ~]# startx
xauth:  creating new authority file /root/.serverauth.13685


X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-53.el5 i686 Red Hat, Inc.
Current Operating System: Linux localhost.localdomain 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 EDT 2010 i686
Build Date: 04 October 2012
Build ID: xorg-x11-server 1.1.1-48.91.el5_8.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Nov 16 11:06:34 2012
(==) Using config file: "/etc/X11/xorg.conf"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Multiple symbols for level 1/group 1 on key <I5F>
>                   Using XF86Sleep, ignoring XF86Standby
> Warning:          Symbol map for key <I5F> redefined
>                   Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server
Could not init font path element unix/:7100, removing from list!
localuser:root being added to access control list
No profile for user 'root' found
SESSION_MANAGER=local/localhost.localdomain:/tmp/.ICE-unix/13706
No value set for `/apps/gnome-session/rh/window_manager'
Gnome-Message: gnome_execute_async_with_env_fds: returning -1

(gnome-session:13706): Gtk-WARNING **: Could not find the icon 'gnome-volume-manager'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
        http://icon-theme.freedesktop.org/releases
krb5-auth-dialog: error while loading shared libraries: /usr/lib/libsmime3.so: cannot read file data: Error 21
nm-applet: error while loading shared libraries: /usr/lib/libsmime3.so: cannot read file data: Error 21

** (eggcups:1375: WARNING **: IPP request failed with status 1280

** (eggcups:1375: WARNING **: IPP request failed with status 1280

(gnome-power-manager:13763): Gtk-WARNING **: Could not find the icon 'gpm-hibernate'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
        http://icon-theme.freedesktop.org/releases
Initializing nautilus-open-terminal extension

waiting for X server to shut down Window manager warning: Lost connection to the display ':0.0';
most likely the X server was shut down or you killed/destroyed
the window manager.
The application 'pam-panel-icon' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.


xinit:  unexpected signal 2.
[root@localhost ~]# vncserver :1

New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log
回复

使用道具 举报

发表于 2012-11-16 12:05:53 | 显示全部楼层
服务器数据丢失了,你为什么不重装系统?
回复

使用道具 举报

 楼主| 发表于 2012-11-18 11:10:00 | 显示全部楼层
还是有问题,因为是服务器,刚来也不知道哪里该不该删。现在在升级系统不知可不可以。
回复

使用道具 举报

发表于 2012-11-18 17:36:06 | 显示全部楼层

我也不知道可以不可以,我反正不知道你这个已经挂过一次的数据到底哪个好的哪个坏的。
你知道不?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-1 22:29 , Processed in 0.036596 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表