Bug 424826

Summary: Krusader Mint 19.3 root mode login fails
Product: [Applications] krusader Reporter: Gary <gh4wi>
Component: generalAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: alex.bikadorov, davide, krusader-bugs-null, toni.asensi
Priority: NOR    
Version First Reported In: 2.6.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gary 2020-07-30 13:07:13 UTC
SUMMARY
Krusader Mint 19.3 root mode login fails to login with correct password.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Gary 2020-07-31 18:12:17 UTC
OS = Linux Mint 19.3 Cinnamon x64 bit.
Comment 2 Davide Gianforte 2020-08-21 12:12:02 UTC
What is the command shown in the password prompt?

Can you execute from a terminal "kdesu krusader"?
Comment 3 Gary 2020-08-22 17:57:35 UTC
Install of kdesu packages did NOT add a link in /usr/bin pointing to kdesu.

Added symbolic link to /usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu in /usr/bin

"start root mode" in krusader now works ok.
Comment 4 Bug Janitor Service 2020-09-06 04:33:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Toni Asensi Esteve 2020-09-06 22:16:57 UTC
Just two questions, Gary: Do you see the same icons when you execute
    kdesu -c KDE_FULL_SESSION=true krusader
as when you execute
    kdesu -c KDE_FULL_SESSION=true krusader?
?

Does the command
    $(kf5-config --path libexec)kf5/kdesu -c KDE_FULL_SESSION=true krusader
work for you?
Comment 6 Toni Asensi Esteve 2020-09-06 22:29:11 UTC
Sorry, Gary, I meant:

Just two questions, Gary: Do you see the same icons and text style when you execute
    kdesu -c KDE_FULL_SESSION=true krusader
as when you execute
    kdesu -ckrusader?
?

Does the command
    $(kf5-config --path libexec)kf5/kdesu -c KDE_FULL_SESSION=true krusader
work for you?
Comment 7 Toni Asensi Esteve 2020-09-06 22:31:42 UTC
Sorry, Gary, I meant:

Just two questions, Gary: Do you see the same icons and text style when you execute
    kdesu -c KDE_FULL_SESSION=true krusader
as when you execute
    kdesu -c krusader?
?

Does the command
    $(kf5-config --path libexec)kf5/kdesu -c KDE_FULL_SESSION=true krusader
work for you?
Comment 8 Gary 2020-09-09 16:30:24 UTC
When I try either command I get an error.

$ kdesu -c KDE_FULL_SESSION=true krusader
qt5ct: using qt5ct plugin
org.kde.kdesu: Daemon not safe (not sgid), not using it.

When I try to click on the "start root mode" in the Krusader/Tool menu,
it fails to accept the password.

If I execute "sudo kdesu krusader" then it starts root mode krusdaer.
Comment 9 Christoph Feck 2020-09-10 10:47:03 UTC
New information was added with comment 8; changing status for inspection.
Comment 10 Christoph Feck 2020-09-10 10:47:36 UTC
Changing status correctly.
Comment 11 Alex Bikadorov 2024-12-04 10:26:26 UTC
>org.kde.kdesu: Daemon not safe (not sgid), not using it.

I think this explains the problem: The setgid permission is not set for the kdesu daemon. Doing this should fix the issue.

If there is still an issue with Krusader, please report back.