LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1281|回复: 8

安装gnome后启动失败

[复制链接]
发表于 2009-4-12 21:50:08 | 显示全部楼层 |阅读模式
我安装了XORG,HWD后又安装了gnome,gnome-extra,在.xinitrc中加入了exec gnome-sessioni后startx启动X结果启动失败,错误如下,但我安装了xfce4启动却没问题,不知道是咋回事,大侠们帮忙看看,不胜感激
hostname: Host name lookup failure
xauth:  creating new authority file /home/vincent/.serverauth.2550


X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.29-ARCH i686
Current Operating System: Linux myhost 2.6.28-ARCH #1 SMP PREEMPT Sun Feb 8 10:13:45 UTC 2009 i686
Build Date: 05 April 2009  01:04:48PM

        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
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 Apr 10 04:55:45 2009
(==) Using config file: "/etc/X11/xorg.conf"

(EE) Failed to load module "freetype" (module does not exist, 0)

Warning: font renderer for ".ttf" already registered at priority 0

Warning: font renderer for ".ttc" already registered at priority 0

Warning: font renderer for ".otf" already registered at priority 0

Warning: font renderer for ".otc" already registered at priority 0

Warning: font renderer for ".pfa" already registered at priority 0

Warning: font renderer for ".pfb" already registered at priority 0

Could not init font path element /usr/share/fonts/TTF, removing from list!

Could not init font path element /usr/share/fonts/Type1, removing from list!

Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
gnome-session[2571]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
gnome-session[2571]: CRITICAL: dbus_g_connection_get_connection: assertion `gconnection' failed
process 2571: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3298.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace
gnome-session[2571]: ******************* START ********************************
gnome-session[2571]: Frame 0: /usr/lib/gnome-session/gnome-session [0x805f135]
gnome-session[2571]: Frame 1: /usr/lib/gnome-session/gnome-session [0x805f2c4]
gnome-session[2571]: Frame 2: [0xb806d400]
gnome-session[2571]: Frame 3: /lib/libc.so.6(abort+0x188) [0xb748e0c8]
gnome-session[2571]: Frame 4: /usr/lib/libdbus-1.so.3 [0xb7acf095]
gnome-session[2571]: Frame 5: /usr/lib/libdbus-1.so.3 [0xb7acab09]
gnome-session[2571]: Frame 6: /usr/lib/libdbus-1.so.3(dbus_connection_send_with_reply_and_block+0x12e) [0xb7ab277e]
gnome-session[2571]: Frame 7: /usr/lib/gnome-session/gnome-session [0x8057765]
gnome-session[2571]: Frame 8: /usr/lib/gnome-session/gnome-session [0x8057840]
gnome-session[2571]: Frame 9: /usr/lib/gnome-session/gnome-session [0x80605d7]
gnome-session[2571]: Frame 10: /usr/lib/gnome-session/gnome-session [0x8060bb6]
gnome-session[2571]: Frame 11: /lib/libc.so.6(__libc_start_main+0xe5) [0xb74786c5]
gnome-session[2571]: Frame 12: /usr/lib/gnome-session/gnome-session [0x8050101]
gnome-session[2571]: ******************* END **********************************

waiting for X server to shut down
发表于 2009-4-12 22:31:31 | 显示全部楼层
好久没有升级了把。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-13 20:51:09 | 显示全部楼层
才刚装的,安装前有升级啊...
回复 支持 反对

使用道具 举报

发表于 2009-4-13 20:56:50 | 显示全部楼层
daemons中添加dbus或者hal试试
回复 支持 反对

使用道具 举报

发表于 2009-4-13 22:08:37 | 显示全部楼层
xorg-server还是1.5.3肯定好久没有升级了。

最好使用gdm加载session,否则你得用ck-launch gnome-session写入.xinitrc,避免以后遇到麻烦

你修改过hosts添加你自己的主机名么?
回复 支持 反对

使用道具 举报

发表于 2009-4-13 22:32:42 | 显示全部楼层
(EE) Failed to load module "freetype" (module does not exist, 0)

Load "freetype"
改为
Disable "freetype"

试试, 先禁止掉这个错误。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-14 00:06:00 | 显示全部楼层
我刚刚试了一下pacman -Su,竟然报了下面这个错误
xorg-server: /usr/lib/xorg/modules/extensions/libdri.so exists in filesystem
xorg-server: /usr/lib/xorg/modules/libwfb.so exists in filesystem
我记得我安装的时候就有配置了的,我看了我们hosts里是有一行
#<ip-address>  <hostname.domain.org>   <hostname>
127.0.0.1         localhost.localdomain locahost
后面进xfce4的时候让我设置主机名,我又添加了一行
127.0.0.1         localhost.localdomain vincent_house

搞不清楚升级为何会出错?
回复 支持 反对

使用道具 举报

发表于 2009-4-14 09:18:24 | 显示全部楼层
xorg升级出错我遇到了,直接把那两个文件改名再升级就OK了

ps: gnome启动报错也是遇到过,我的是因为dbus没启动,加hal也可以,hal会自动启动dbus
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-14 21:54:45 | 显示全部楼层
楼上的回答完全正确,加了hal后终于起了gnome,谢谢啦
回复 支持 反对

使用道具 举报

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

本版积分规则

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