Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
启动 gnome 设置守护进程时出错
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
zhangtbo
n00b
n00b


Joined: 30 Oct 2006
Posts: 22

PostPosted: Wed Nov 15, 2006 3:31 am    Post subject: 启动 gnome 设置守护进程时出错 Reply with quote

___________________________________________________________________________________________
启动 GNOME 设置守护进程时出错。

主题、声音或者背景设置等可能不会正常工作。

最后的错误信息是:

Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help)

GNOME 在您下次登录时仍将试图重启动设置守护进程。
___________________________________________________________________________________________

启动gnome-session出现以上提示:
还发现/dev/下没有dsp文件.
是什么东西没安装吗?
大家帮我看看?谢谢!
Back to top
View user's profile Send private message
dluo
n00b
n00b


Joined: 23 Mar 2005
Posts: 4
Location: Beijing

PostPosted: Wed Nov 15, 2006 9:05 am    Post subject: Reply with quote

看看dbus是不是启动了。
_________________
Cheers,
Donald
Back to top
View user's profile Send private message
zhangtbo
n00b
n00b


Joined: 30 Oct 2006
Posts: 22

PostPosted: Thu Nov 16, 2006 12:58 am    Post subject: Reply with quote

是用ps -A吗?
ztb@gentoo ~ $ ps -A
PID TTY TIME CMD
1 ? 00:00:01 init
2 ? 00:00:00 migration/0
3 ? 00:00:00 ksoftirqd/0
4 ? 00:00:00 watchdog/0
5 ? 00:00:00 events/0
6 ? 00:00:00 khelper
7 ? 00:00:00 kthread
9 ? 00:00:00 kblockd/0
10 ? 00:00:00 kacpid
85 ? 00:00:00 kseriod
127 ? 00:00:00 pdflush
128 ? 00:00:00 pdflush
129 ? 00:00:00 kswapd0
130 ? 00:00:00 aio/0
131 ? 00:00:00 xfslogd/0
132 ? 00:00:00 xfsdatad/0
231 ? 00:00:00 kpsmoused
633 ? 00:00:00 khubd
1065 ? 00:00:00 khpsbpkt
1297 ? 00:00:00 ata/0
2658 ? 00:00:00 kmirrord
2984 ? 00:00:00 jfsIO
2985 ? 00:00:00 jfsCommit
2986 ? 00:00:00 jfsSync
3324 ? 00:00:00 kjournald
4475 ? 00:00:00 udevd
5285 ? 00:00:00 kjournald
7174 ? 00:00:00 syslog-ng
7301 ? 00:00:00 gpm
7843 ? 00:00:00 cron
7918 tty1 00:00:00 login
7919 tty2 00:00:00 agetty
7920 tty3 00:00:00 agetty
7921 tty4 00:00:00 agetty
7922 tty5 00:00:00 agetty
7923 tty6 00:00:00 agetty
7934 tty1 00:00:00 bash
7947 tty1 00:00:00 startx
7963 tty1 00:00:00 xinit
7964 tty7 00:00:12 X
7968 tty1 00:00:00 gnome-session
7969 tty1 00:00:00 fcitx <defunct>
7970 tty1 00:00:00 fcitx
7972 tty1 00:00:00 gconfd-2
7975 tty1 00:00:00 gnome-keyring-d
7977 ? 00:00:02 metacity
7980 ? 00:00:02 gnome-panel
7982 ? 00:00:03 nautilus
7984 ? 00:00:00 bonobo-activati
7999 ? 00:00:01 wnck-applet
8001 ? 00:00:00 mapping-daemon
8006 ? 00:00:00 gam_server
8013 ? 00:00:00 notification-ar
8015 ? 00:00:00 clock-applet
8025 ? 00:00:00 evolution-data-
8036 ? 00:00:00 evolution-alarm
8149 ? 00:00:00 mozilla-launche
8158 ? 00:00:12 firefox-bin
8176 ? 00:00:01 gnome-terminal
8178 ? 00:00:00 gnome-pty-helpe
8179 pts/0 00:00:00 bash
8182 pts/0 00:00:00 su
8185 pts/0 00:00:00 bash
8187 pts/0 00:00:04 emerge
9359 pts/0 00:00:00 sandbox
9360 pts/0 00:00:00 ebuild.sh
9418 pts/0 00:00:02 configure
12246 pts/1 00:00:00 bash
14963 pts/0 00:00:00 sh
16423 pts/0 00:00:00 sh
16426 pts/1 00:00:00 ps

