2006年12月5日星期二

Subject: gnome 2.16的gnome-settings-daemon crash 的问题解决了!

很长时间一直有这个问题。今天实在烦了,折腾了一阵不成
,又到网上去找。没想到在gentoo的大本营里找到了。见下:
gnome-settings-daemon fails to start

gnome-settings-daemon needs a local dbus session to work, and fails to
start if one is not present. GDM automatically starts a dbus session
for you, but if you're using some other DM or using startx with a
.xinitrc file, you need to manually start the dbus session. Put this
in your X startup file (.xinit for startx, .xsession for a DM):

Code Listing 1.1: Starting a dbus session

eval `dbus-launch --exit-with-session --sh-syntax`

Make sure it's before the line that runs gnome-session (or
gnome-settings-daemon, if you're starting that directly).

Alternatively, if you're using startx and not doing anything special
in your .xinitrc, you can remove your .xinitrc and set the XSESSION to
gnome in your .profile or in /etc/rc.conf. This will correctly start
dbus before starting gnome-session.

没有评论: