[kde-linux] KDE 4. Trying to get it working like I need it to.

Jan Simonson nytt at simonson.se
Tue Nov 10 13:58:23 UTC 2009

tisdag 10 november 2009 skrev Kevin Krammer:
> On Tuesday, 2009-11-10, Dale wrote:
> > Kevin Krammer wrote:
> > > You wrote in your reply to Andreev Sergei that it works with Konqueror.
> > > Is that Konqueror from KDE4?
> >
> > 
> > I'm thinking it is from KDE 3 by the way it looks.  I need to see if I
> > can run the KDE 4 version, if there is one, and see what it looks like.
> I would have been surprised if the KDE4 version of Konqueror worked, since
>  it  shares most filemanagement code with Dolphin so it is unlikely they
>  don't share bugs (if it is one in the application).
> What I think what's happening is that the root application attempts to
>  connect  to D-Bus and the D-Bus code wants to check whether D-Bus is
>  running. It detects a running one through an X server property but then
>  can't connect to or cannot talk to it because it is running as a different
>  user.
> The command using dbus-launch works around that, not sure why it still
>  doesn't  work though.
> Might be some explicit check to avoid running end user applications as
>  root  for security reasons, might be a bug.
> I'd say if you have the time file a bug report against Dolphin (will most 
> likely be reassigned to whatever the developer thinks is most appropriate)
>  and  tell us about the bug number.

I have followed this discussion as I have the same problem on a Fedora10 box 
with KDE 4.3.2 fully updated:

When I change the command line in the program page in the Dolphin desktop file 
kdesu 'dolphin %i -caption "%c" %u'
I get a request for root password and then Dolphin runs as root. However, when 
trying to invoke kwrite on any file I get:
KDEInit kunde inte starta "/usr/bin/kwrite" which translates to KDEInit could 
not start "/usr/bin/kwrite"

Starting Dolphin from a root shell when logged in as another user gives the same 
result with some additional output after Dolphin is closed:
[root at oden ~]# dolphin
[root at oden ~]# kDebugStream called after destruction (from void 
KDirWatchPrivate::removeEntry(KDirWatch*, KDirWatchPrivate::Entry*, 
KDirWatchPrivate::Entry*) file 
/builddir/build/BUILD/kdelibs-4.3.2/kio/kio/kdirwatch.cpp line 901)
Cancelled INotify (fd 10, 1) for "/root/.local/share"

[root at oden ~]#

I hope this might help nailing down the problem
Jan Simonson

More information about the kde-linux mailing list