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

Pubdate:2006-12-05 19:48:00    Categories:    1729 Views

很长时间一直有这个问题。今天实在烦了,折腾了一阵不成
,又到网上去找。没想到在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.

Comments(0)

相关文章

Leave You Comment
请输入左边图片中的字符
无觅相关文章插件