Siduction Forum
Siduction Forum => Software - Support => Topic started by: dibl on 2017/04/06, 12:29:45
-
I almost posted this in "Upgrade Warnings", but if we can spread the news before the problem lands, there will be no update issue.
As of version 17.x, the ability to run dolphin in root mode, via kdesu or kdesudo, will be disabled due to lack of policykit integration. Background:
https://bugs.kde.org/show_bug.cgi?id=152150 (https://bugs.kde.org/show_bug.cgi?id=152150) (see recent comments at the bottom)
https://bugs.kde.org/show_bug.cgi?id=179678 (https://bugs.kde.org/show_bug.cgi?id=179678)
If you are accustomed to using dolphin in root mode for file management, making symlinks, etc., you will need to change your habits. There are many other file managers around -- pcmanfm-qt, for example. Also, good old krusader has been updated recently to ver. 2.5 which some say works well on the plasma desktop.
Maybe one of the German speakers would like to translate this for the DE side. :)
-
Hi,
a rough translation of dibl's post / eine rasche Übersetzung von dibls Meldung:
"ich hätte es fast schon in 'Upgrade Warnings' gepostet, aber wenn die Info verteilt wird, bevor es zu spät ist, können wir es noch verhindern, dass es zum Problem wird. Ab Version 17.x kann dolphin nicht mehr als root ausgeführt werden z.B. per kdesu oder kdesudo, da die policykit-Unterstützung fehlt."
Zum Hintergrund siehe die Links von dibl.
"Wenn Ihr gewohnt seid, dolphin als root zu benutzen, um Dateien zu schieben oder Symlinks anzulegen, müsst Ihr etwas anderes dafür verwenden. Es gibt genügend andere Filemanager, die als root funktionieren, z.B. pcmanfm-qt; auch der gute alte krusader soll unter plasma funktionieren."
Ciao, Martin
P.S.:
It is always a good idea to do these critical root actions either in the shell (/bin/sh) or with a tool like mc (midnight commander) - that works even when X is broken.
Es ist immer eine gute Idee, solche kritischen root-Aktionen entweder in der shell (/bin/sh) oder mit einem Programm wie dem mc (midnight commander) durchzuführen - das funktioniert auch, wenn X kaputt ist.
-
Vielen dank, Martin!
-
A little experimentation indicates pcmanfm-qt is a reasonable file manager to use in root mode for KDE/Plasma desktops. If your system is configured to use "kdesu", then you can use krunner to launch pcmanfm-qt with kdesu prefix and have your root mode file manager. I don't see how to split the window, but Ctrl-N will open a second pcmanfm window and you can work between the two windows.
-
KDE also offers Krusader. It has the switch to root user in it's menu has 2 panes a standard and is not affected by the changes.
-
> UNIX was never designed to keep people from doing stupid things,
> because that policy would also keep them from doing clever things.
> -- Doug Gwyn (1 Aug 90)
So maybe there is the chance that this f***ing bull*** don't hit the fan or the masses.
-
I agree -- I don't respect people doing things like this to protect me from myself. Among other reasons, they fail to understand my capacity for self-destructive choices. ;)
For LXQt, Alt-F2 "gksu pcmanfm-qt" and I'm all set.
For KDE, just "kdesu pcmanfm-qt" on the desktop and it's all good. 8)
-
@dibl tststs - lxsudo pcmanfm-qt 8)
-
Ohhhhhhhhhhhhh -- I never heard of that! I guess that comes from my learning style ....... Thanks!
-
I recommend Krusader very much!
Its the perfect tool, and I never understood how to work with one-window solutions inruduced by MS in Win3 and later "File-Explorer".
-
Das Umschalten in den Systemverwaltungsmode bringt eine Fehlermeldung.
Krusader kann nicht im Systemverwaltungsmodus gestartet werden, da sich „krusader“ und/oder „kdesu“ nicht im Suchpfad ($PATH) befinden.
Die entsprechenden Abhängigkeiten können im Konfigurator konfiguriert werden.
Der Pfadeintrag bei KDESU /usr/lib/kde4/libexec/kdesu
erzeugt su hat einen Fehler gemeldet.erzeugt
Wie und wo muss der Pfad eingegeben werden?
bevo
-
In root terminal, enable kdesu:
ln -s /usr/lib/kde4/libexec/kdesu-distrib/kdesu /usr/bin/kdesu
-
@dibl
Thanks but the last error message persists.
su hat einen Fehler gemeldet
bevo
-
Can you start other GUI packages with kdesu?
Alt-F2
kdesu konsole
Does it launch konsole in root mode?
-
yes but ask for password
-
OK, that is correct operation of kdesu. This means the problem lies with krusader. I have not used krusader in 10 years, so I would not have good advice for you. In those times there were 2 krusader modes, 1 for user and 1 for root. But I don't know about new krusader. :(
-
Dibl, may be there is a misunderstanding on my side. Of course i can start Krusader in root mode but I understand devils post that
the button "ctr-alt-k" will start Krusader without require a password.
-
I can't stand dolphin, love konqueror ;)
In yak as root
dbus-launch konqueror --profile filemanagement
or
as user
su-to-root -X -c konqueror
The last one can be used if you make your own icon and can be used in yak (cli) ;)
-
Happy Easter, Piper!
Yes, that dbus-launch (as root) method has saved me in the past when kdesudo and kdesu were broken. It's a good one to remember.
-
Happy Easter / Fröhliches Eiersuchen dibl & all