This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to run Dolphin 18.08 as root with Kubuntu or KDE neon?

Tags: None
(comma "," separated)
vosaxalo
Registered Member
Posts
2
Karma
0
The release of Dolphin 18.08 brought the possibility to start Dolphin as root user within a root session.
However, some Linux distributions based on Ubuntu, such as Kubuntu and KDE Neon, do not have a root user separate from the normal user.
How do I start Dolphin as root in these distributions?
AFAIK I can't open a "root" session.
User avatar
Rog131
Registered Member
Posts
828
Karma
10
Earlier: https://www.kubuntuforums.net/showthrea ... post419202

With the Neon in the VBox - KDE Apps 18.08

With the help of:

- pkexec: https://www.freedesktop.org/software/polkit/docs/0.105/pkexec.1.html

- “error: XDG_RUNTIME_DIR not set in the environment.” when attempting to run nautilus as root: https://askubuntu.com/questions/456689/error-xdg-runtime-dir-not-set-in-the-environment-when-attempting-to-run-naut

- Krusader 2.5.0 missing toolbar icons in root mode: https://forum.kde.org/viewtopic.php?f=309&t=136927

command =>

Code: Select all
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dolphin


Seem to work...

Image

Gif: https://i.imgur.com/oHNf45t.gif
vosaxalo
Registered Member
Posts
2
Karma
0
Thank you very much for your help @Rog131.
It works perfectly :)
jlandmesser
Registered Member
Posts
1
Karma
0
.. and which ubuntu genius thinks i can admin kde-neon without root-dolphin??? :<
User avatar
Wolfman
Registered Member
Posts
40
Karma
0
OS
A simple fix for me without having to remember long terminal commands is to install Thunar, yes!, you get bits of the XFCE desktop but its a small price to pay as far as I'm concerned.

In Kubuntu, open the Konsole and type:

Code: Select all
sudo apt install thunar


To run Thunar as root once installed (again using the Konsole), simply type:

Code: Select all
sudo thunar


I would like to use root in Dolphin to copy firmware files for my DVB-T2 TV stick into the /lib/firmware folder but have to use Thunar to get this done in a simple manner.

It would be nice if the KDE devs had an "Open as root" option in Dolphin imo. o)


Running Kubuntu on two computers (one dual boot and one as single OS), were it not for gaming; I would ditch Winblows completely!.
User avatar
zachus
Registered Member
Posts
56
Karma
0
OS
jlandmesser wrote:.. and which ubuntu genius thinks i can admin kde-neon without root-dolphin??? :<


KDE people are pure genius who easily memorize the line below at age of 6 years

pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dolphin

thank god sudo dolphin is forbidden!

it was too easy to learn!




Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed