You are not logged in.
Pages: 1
Hey everyone, I'm newbie on Arch, with Mate Desktop (gtk2 version). This is the first time that i've installed Arch succesfully, but i have this issue when i try to execute caja as a admin, i've checked /etc/sudoers and everything seems normal, i hope you could help me. I've been search topics about this particular issue with no succes. Here's the console content after the command. Cheers!
sudo caja /usr/share/backgrounds
[sudo] password for erick:
** (caja:10296): WARNING **: Unable to open a connection to the session bus: Error spawning command line 'dbus-launch --autolaunch=5579812bea564641a1a918bf13cc59f7 --binary-syntax --close-stderr': Child process exited with code 1
(caja:10296): GLib-GIO-CRITICAL **: g_dbus_connection_call_sync_internal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
[1] 10295 segmentation fault sudo caja /usr/share/backgrounds
Last edited by tassadar20 (2016-09-09 16:15:21)
Offline
You use gksu/kdesu for GUI applications...
Offline
You use gksu/kdesu for GUI applications...
Thank you for your answer, Jason. Running it using gksu, i receive this message:
gksu caja /usr/share/backgrounds
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
(caja:1673): EggSMClient-WARNING **: Failed to connect to the session manager: Authentication Rejected, reason : MIT-MAGIC-COOKIE-1 authentication rejected
** (caja:1673): WARNING **: Unable to open a connection to the session bus: Error spawning command line 'dbus-launch --autolaunch=5579812bea564641a1a918bf13cc59f7 --binary-syntax --close-stderr': Child process exited with code 1
(caja:1673): GLib-GIO-CRITICAL **: g_dbus_connection_call_sync_internal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Offline
Please use code tags when you paste to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
How do you start your Mate session?
Offline
Please use code tags when you paste to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
How do you start your Mate session?
Good, thank you for your suggestion. I'm starting it using
exec mate-session
in .xinitrc.
Here's my .xinitrc file
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
#twm &
#xclock -geometry 50x50-1+1 &
#xterm -geometry 80x50+494+51 &
#xterm -geometry 80x20+494-0 &
#exec xterm -geometry 80x66+0+0 -name login
exec mate-session
Offline
Error spawning command line 'dbus-launch --autolaunch=5579812bea564641a1a918bf13cc59f7 --binary-syntax --close-stderr'
This suggests to me that Caja (whatever that is) probably needs to be rebuilt against the new dbus.
Offline
tassadar20 wrote:Error spawning command line 'dbus-launch --autolaunch=5579812bea564641a1a918bf13cc59f7 --binary-syntax --close-stderr'
This suggests to me that Caja (whatever that is) probably needs to be rebuilt against the new dbus.
Caja is the mate file manager. Well, i'm a newbie so what are you saying sounds like chinese to me. I'll be doing some research about it, but, what do you suggest me to do? Thanks for your help, once again.
Offline
What version of Caja are you running?
Incidentally, does it work with gksudo?
Offline
What version of Caja are you running?
Incidentally, does it work with gksudo?
Well, Caja version is: MATE caja 1.14.1. Running it with gksudo gives me this message:
➜ ~ gksudo caja /usr
(caja:3610): GLib-GIO-CRITICAL **: g_dbus_connection_call_sync_internal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
ch=5579812bea564641a1a918bf13cc59f7 --binary-syntax --close-stderr': Child process exited with code 1
Offline
I meant what version of the Arch package is installed...
Nevermind: it was flagged out of date a month ago.
Offline
Is your system fully up to date? dbus got an update recently and it would probably break things if you didn't upgrade everything.
Offline
Is your system fully up to date? dbus got an update recently and it would probably break things if you didn't upgrade everything.
I got pending updates here, there's nothing about 'dbus' but I will update and report back.
Offline
Is your system fully up to date? dbus got an update recently and it would probably break things if you didn't upgrade everything.
nothing my friend, my system is now updated but caja is still showing this error.
Offline
it was flagged out of date a month ago.
Offline
use
dbus-launch caja
hp-envy dv7
Offline
jasonwryan wrote:it was flagged out of date a month ago.
what does it mean?
Offline
use
dbus-launch caja
This command
gksu dbus-launch caja
lets me open caja but can't do admin actions (for example, delete folders from /themes).
Offline
if you give it as root or with sudo, you can eliminate what he wants, if he does will have modified permissions problems
hp-envy dv7
Offline
if you give it as root or with sudo, you can eliminate what he wants, if he does will have modified permissions problems
Well, executing tihs command again lets me touch whatever I want. Don't know which could be the problem, but
dbus-launch caja
command, fixes it. Thank you both for your time and your replies.
Offline
Pages: 1