LinuxSir.cn,穿越时空的Linuxsir!

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

Unable to open the system message bus

[复制链接]
发表于 2008-10-24 12:53:44 | 显示全部楼层 |阅读模式
编译安装了一个lastfm player :last-exit
但运行出错,谁遇过这个问题?
  1. $ last-exit
  2. Unable to open the system message bus.
  3. System.Exception: Unable to open the session message bus. ---> System.ArgumentNullException: Argument cannot be null.                                                           
  4. Parameter name: address                                                                 
  5.   at NDesk.DBus.Bus.Open (System.String address) [0x00000]                              
  6.   at NDesk.DBus.Bus.get_Session () [0x00000]                                            
  7.   --- End of inner exception stack trace ---                                            
  8.   at NDesk.DBus.Bus.get_Session () [0x00000]                                            
  9.   at LastExit.DBusPlayer.FindInstance () [0x00000]                                      
  10.   at LastExit.Driver.DetectInstanceAndDbus () [0x00000]                                 
  11. Starting new Last Exit server                                                           
  12. Unable to open the system message bus.                                                  
  13. Could not connect to D-Bus. D-Bus support will be disabled for this instance: Unable to open the session message bus.                                                           
  14. System.Exception: Unable to open the session message bus. ---> System.ArgumentNullException: Argument cannot be null.                                                           
  15. Parameter name: address                                                                 
  16.   at NDesk.DBus.Bus.Open (System.String address) [0x00000]                              
  17.   at NDesk.DBus.Bus.get_Session () [0x00000]                                            
  18.   --- End of inner exception stack trace ---                                            
  19.   at NDesk.DBus.Bus.get_Session () [0x00000]                                            
  20.   at LastExit.DBusRemote.RegisterObject (System.Object o, System.String objectName) [0x00000]                                                                                   
  21.   at LastExit.Driver.Main (System.String[] args) [0x00000]                              

  22. Unhandled Exception: System.DllNotFoundException: libc
  23.   at (wrapper managed-to-native) LastExit.Driver:prctl (int,byte[],ulong,ulong,ulong)
  24.   at LastExit.Driver.SetProcessName (System.String name) [0x00000]                  
  25.   at LastExit.Driver.Main (System.String[] args) [0x00000]
复制代码
发表于 2008-10-24 13:21:49 | 显示全部楼层
dbus服务开了么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-24 13:24:12 | 显示全部楼层
sudo /etc/rc.d/dbus start 后再启动last-exit也是一样。
回复 支持 反对

使用道具 举报

发表于 2008-10-24 15:31:24 | 显示全部楼层
没有记错的话,last-exit是C#程序,看看是不是需要dbus-sharp?

有那么多选择干吗选mono程序?又大又慢
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-24 20:08:31 | 显示全部楼层
谢谢。看那个名称简单,就安装了。
选择了Vagalume。感觉不错。曾经安装你在Linuxtoy推荐的ario,但不会用。嘿嘿。
回复 支持 反对

使用道具 举报

发表于 2008-10-24 22:43:38 | 显示全部楼层
ario是mpd播放器的一个控制端,也就是你需要配置好mpd这个播放器
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-25 00:43:23 | 显示全部楼层
Post by jarryson;1898838
ario是mpd播放器的一个控制端,也就是你需要配置好mpd这个播放器

哦,我的意思是不会用他的Last.fm插件,设置用户名和密码后还是没反应的样子。

补充我顶楼的问题,搜索到最可能的答案,但在我这也没成功。我是不管了,反正暂时也用不到。链接到这看有谁用得上:
http://www.robotercoding.com/blog/?p=21
回复 支持 反对

使用道具 举报

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

本版积分规则

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