应该没有启动!
那么接下来我应该做什么?

谢谢!
Back to top
View user's profile Send private message
zhangtbo
n00b
n00b


Joined: 30 Oct 2006
Posts: 22

PostPosted: Thu Nov 16, 2006 1:10 am    Post subject: Reply with quote

我启动了dbus
/etc/init.d/./dbus start

没重新启动系统!只是重新启动gnome
还是出现那个提示
___________________________________________________________________________________
启动 GNOME 设置守护进程时出错。

主题、声音或者背景设置等可能不会正常工作。

最后的错误信息是:

Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help)

GNOME 在您下次登录时仍将试图重启动设置守护进程。
____________________________________________________________________________________



运行"系统”->"首选项“里面的"音效" "字体" "主题"都会出现如下提示:

_________________________________________________________________________________________________________
无法启动设置管理器“gnome-settings-daemon”。
如果不运行 GNOME 设置管理器,某些首选项不会生效。这可能表明 Bonobo 出现问题,或者非 GNOME(如 KDE)设置管理器可能已经处于活动状态,它与 GNOME 设置管理器发生冲突。
_________________________________________________________________________________________________________

谢谢帮我看看!
Back to top
View user's profile Send private message
akar
Bodhisattva
Bodhisattva


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Fri Nov 17, 2006 9:56 am    Post subject: Reply with quote

  你是從黑畫面(console, 控制台)進入 Gnome 的嗎?

  如果是的話試一下把 ~/.xinitrc 改成: 
Code:
exec dbus-launch --exit-with-session gnome-session


  還有,Gnome 的程式可以在 模擬控制台下,下指令執行,那程式的一些報錯就會吐出來在 模擬控制台 了。 對找出問題有幫助。

Code:
$ gnome-settings-daemon

_________________
AKar
Back to top
View user's profile Send private message
zhangtbo
n00b
n00b


Joined: 30 Oct 2006
Posts: 22

PostPosted: Sat Nov 18, 2006 12:52 am    Post subject: Reply with quote

谢谢楼上的兄弟!
我是在控制台下启动的gnome
用你第一段代码就可以了!
就是不明白那些是什么意思?
Back to top
View user's profile Send private message
akar
Bodhisattva
Bodhisattva


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Mon Nov 20, 2006 7:48 am    Post subject: Reply with quote

zhangtbo wrote:
谢谢楼上的兄弟!
我是在控制台下启动的gnome
(
Code:
exec dbus-launch --exit-with-session gnome-session
)
用你第一段代码就可以了!
就是不明白那些是什么意思?


  dbus-launch 是 DBUS 軟件包內的一個小工具,來啟動 dbus-daemon 和自動按系統使用的壳(shell)環境設好參數。 好讓依賴 dbus 機制的程式找到這條系統訊息通道。

  額外的指令運行參數 --exit-with-session gnome-session 是 自動清除在啟動時對系統所做改變(上面列出的兩方面)的還原。 這對由黑畫面進入Gnome,用一會兒後又回到黑畫面來說是合理的。


  以下指令助你了解你的 dbus-launch 在你的系統上的作用:

添加的環境參數:
Code:
$ set|grep -i dbus


運行的背景程式:
Code:
$ ps ax |grep dbus

_________________
AKar
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum