Is there a way to run Dolphin as Root?
The KDE team seems to have had a brainstorm and have disabled Dolphin from being run as root. It also seems that they intend to extend this to editors.
In other words they have removed a vital freedom from users. I would like to stay with Plasma but this restriction is a crippling one. Does anybody know a way to circumvent this restriction? I am running Plasma on Debian unstable. |
Which distribution are you using? You should be able to open a terminal and do: kdesu dolphin
OR: export $(dbus-launch) (hit the enter key) type: dolphin to open it Which distribution are you using? Don't know that it will work on all so you just need to test as both work for me with kde5. |
Quote:
https://blog.martin-graesslin.com/bl...files-as-root/ FWIW, I'm still using openSUSE Leap (KDE 5.32.0) where it is still possible to invoke Code:
xdg-su -c dolphin |
For those using a new version of Plasma 5/ Dolphin there has been a move away from running Dolpinh as root, but allowance has been made to configure Dolphin to allow various actions on root-owned files instead....
https://forums.mauilinux.org/showthread.php?tid=24251 Quote:
|
Quote:
Alien Bob developer for Slackware has been patching it. Slackware uses root. Top user should be able to use the computer. |
I have just upgraded Firefox from 57.0 to 57.0.2.
I could not do it using Dolphin, like I have been doing since dinosaurs walked the earth. I always do: 1. Delete firefox.bak 2. Rename Firefox to Firefox.bak 3. Open the new archive. 4. Extract to /usr/local. Since /usr/local is owned by root I had to jump through hoops and then use krusader. One can commend Martin Floser's enthusiasm but his autocratic behaviour is unacceptable. I am surprised that this change was allowed to go through. Where has our Freedom gone? Or should we drop the "F" from "FOSS"? |
Quote:
|
I can run [URL="https://en.wikipedia.org/wiki/Midnight_Commander"]Midnight Commander (mc)[/URL. It's a dual-pane ncurses file manager similar to the old Norton Commander from the DOS days.
I can run mc as root in Debian Sid. If I try to run Dophin, I get an "it is forbidden" warning. The "export dbus" error message does not appear. When I try to "export dbus," I get a"forbidden to user ID less than 1000" message. I agree that this is an unnecessary and annoying decision that addresses an issue that I doubt actually exists. |
Quote:
|
Quote:
I used to run Konqueror from time to time as root so as to configure directory permissions for Samba shares. which was about the only reason I ever ran a file manager as root, because it was easy. I may play around with the suggestion in post #4, but I probably won't get to it for a few days; tomorrow is already booked, for we are going to a Christmas concert, hoping it will lift our spirits! If I do try that suggestion, I shall certainly report back. Also, I am not a Dolphin fan. As you can conclude from the above, I prefer to use Konqueror as a file manager and never have figured out why KDE came up with Dolphin when Konqueror worked so very nicely, thank you very much. Also, he added facetiously, why is it called "Dolphin"? This is KDE we're talking about here. Shouldn't it be called "Karp"? |
Quote:
Quote:
Quote:
|
Quote:
https://alien.slackbook.org/ktown/so...t_noroot.patch Code:
#ifndef Q_OS_WIN |
I tried the suggestions in post #4 on Debian Sid with the Plasma desktop.
The "Root Actions" was not present in my version of Dolphin in Plasma on Debian Sid. It may be available via a plugin, but I haven't been able to explore that fully. |
Quote:
I looked at the deb source and it is right from kde. why would they patch it. they have no reason to be root Mewwwy qwissmass fwank :) |
This is not security.
This is security theatre. |
Like Frank, I do not do anything from a GUI which requires root-privileges.
|
I use this:
Code:
kdesu dolphin |
As I mentioned earlier, the one thing I used Konqueror for as root was setting directory permissions for Samba shares.
The functionality of setting directory permissions seems to have been removed in the Plasma desktop file managers. Now I'm going to have to learn how to do it the old-fashioned way.:( |
@Radical Dreamer
Code:
david@davcefai:~$ kdesudo dolphin |
The question I asked was "Is it possible to run Dolphin as root?"
Thanks to those who tried to help. Whether some people think that one should not use GUI programs as root is not relevant to this discussion. We brag about FOSS being about freedom. The responsible person could just as easily created a settable flag "Do not run as root" instead of inconveniencing thousands of other users. Steve Gibson created the slogan "It's MY computer" albeit in a different context. If others want to use the command line, more power to them. There are those of us who don't. I am now setting up a PC to run Devuan (no systemd) and XFCE. I shall miss the power of KDE but, hopefully will regain my freedom. (Doesn't that sound dramatic? :-) ) |
Quote:
but not normally recommended most of the time "kdesu" is installed ? yes no ? AND SET UP AND CONFIGURED ? i use a desktop file in /usr/share/applications to prompt for the root user name and password pop up "org.kde.dolphinsu" Code:
[Desktop Entry] |
@John VV: The ability to use kdesu depends on the KDE/Plasma version in use. There has been a deliberate developer move to disable it...
Quote:
|
Quote:
talk about it very short here. back in July. https://www.youtube.com/watch?v=iN5JKj_3Iys |
I watched the video linked to in the previous post. One statement really stands out. "Root should own everything and be able to do anything"
Have these people forgotten this basic principle? Anyway, thanks to all who tried to help constructively. It's time to think of moving away from the repressive regimes: KDE and SystemD. |
Quote:
Run it as root Nautilus will allow you to edit root only files that are normally not accessible. to run, simply type in nautilus |
Thanks, I've ben using Krusader but it does not feel as "comfortable" as Dolphin.
There is still however the "philosophical" principle that users should not be arbitrarily deprived of features. Freedom is an element of FOSS. |
Quote:
|
Winding Up
Just to wind up this thread, thanks for the interesting discussion. However there does not seem to be any solution to this particular problem.
It seems that KDE has lost its way and forgotten that there are real users out here. Reporting bugs is a waste of time, there is hardly ever a response. The best way for me out of this particular problem has been to run 2 copies of Thunar, side by side, as root. |
I use opensuse and the suse guys have patched it so the ability to use dolphin and kwrite as root has been back for a while now.
|
Since my previous post I have switched 3 PCs from debian to Devuan and from KDE to XFCE4.
It looks like Debian has been "taken over" by people who have forgotten that free software is supposed to give you the freedom to choose. Their latest move has been to forcibly impose systemd. The package systemd-shim has been withdrawn from circulation and a lot of packages have a dependency on systemd. KDE have also autocratically prevented some programs from running under root. I have found Devuan and XFCE quite adequate and gradually improving. The forcible conversion to systemd on debian is the last straw. I now find my server, which is still Debian, more difficult to manage than a Windows machine. So next week that will change. Leaves only a Raspberry pi and my wife's PC running Debian. The pi is dedicated to being part of my music system so I'll leave it alone. The wife isn't bothered so unless something happens her PC will stay on Debian Stable. The question I asked originally was "Is there a way to run Dolphin as root". The answer is now "No, somebody is actively working to prevent it." The solution is ditch KDE and Debian as they have moved away from the spirit of software libre. |
Quote:
https://phabricator.kde.org/D12732 |
With my current Debian testing and Dolphin 18.08, I su to root in command prompt and paste the command below and hit enter, you can switch out the word "dolphin" for kate or kwrite if you want to open an editor as root.
Code:
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dolphin |
Thanks for the replies. However having made the change I am reluctant to go back and anyway it seems that I will still have to jump through hoops to work how I want to.
Moreover I feel that there will always be a cloud over Debian and KDE because what's to stop other disruptive changes being made? When one needs to take "creative" measures to circumvent other measures then it is time to consider making a change. KDE has become so big and inefficient that I find XFCE to be a breath of fresh air. Systemd still has the potential to greatly damage Linux. It is a major change which has been badly implemented and breaks the spirit of "The Unix Way" My transition started with the Dolphin-as-root problem, which I could have simply solved by switching to another graphical environment. However the forcible introduction of systemd pushed me to Devuan. The maintainers have a right to do what they want to. However users have the right to use what suits them. If anybody hasn't noticed it now seems impossible to use Sysvinit in Debian. Systemd updates have removed systemd-shim and overwrite /sbin/init with a link to systemd. |
All times are GMT -5. The time now is 01:17 PM. |