You are not logged in.

#1 2018-10-04 14:26:43

taiongh
Member
Registered: 2018-10-04
Posts: 75

[SOLVED]Unable to open:sudo caja

Install the MATE desktop environment。Try on the terminal“sudo caja":
(caja:5524): GLib-GIO-CRITICAL **: 22:25:43.368: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(caja:5524): GLib-GIO-CRITICAL **: 22:25:43.368: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
段错误   (Means: field errors)

I installed nautilus,”sudo nautilus"is successful。

Has anyone faced the same issue and solved it? Does anyone know why this could be happening?
Thanks!

Last edited by taiongh (2018-10-04 15:17:52)

Offline

#2 2018-10-04 14:51:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [SOLVED]Unable to open: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.

Offline

#3 2018-10-04 15:16:44

taiongh
Member
Registered: 2018-10-04
Posts: 75

Re: [SOLVED]Unable to open:sudo caja

Thanks very much!

V1del wrote:

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.

Offline

Board footer

Powered by FluxBB