Page 1 of 2
(24 posts)

Hi all. Is there a way to run either Dolphin or Konquerer as SU. There used to be a separate icon in the taskbar and menus on older versions of KDE but not in the menus for 4.1.2. I have placed an icon for Dolphin on my main screen and can run as user from that but I can find no way of running it as SU. If I use the run command I can enter SU and it offers me an icon for that, but if I run it and subsequently open Dolphin I still only have user access ! I want to be able to edit and save any file without going to the trouble of re-booting as root or using su in a terminal session.

Locate Dolphin (most likely in system/File manager). Right-click on it and choose copy. Right-click on the category you want the SU-Dolphin to be in and choose paste. Rename it if need be (it defaults as Dolphin-2). You may want to change the description and/or icon to make it easier to distinguish it from the non-superuser version as well. Click the advanced tab. Check "Run as different user", and fill in root in the user-name field. Save.

Now you have one superuser-dolphin in the menu. If you want it on the panel or on the desktop, make sure the widgets are unlocked. Locate the new entry in the startmenu. Rightclick on it and select "Add to panel" or "Add to desktop".

Done.

OpenSUSE 11.4, 64-bit with KDE 4.6.4Proud to be a member of KDE forums since 2008-Oct.

Hi Kryten2X4B. Thanks for your interest. I tried your idea and all went well until I clicked on the new Dolphin icon. I was asked for the root password and on giving it Dolphin opened but did not display any files at all! It did put a message at the bottom of the screen saying :-"Could not start process. Cannot talk to klauncher. The name org.kde.klauncher was not provided by any service files"I had previously got to this point by editing a second instance of the Dolphin icon on the desktop -icon settings-application- advanced. Have you any ideas as to what the message means and how to satisfy its requirements?

toad wrote:cager, what is a run box? My commands work if typed into a terminal. Also, which system are you running?

Hi toad. I am running Fedora 9 (2.6.27.5-32) with KDE 4.1.2. If I right click on the desktop and select run I get a weedy box on the screen in which I can type the run instruction. If the system recognises the application an extension of the box drops down with an icon in it which has to be clicked to run te application. I have also tried using your commands from a terminal but I get the reply "kdesu: command not found"Cager

Cager wrote:Have you any ideas as to what the message means and how to satisfy its requirements?

I'm afraid not. It works for me.

However, another idea that may be worth pursuing. I take it all that you want to accomplish is to be able to edit, for example, xorg.conf in kate/kwrite or delete stuff in say /etc without having to resort to konsole, right?

With that installed, all you would need to do is to right-click on the file in question, select the "Root actions" submenu and do what's needed (Open as text, Open with, Move/rename, delete, change permissions). After having provided the superuser-password that is.

OpenSUSE 11.4, 64-bit with KDE 4.6.4Proud to be a member of KDE forums since 2008-Oct.

Cager wrote:Hi Kryten2X4B. Thanks for your interest. I tried your idea and all went well until I clicked on the new Dolphin icon. I was asked for the root password and on giving it Dolphin opened but did not display any files at all! It did put a message at the bottom of the screen saying :-"Could not start process. Cannot talk to klauncher. The name org.kde.klauncher was not provided by any service files"I had previously got to this point by editing a second instance of the Dolphin icon on the desktop -icon settings-application- advanced. Have you any ideas as to what the message means and how to satisfy its requirements?

Cheers Cager

dittoFor what it's worth I'm running OpenSuse 11.0 x64 and get the same error message when Dolphin opens (but doesn't display anyting) using kdesu. This is not the case running "kdesu konqueror".

Hi All. I haven't come across servicemenus before. From a brief look at the website for the Root actions service menu I think I will have to try that tomorrow if I get time to do a bit of reading. It was a lot simpler when a superuser version of Konqueror was part of the standard kit! Cager

**NOTE: This works with either the Alt+F2 Run-dialog or in a konsole or xterm.

After a 'Fresh' login:

Using either "gksudo dolphin" or "kdesudo dolphin" gets the following error at bottom of the dolphin window.

"Could not start process. Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files.

Same error is repeated in subsequent attempts.

However, trying either "gksu konqueror" or "kdesudo konqueror" gets a konqueror window at the default Konqueror "be free" homepage. You must then type "~" + Enter and then Alt+Up(cursor) or "/" + Enter in the address bar to get the "/" root folder. Only after you get a file listing will you then be able to see a file list in a 'root' dolphin. Close Konqueror first.

(you can also type "gksu konqueror /" or "kdesudo konqueror /" to get an initial 'root' file listing)

I found that you must type "gksu dolphin ~" or "gksu dolphin /" or "gksu dolpnin /path/to/files" to get dolphin to display a list of files on opening. (you can replace gksu with kdesudo/kdesu - whatever works)

Dolphin continues to display a file list until logout and loging back in. You have to do the 'root' Konquero list FIRST before Dolphin will list files.

Hi Kryten2X4B . I tried the service menu you suggested but still no coconut! When I right click on a file I get the root action menu but if I select say, "Ownership to active user" I am not prompted for the root password and I still can't edit files owned by root.