Siduction Forum

Siduction Forum => Software - Support => Topic started by: dibl on 2017/04/06, 12:29:45

Title: For Plasma 5 users -- Dolphin issue coming soon
Post 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.  :)
Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: horo on 2017/04/06, 13:19:51
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.
Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: dibl on 2017/04/06, 13:30:20
Vielen dank, Martin!
Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: dibl on 2017/04/06, 22:46:02
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.
Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: devil on 2017/04/08, 07:44:13
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.
Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: melmarker on 2017/04/08, 12:11:01
> 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.
Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: dibl on 2017/04/08, 14:40:35
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)
Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: melmarker on 2017/04/08, 15:56:01
@dibl  tststs - lxsudo pcmanfm-qt 8)
Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: dibl on 2017/04/08, 16:07:36
Ohhhhhhhhhhhhh -- I never heard of that!  I guess that comes from my learning style .......   Thanks!

Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: Lanzi on 2017/04/15, 20:22:30
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".
Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: bevo on 2017/04/16, 10:22:32
Das Umschalten in den Systemverwaltungsmode bringt eine Fehlermeldung.

Code: [Select]
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
Code: [Select]
/usr/lib/kde4/libexec/kdesuerzeugt
Code: [Select]
su hat einen Fehler gemeldet.erzeugt Wie und wo muss der Pfad eingegeben werden?

bevo
Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: dibl on 2017/04/16, 11:08:45
In root terminal, enable kdesu:


Code: [Select]
ln -s /usr/lib/kde4/libexec/kdesu-distrib/kdesu  /usr/bin/kdesu


Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: bevo on 2017/04/16, 12:14:47
@dibl

Thanks but the last error message persists.

Code: [Select]
su hat einen Fehler gemeldet

bevo


Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: dibl on 2017/04/16, 12:22:05
Can you start other GUI packages with kdesu?


Alt-F2



Code: [Select]
kdesu konsole

Does it launch konsole in root mode?
Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: bevo on 2017/04/16, 12:28:56
yes but ask for password
Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: dibl on 2017/04/16, 12:32:41
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.  :(
Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: bevo on 2017/04/16, 12:46:53
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.

Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: piper on 2017/04/16, 13:25:25
I can't stand dolphin,  love konqueror   ;)

In yak as root

Code: [Select]
dbus-launch konqueror --profile filemanagement
or

as user

Code: [Select]
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)  ;)
Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: dibl on 2017/04/16, 14:03:09
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.
Title: Re: For Plasma 5 users -- Dolphin issue coming soon
Post by: piper on 2017/04/16, 14:21:01
Happy Easter /  Fröhliches Eiersuchen    dibl  & all