https://bugs.kde.org/show_bug.cgi?id=498850

            Bug ID: 498850
           Summary: When I try to execute Tools>Start Root Mode Krusader,
                    I get errors and bizarre behaviour.
    Classification: Applications
           Product: krusader
           Version: 2.8.1
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: krusader-bugs-n...@kde.org
          Reporter: muh2lint...@gmail.com
                CC: krusader-bugs-n...@kde.org
  Target Milestone: ---

SUMMARY
When running Krusader in the usual way (started from the Application Starter
Menu), and I try to execute Tools>Start Root Mode Krusader, I get errors and
bizarre behaviour.

I am running:
  Kernel: 6.8.0-51-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0
clocksource: tsc
  Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7 dm:
LightDM v: 1.30.0
    Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble

Krusader: 2.8.1

According to Debian Package Search, the following kdesu packages are installed:
libkf5su-bin 5.115.0-0ubuntu5
libkf5su-data 5.115.0-0ubuntu5


In the first instance I use the user password:

    • I select Tools>Start Root Mode Krusader
    • A little window appears with "Run as root - KDE su" as the title, asking
for a password.
    • If I enter the user password, the window content changes, showing this
error:

    • Conversation with su failed.

    • Below that is listed this command:

    • Command: /usr/bin/krusader --left='/home' –right='/media'

    • Then below that is the password entry field again. The user password is
already there (confirmed by clicking the eyeball).
        ◦ If I hit Enter, the little window disappears and nothing happens
(root mode Krusader does not appear).
        ◦ If I click OK, either the little window disappears or nothing
happens.
        ◦ Bizarrely, sometimes, if I click OK several times, root mode Krusader
then appears! Most of the time, however, this doesn’t happen.

In the second instance, I do the same thing but I use the root password:

    • I select Tools>Start Root Mode Krusader
    • A little window appears with "Run as root - KDE su" as the title, asking
for a password.
    • If I enter the root password, the window content changes, showing this
error:

    • Conversation with su failed.

    • Below that is listed this command:

    • Command: /usr/bin/krusader --left='/home' –right='/media'

        ◦ Then below that is the password entry field again. The root password
is already there (confirmed by clicking the eyeball).
        ◦ If I hit Enter, nothing happens.
        ◦ If I click OK, sometimes nothing happens. In that case, multiple
clicks of "OK" causes the little window content to change and displays this
error:


            ▪ Permission denied.

            ▪ Possibly incorrect password, please try again.
            ▪ On some systems, you need to be in a special group (often: wheel)
to use this program.
            ▪ 
            ▪ Below that is listed the same command,
            ▪ Command: /usr/bin/krusader --left='/home' --right='/media'
            ▪ 
            ▪ Below that is the password field again, but it is blank.

    • So, I enter the user password or the root password, and hit Enter or
click "OK". Either brings me back to the window which says:

        ◦ Conversation with su failed.
        ◦ Etc.

So, I created the group "wheel" and added it to my user account. It made no
difference.

I did some experimentation in the terminal window:

If I execute: su root -c krusader, it works. I also get this output:

$ su root -c krusader
Password: 
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "No
jobs" msgid_plural: "" msgctxt: ""
08:38:57.545-warning default unknown@0 # QStandardPaths: runtime directory
'/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned
by UID 1000 GID 1000
08:38:57.583-warning default unknown@0 # QStandardPaths: runtime directory
'/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned
by UID 1000 GID 1000
08:38:57.640-debug default unknown@0 # System icon theme: "Mint-Y-Sand"
Cannot connect to the D-BUS session bus.
To start it, run:
        eval `dbus-launch --auto-syntax`
08:38:57.828-warning kf.i18n unknown@0 # Trying to convert empty
KLocalizedString to QString.
DBus Error: org.freedesktop.DBus.Error.Disconnected, Not connected to D-Bus
server
DBus Error: org.freedesktop.DBus.Error.Disconnected, Not connected to D-Bus
server
DBus Error: org.freedesktop.DBus.Error.Disconnected, Not connected to D-Bus
server
DBus Error: org.freedesktop.DBus.Error.Disconnected, Not connected to D-Bus
server
08:38:57.881-warning default unknown@0 # QStandardPaths: runtime directory
'/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned
by UID 1000 GID 1000
QStandardPaths: runtime directory '/run/user/1000' is not owned by UID 0, but a
directory permissions 0700 owned by UID 1000 GID 1000
08:38:58.166-warning default unknown@0 # Unable to find icon "chronometer" of
size QSize(20, 20) in any configured theme
08:38:58.172-warning default unknown@0 # Unable to find icon "bookmarks" of
size QSize(20, 20) in any configured theme
08:38:58.186-warning default unknown@0 # Unable to find icon "arrow-up" of size
QSize(20, 20) in any configured theme
08:38:58.202-warning default unknown@0 # Unable to find icon "edit-select-none"
of size QSize(22, 22) in any configured theme
08:38:58.206-warning default unknown@0 # Unable to find icon "edit-select" of
size QSize(22, 22) in any configured theme
08:38:58.215-warning default unknown@0 # Unable to find icon "archive-extract"
of size QSize(22, 22) in any configured theme
08:38:58.220-warning default unknown@0 # Unable to find icon "archive-insert"
of size QSize(22, 22) in any configured theme
08:38:58.232-warning default unknown@0 # Unable to find icon "user-identity" of
size QSize(22, 22) in any configured theme
$

So, I don't understand why Krusader won't start the Root Mode even though I use
the right password, except for the bizarre occasion when several clicks to the
"OK" button in one of the little password windows has actually started Krusader
in root mode.

Also, as an aside, in the documentation it says that I can choose kdesu or gksu
in the Dependencies window, but that option is not displayed.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to