You are not logged in.
Pages: 1
Hi,
When i try to 'alt+f2 kdesu dolphin' the dolphin opens but i can't see anything and the window has a message "Could not start process Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files.
I already installed kde4 in 4 times in 3 machines (this is the 2nd time i install in this machine) and all have this probleme. Is this a bug or am i doing something wrong ?
Thank you for the help.
Offline
I notice the same issue on my machine. But I found that it is a dbus rights access to the user resources.
To give access to the resources it is necessary to use the dbus-launch command :
kdesu dbus-launch dolphin
read 'man dbus-launch' for more details.
Offline
I notice the same issue on my machine. But I found that it is a dbus rights access to the user resources.
To give access to the resources it is necessary to use the dbus-launch command :
kdesu dbus-launch dolphin
read 'man dbus-launch' for more details.
Thank you i was geting nuts with this.
Offline
working on mine kde4 without problems
Zygfryd Homonto
Offline
I remarked that the dbus-launch command loses the connection to the user X server ("cannot connect to X server :0"), so the method is not ideal after all.
It only permits system commands (copying, moving, deleting, ...) with root privileges, and not the use of graphical applications launched from Dolphin (kwrite, ...).
It seems that it is either the dbus access or the X server access, but not both.
If someone could find a solution it would be nice to share it.
Maybe we have to wait for future KDE 4 releases for a better solution.
Edit : there is also the rootactions-servicemenu-kde4 package in AUR. The service menu gives root privileges, from a user launched dolphin, to run system or graphical commands on selected files or directories. So it seems easier to use it than to launch a root dolphin on its own, without graphical access.
Last edited by berbae (2008-09-24 16:48:38)
Offline
I found a way to have the dbus access and the X server access with Krunner.;)
Here is the command line to enter :
xhost +;kdesu dbus-launch dolphin
and after getting out of dolphin :
xhost -
I did not find how to have all in one line, because all the commands on a line seem to be ran at once by krunner. Krunner doesn't wait for the end of each commands.
The rootactions-servicemenu-kde4 has the inconvenience to necessitate to enter the root password for each actions which we want to run with root privileges, and I find that not very practical.
I hope that method will be satisfying enough for now, waiting for something more elegant in the future.
Last edited by berbae (2008-09-24 17:04:03)
Offline
xhost +;kdesu dbus-launch dolphin
yeap, I have 'xhost +' in my bash profile
Zygfryd Homonto
Offline
Pages: 1