You are not logged in.

#1 2015-08-01 21:19:16

silviogreuel
Member
Registered: 2015-08-01
Posts: 2

File managers only works with sudo.

File managers tested:
Dolphin, Konqueror, Krusade, Midnight Commander (works)

Info:
Archlinux
4.1.3-1-ARCH #1 SMP PREEMPT Wed Jul 22 20:37:12 CEST 2015 x86_64 GNU/Linux
Plasma 5
KWin

Runs:

Dolphin:

user>dolphin .                                                                                                                        
user>KCrash: Application 'dolphin' crashing...
user>KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
user>KCrash: Connect sock_file=/home/silvio/.kde4/socket-greuel/kdeinit4__0
user>[1]    11137 killed     dolphin .

Konqueror:

user>konqueror .                                                                                                                      
user>KCrash: Application 'konqueror' crashing...
user>KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
user>KCrash: Connect sock_file=/home/silvio/.kde4/socket-greuel/kdeinit4__0
user>[1]    11200 killed     konqueror .

Krusader:

user>krusader .                                                                                                                       
user>[1]    11263 bus error (core dumped)  krusader .

As root:

user>su root

root>dolphin .
root>dolphin(11777)/kdeui (kdelibs): Session bus not found 
root>To circumvent this problem try the following command (with Linux and bash) 
root>export $(dbus-launch) 
root>KCrash: Application 'dolphin' crashing...
root>KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
root>KCrash: Connect sock_file=/root/.kde4/socket-greuel/kdeinit4__0

Log on KDE Crash Reporter:

Application: Dolphin (dolphin), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f192062d528 in raise () from /usr/lib/libc.so.6
#7  0x00007f192062e93a in abort () from /usr/lib/libc.so.6
#8  0x00007f191c46051d in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#9  0x00007f191dc8579c in ?? () from /usr/lib/libkdeui.so.5
#10 0x00007f191dd6b97a in ?? () from /usr/lib/libkdeui.so.5
#11 0x00007f191dd6c372 in KApplication::KApplication(bool) () from /usr/lib/libkdeui.so.5
#12 0x00007f19209da49b in ?? () from /usr/lib/libkdeinit4_dolphin.so
#13 0x00007f19209f0b74 in kdemain () from /usr/lib/libkdeinit4_dolphin.so
#14 0x00007f192061a790 in __libc_start_main () from /usr/lib/libc.so.6
#15 0x0000000000400719 in _start ()

Doing what log hinted make it run as well:

root>export $(dbus-launch) 
root>dolphin .

But doing the same as user:

user>dolphin .                                                                                                                        
user>kdeinit4: Shutting down running client.
user>Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
user>QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
user>QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
user>kbuildsycoca4 running...
user>KCrash: Application 'dolphin' crashing...
user>KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
user>KCrash: Connect sock_file=/home/silvio/.kde4/socket-greuel/kdeinit4__0
user>KCrash: Application 'drkonqi' crashing...
user>KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
user>KCrash: Connect sock_file=/home/silvio/.kde4/socket-greuel/kdeinit4__0
user>[1]    12047 killed     dolphin .

Tested:
Removed all kde related configs/cache
Reinstalled dolphin, konqueror ... (-Rns, -S)
Reinstalled plasma 5 (-Rc, -S)

Dolphin strace (pasted error launch line):

open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 16
fstat(16, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb35d35b000
read(16, "MemTotal:        8121856 kB\nMemF"..., 1024) = 1024
close(16)                               = 0
munmap(0x7fb35d35b000, 4096)            = 0
lstat("/usr/share/fonts/TTF/Oxygen-Sans-Bold.ttf", {st_mode=S_IFREG|0644, st_size=44032, ...}) = 0
open("/usr/share/fonts/TTF/Oxygen-Sans-Bold.ttf", O_RDONLY) = 16
fcntl(16, F_SETFD, FD_CLOEXEC)          = 0
fstat(16, {st_mode=S_IFREG|0644, st_size=44032, ...}) = 0
mmap(NULL, 44032, PROT_READ, MAP_PRIVATE, 16, 0) = 0x7fb33dab1000
close(16)                               = 0
lstat("/usr/share/fonts/TTF/DejaVuSans.ttf", {st_mode=S_IFREG|0644, st_size=741536, ...}) = 0
open("/usr/share/fonts/TTF/DejaVuSans.ttf", O_RDONLY) = 16
fcntl(16, F_SETFD, FD_CLOEXEC)          = 0
fstat(16, {st_mode=S_IFREG|0644, st_size=741536, ...}) = 0
mmap(NULL, 741536, PROT_READ, MAP_PRIVATE, 16, 0) = 0x7fb33d9fb000
close(16)                               = 0
brk(0x291a000)                          = 0x291a000
brk(0x293b000)                          = 0x293b000
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN|POLLOUT}])
recvmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"\34\0_\1\22\0@\7J\1\0\0\351\311G\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 160
writev(6, [{"\213\21\3\0\34\0@\7\v\2\0\0\213\21\3\0\35\0@\7\v\2\0\0\213\21\3\0\36\0@\7"..., 36}, {NULL, 0}, {"", 0}], 3) = 36
recvmsg(6, 0x7ffd56356600, 0)           = -1 EAGAIN (Resource temporarily unavailable)
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
recvmsg(6, 0x7ffd56356730, 0)           = -1 EAGAIN (Resource temporarily unavailable)
--- SIGBUS {si_signo=SIGBUS, si_code=BUS_ADRERR, si_addr=0x7fb3422becc0} ---
rt_sigaction(SIGALRM, {SIG_DFL, [ALRM], SA_RESTORER|SA_RESTART, 0x7fb35cd175b0}, {SIG_DFL, [], 0}, 8) = 0
alarm(3)                                = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4*1024}) = 0
close(3)                                = 0

What can I do to make it run?
Someway to reproduce in a clean install?
User permission Related?

Thanks...

Last edited by silviogreuel (2015-08-02 02:26:54)

Offline

#2 2015-08-01 21:21:54

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

Re: File managers only works with sudo.

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-08-01 22:36:36

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,803

Re: File managers only works with sudo.

Welcome to Arch Linux.  Your experience seems rather unique.  I think, perhaps, you need to tell us a lot more about your system, and how, specifically, you installed it and which desktop environment you are trying to use.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#4 2015-08-02 02:03:21

silviogreuel
Member
Registered: 2015-08-01
Posts: 2

Re: File managers only works with sudo.

So,

8 months ago, I've made a clean install of archlinux + plasma 5 (installed via AUR using packer -S plasma-next).

Every week, on friday/saturday I make a full system upgrade (pacman -Syu).

On last friday I've installed kdeconnect package and removed a SD Card Reader from my computer (~3pm),
between 3pm and 11pm I was on a friend's house, when returned, I noticed that plasmashell was crashed,
on reboot, right before splash screen plasmashell crashed, tired I poweroff the machine.

Today I tried to isolate the plasmashell behavior, searching on some forums, the solution was to delete all .kde .cache
files related to plasmashell, it worked for some time, but, same behavior returns before some reboots, as a workaround,
I keeped deleting these files.

Then I noticed that dolphin and konquerer are crashing to, I've tested as described on my first post,
before removing and installing again plasma and maked a full system upgrade, plasmashell crashes have gone,
but file managers keep crashing...

Hardware: i7-4990k, 8gb ram crosshair 2400mhz, z97M-plus

I think that's it

Last edited by silviogreuel (2015-08-02 02:05:09)

Offline

Board footer

Powered by FluxBB