Ask Your Question

sudo dolphin: "Executing Dolphin as root is not possible."

asked 2017-08-19 01:00:16 -0500

rwbehne1 gravatar image

updated 2017-08-19 01:11:04 -0500

I want to run Dolphin as root, but I only get this error message.

$ sudo dolphin
Executing Dolphin as root is not possible.

I ran Dolphin as root on other distros. How can I defeat this annoyance so I can once again use Dolphin as root?

edit retag flag offensive close merge delete

5 Answers

Sort by » oldest newest most voted

answered 2017-08-19 18:23:35 -0500

aigars gravatar image

Had the same problem: had to fix it by myself

edit flag offensive delete link more


EXCELLENT! Jailbreaking Dolphin! :-) Download in progress!

rwbehne1 gravatar imagerwbehne1 ( 2017-08-20 11:53:28 -0500 )edit

No joy. I forced an install, but the main problem persists. Although your version can run as root, it can't compare files and editors don't work.

Go to /etc/services in one view, and /usr/local/BACKUPS/etc/services in the other view. Next select TOOLS, and in the drop down menu you'll see compare, but it's grayed out so I still can't use it as root!

I also cannot open root owned files with Kate or Kwrite. So this isn't working, even though it can run as root.

rwbehne1 gravatar imagerwbehne1 ( 2017-08-20 12:26:34 -0500 )edit

answered 2017-08-19 16:33:56 -0500

sideburns gravatar image

updated 2017-08-19 20:23:08 -0500

If you don't mind using a different file manager as root, you can install thunar, the Xfce file manager. I don't use sudo, as I prefer to use su. (It's my machine, and I know the root password, so there's no reason for me not to use it.) Checking, I see that running su -c thunar works just fine. I've also installed beesu, which allows you to launch a program as root in a GUI, and having a launcher on my panel that runs the command beesu - thunar on those rare occasion that I need to run a file manager that way. (If you're running KDE, as I presume because you're using Dolphin.) there may be a DE specific version of beesu that you can use.

edit flag offensive delete link more


Ok, I finally got around to installing thunar, and I was very disappointed. It lacks important features which Dolphin has:

Split windows so you can be in two different directories simultaneously, The ability to compare files, The ability to patch files section-by-section while comparing them, and so on. I'll have to find a way to fix Dolphin so I can use it again.

rwbehne1 gravatar imagerwbehne1 ( 2017-08-20 11:50:11 -0500 )edit

answered 2017-08-19 02:29:05 -0500

vtrefny gravatar image

This is actually a new "feature" of Dolphin. The check his hard coded in Dolphin source -- -- and it is not possible to change it (without recompiling Dolphin).

Martin Gräßlin's blog explaining this change -- (for Kate, but Dolphin change is result of this).

If you want to run file as root I suggest Midnight Commander.

edit flag offensive delete link more


PCManFM is is really practical.

rookieoz gravatar imagerookieoz ( 2017-08-20 18:41:36 -0500 )edit

answered 2018-03-28 08:05:56 -0500

cip_fedora gravatar image

For general use is easier to just install a light file manger e.g. PCManFM (unlike Thunar and PCManFM-Qt has split view with F3).

Then, add a custom menu action to Dolphin:

  • create the folder(s) ~/.local/share/kservices5/ServiceMenus

  • run in terminal kwrite ~/.local/share/kservices5/ServiceMenus/Open_folder_as_root.desktop

  • paste the following and save:

[Desktop Entry]
X-KDE-Topmenu=Open as root

[Desktop Action root]
Name=Open folder as root
Exec=kdesu pcmanfm  %U
edit flag offensive delete link more

answered 2018-01-04 19:21:28 -0500

Zband gravatar image

Actually it is possible to undo the damage without having to recompile dolphin. However there are certain requirements. To learn how to do it go to the following site and follow the directions listed in the blog.

edit flag offensive delete link more

Question Tools


Asked: 2017-08-19 01:00:16 -0500

Seen: 5,599 times

Last updated: Aug 19 '17