Bug 397133 - Krusader in root-mode don't start
Summary: Krusader in root-mode don't start
Status: RESOLVED NOT A BUG
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: 2.6.0
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-03 18:04 UTC by Hanisch
Modified: 2018-08-11 17:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanisch 2018-08-03 18:04:19 UTC
in LinuxMint 19 (32bit) in a VirtualBox I can't start the Krusader in root-mode via Extras -> Krusader im Systemverwaltungsmodus starten.

Fehler - KDE-SU
su hat einen Fehler gemeldet.

What mean this message an how can I repair that?
Comment 1 Hanisch 2018-08-04 17:51:30 UTC
It's Krusader Vefrsion 2.6.0

Without
~$ cat /etc/sudoers.d/live
opa ALL=(ALL) NOPASSWD: ALL

no anywhere Password is acceptable.

Der Zugriff wird verweigert.
Möglicherweise wurde das falsche Passwort verwendet. Bitte versuchen Sie es erneut.
Auf manchen Systemen ist die Zugehörigkeit zu einer speziellen Gruppe (oft: wheel) für das Verwenden dieser Anwendung notwendig.

Why no Password is acceptable?
Comment 2 Hanisch 2018-08-07 15:12:15 UTC
The problem is identical with Krusader 2.6.0 and 2.7.0

VM-linuxmint:~$ /usr/lib/i386-linux-gnu/libexec/kf5/kdesu krusader
kdesud daemon not found.
org.kde.kdesu: Daemon not safe (not sgid), not using it.

What mean 'kdesud daemon'?
Comment 3 Hanisch 2018-08-07 15:33:20 UTC
The problem is solved with following Workaround:

sudo rm /usr/lib/i386-linux-gnu/libexec/kf5/kdesu
sudo ln -s /usr/bin/kdesudo /usr/lib/i386-linux-gnu/libexec/kf5/kdesu
Comment 4 Alex Bikadorov 2018-08-07 18:20:36 UTC
It seems that kdesu is not working on your system in general.
This may be an issue with Mint or your installation but is not related to Krusader.

About the workaround - specially for other people reading this ticket: Manually removing or replacing binaries belonging to a distro package IS NOT RECOMMENDED. You should avoid that!

I'm curious, are you the same guy asking here: https://forum.ubuntuusers.de/topic/kdesudo-kdesu-missing/ ?
Comment 5 Hanisch 2018-08-08 09:28:46 UTC
>I'm curious, are you the same guy asking here: https://forum.ubuntuusers.de/topic/kdesudo-kdesu-missing/ ?
YES.
'kdesudo' is necessary for me.
Comment 6 Hanisch 2018-08-08 14:33:51 UTC
I think it's also a problem in Krusader.
When kdesu/kdesudo to become obsolete, how will Krusader call the root mode via Alt+Shift+k ?
Comment 7 Toni Asensi Esteve 2018-08-11 11:40:39 UTC
Hi, Hanisch:

Alex Bikadorov wrote:

> About the workaround - specially for other people reading this ticket: Manually removing or replacing binaries belonging to
> a distro package IS NOT RECOMMENDED. You should avoid that!

and he is right.

> 'kdesudo' is necessary for me.

There's the problem mentioned in https://bugs.kde.org/show_bug.cgi?id=379149#c23

> When kdesu/kdesudo to become obsolete, how will Krusader call the root mode via Alt+Shift+k ?

Maybe you can try executing
    sudo su - -c "KDE_FULL_SESSION=true krusader"

or
    sudo su - -c "XDG_CURRENT_DESKTOP=KDE krusader"

or
    sudo su -
    export XDG_CURRENT_DESKTOP=KDE; krusader

Did all of them work in your case?
Comment 8 Hanisch 2018-08-11 15:08:00 UTC
>Maybe you can try executing
    sudo su - -c "KDE_FULL_SESSION=true krusader"

or
    sudo su - -c "XDG_CURRENT_DESKTOP=KDE krusader"

or
    sudo su -
    export XDG_CURRENT_DESKTOP=KDE; krusader

No, no, that is not a solution for my question: "How will call Krusader in User-mode the root-mode via Alt+Shift+k?"
Comment 9 Alex Bikadorov 2018-08-11 17:21:19 UTC
I could not find any information about kdesu being removed from kde-cli-tools. Why do you think that? Kdesudo and kdesu are different software packages.

And if kdesu is not available, you can create a user action in Krusader that executes the commands stated by Toni.