You are not logged in.

#1 2016-09-03 02:55:42

tassadar20
Member
Registered: 2016-09-03
Posts: 10

[SOLVED] sudo caja segmentation fault

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

#2 2016-09-03 03:11:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] sudo caja segmentation fault

You use gksu/kdesu for GUI applications...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-09-03 03:23:35

tassadar20
Member
Registered: 2016-09-03
Posts: 10

Re: [SOLVED] sudo caja segmentation fault

jasonwryan wrote:

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

#4 2016-09-03 04:54:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] sudo caja segmentation fault

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?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-09-03 11:22:37

tassadar20
Member
Registered: 2016-09-03
Posts: 10

Re: [SOLVED] sudo caja segmentation fault

jasonwryan wrote:

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

#6 2016-09-03 19:37:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] sudo caja segmentation fault

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.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2016-09-04 03:31:51

tassadar20
Member
Registered: 2016-09-03
Posts: 10

Re: [SOLVED] sudo caja segmentation fault

jasonwryan wrote:
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

#8 2016-09-04 03:33:15

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] sudo caja segmentation fault

What version of Caja are you running?

Incidentally, does it work with gksudo?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2016-09-05 02:25:34

tassadar20
Member
Registered: 2016-09-03
Posts: 10

Re: [SOLVED] sudo caja segmentation fault

jasonwryan wrote:

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

#10 2016-09-05 02:34:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] sudo caja segmentation fault

I meant what version of the Arch package is installed...


Nevermind: it was flagged out of date a month ago.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2016-09-05 02:36:06

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED] sudo caja segmentation fault

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

#12 2016-09-05 02:55:21

tassadar20
Member
Registered: 2016-09-03
Posts: 10

Re: [SOLVED] sudo caja segmentation fault

circleface wrote:

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

#13 2016-09-05 05:19:39

tassadar20
Member
Registered: 2016-09-03
Posts: 10

Re: [SOLVED] sudo caja segmentation fault

circleface wrote:

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

#14 2016-09-05 05:42:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] sudo caja segmentation fault

jasonwryan wrote:

it was flagged out of date a month ago.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#15 2016-09-05 09:14:44

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: [SOLVED] sudo caja segmentation fault

use
dbus-launch caja


hp-envy dv7

Offline

#16 2016-09-05 14:36:56

tassadar20
Member
Registered: 2016-09-03
Posts: 10

Re: [SOLVED] sudo caja segmentation fault

jasonwryan wrote:
jasonwryan wrote:

it was flagged out of date a month ago.

what does it mean?

Offline

#17 2016-09-05 14:45:03

tassadar20
Member
Registered: 2016-09-03
Posts: 10

Re: [SOLVED] sudo caja segmentation fault

newbie1962 wrote:

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

#18 2016-09-06 09:13:26

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: [SOLVED] sudo caja segmentation fault

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

#19 2016-09-09 16:14:14

tassadar20
Member
Registered: 2016-09-03
Posts: 10

Re: [SOLVED] sudo caja segmentation fault

newbie1962 wrote:

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

Board footer

Powered by FluxBB