您尚未登录。

#1 2018-10-04 22:41:56

taizongh
会员
注册时间: 2017-11-09
帖子: 5

(已解决)求教问题之二,sudo caja失败

这两天买了新电脑,就尝试装了arch,之前用的debian。想sudo caja报错:

(caja:4733): GLib-GIO-CRITICAL **: 21:58:39.645: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(caja:4733): GLib-GIO-CRITICAL **: 21:58:39.645: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
段错误

装的是MATE桌面环境,我试了安装nautilus,可以正常sudo


之前其他软件报错好歹能说明白到底咋了,这个完全没看懂,也百度搜不到。所以真心求教各位大佬,多谢啊!

最近编辑记录 taizongh (2018-10-04 23:19:29)

离线

#2 2018-10-04 23:19:09

taizongh
会员
注册时间: 2017-11-09
帖子: 5

Re: (已解决)求教问题之二,sudo caja失败

已解决:

It is highly discouraged to run GUI applications as root. If you want to do so anyway, you will have to invoke a dbus session for the root user, since automatic spawning simply from an X11 client has been disabled.  use

sudo dbus-run-session caja

to invoke an intermittent DBUS session.

离线

页脚