Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

REQUEST: Dolphin as root

For developer discussion on package requests
Post Reply
Message
Author
User avatar
JBoman
Forum Guide
Forum Guide
Posts: 1320
Joined: Wed Jul 12, 2006 4:30 pm

REQUEST: Dolphin as root

#1 Post by JBoman » Fri May 18, 2018 11:57 am

I'm requesting a version of Dolphin as the root user like was available in some previous spins or some clear instructions to create it myself. Thanks :cool:
http://patentabsurdity.com/
AMD 64x2 2.6GHz 4GB ram MX-17.1 KDE regular updates
"beware a frequent flirt with potential disaster"

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22410
Joined: Wed Jul 19, 2006 6:13 am

Re: REQUEST: Dolphin as root

#2 Post by Jerry3904 » Fri May 18, 2018 12:04 pm

Doesn't work to open a terminal and type

Code: Select all

sudo dolphin
??
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
JBoman
Forum Guide
Forum Guide
Posts: 1320
Joined: Wed Jul 12, 2006 4:30 pm

Re: REQUEST: Dolphin as root

#3 Post by JBoman » Fri May 18, 2018 12:10 pm

Well, I guess it probably does since opening Dolphin from the root terminal also works. Feel free to withdraw my request and Thank You
http://patentabsurdity.com/
AMD 64x2 2.6GHz 4GB ram MX-17.1 KDE regular updates
"beware a frequent flirt with potential disaster"

spidermouse
Forum Novice
Forum  Novice
Posts: 27
Joined: Sat Mar 17, 2018 10:19 pm

Re: REQUEST: Dolphin as root

#4 Post by spidermouse » Fri May 18, 2018 12:23 pm

:contract: Look at this commit:
https://cgit.kde.org/dolphin.git/commit ... e9b417cf89

I guess the future versions will not not run with root at all. :confused:
https://cgit.kde.org/dolphin.git/tree/src/main.cpp#n45

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16142
Joined: Fri Dec 15, 2006 8:07 pm

Re: REQUEST: Dolphin as root

#5 Post by Stevo » Fri May 18, 2018 12:56 pm

If you're running Dolphin, install "kde-servicemenu-rootactions":

Code: Select all

sudo apt install kde-servicemenu-rootactions
and opening a folder with a root Dolphin will be one of the new superpowers that you receive in the right-click menu. Check in Synaptic for some other kde-servicemenu packages that might come in handy, too.

User avatar
JBoman
Forum Guide
Forum Guide
Posts: 1320
Joined: Wed Jul 12, 2006 4:30 pm

Re: REQUEST: Dolphin as root

#6 Post by JBoman » Fri May 18, 2018 2:37 pm

For me the thing is I got used to not having to enter my complex root password for each task I was working on when running Slackware; when I have work to do that requires root access I prefer to enter it once and do all my work. My drives have many partitions and they are not all mounted at boot and they are not all accessible by reg user and I dont want them to be. In the course of some tasks I need to access multiple partitions that are root restricted and having to enter root password every time is not practical for me and makes me feel like I'm running a windows box instead of a Linux one. If I'm not savvy enough to use root at my own risk I should be running a windows box that will hold my hand and make sure I don't mess anything up. No worries, I'll either get used to the methods available or go back to Slack. Thanks again for the tips and suggestions, Jerry
http://patentabsurdity.com/
AMD 64x2 2.6GHz 4GB ram MX-17.1 KDE regular updates
"beware a frequent flirt with potential disaster"

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16142
Joined: Fri Dec 15, 2006 8:07 pm

Re: REQUEST: Dolphin as root

#7 Post by Stevo » Fri May 18, 2018 3:03 pm

You can set internal drives/partitions to mount as a normal user in the MX Tweak Tool, in the "other" tab.

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1398
Joined: Wed Apr 11, 2018 5:09 pm

Re: REQUEST: Dolphin as root

#8 Post by fehlix » Fri May 18, 2018 3:32 pm

Jerry3904 wrote:
Fri May 18, 2018 12:04 pm
Doesn't work to open a terminal and type

Code: Select all

sudo dolphin
??
@Jerry3904 : As I can't express it better here a quote:
You should never use normal sudo to start graphical applications as root.
Source: https://askubuntu.com/questions/425620/ ... ces#425644
Graphical sudo

You should never use normal sudo to start graphical applications as root. You should use gksudo (kdesudo on Kubuntu) to run such programs. gksudo sets HOME=~root, and copies .Xauthority to a tmp directory. This prevents files in your home directory becoming owned by root. (AFAICT, this is all that's special about the environment of the started process with gksudo vs. sudo).

Source: https://askubuntu.com/questions/425620/ ... ces#425644
:fox:

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22410
Joined: Wed Jul 19, 2006 6:13 am

Re: REQUEST: Dolphin as root

#9 Post by Jerry3904 » Fri May 18, 2018 3:38 pm

My bad, thanks.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1398
Joined: Wed Apr 11, 2018 5:09 pm

Re: REQUEST: Dolphin as root

#10 Post by fehlix » Fri May 18, 2018 3:43 pm

JBoman wrote:
Fri May 18, 2018 2:37 pm
...My drives have many partitions and they are not all mounted at boot and they are not all accessible by reg user and I dont want them to be. In the course of some tasks I need to access multiple partitions that are root restricted and having to enter root password every time is not practical for me
....
@JBoman : If those partitions are not accessible to Thunar as normal user, I'd recommend to have a look into SpaceFM. It shows all partitions, which you might never see within another filemanager. You could hide those you never touch anyway. Fairly easily setup to mount without root-password!
I do highly recommended this piece of master tool! :fox:
Let me know if you need a helping hand to set this up in spacefm ;)

Post Reply

Return to “Package Requests / Status”