Bug 376189 - Unable to create io-slave. Cannot talk to klauncher: Not connected to D-Bus server
Summary: Unable to create io-slave. Cannot talk to klauncher: Not connected to D-Bus s...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: 3.0
Platform: Arch Linux Linux
: NOR critical
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-08 15:44 UTC by Buck Shockley
Modified: 2018-06-25 17:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Buck Shockley 2017-02-08 15:44:09 UTC
How to reproduce:

1. Open KDE Partition Manger from the Application Launcher or running partitionmanager in Konsole

2. Right click on any unmounted partition and select "Edit Mount Point..."

3. In the Path field, click "Select..."

4. The following error will appear twice: "Unable to create io-slave. Cannot talk to klauncher: Not connected to D-Bus server"

Running in Konsole gives no output. Running dbus-launch partitionmanager also causes the same problem.
Comment 1 Andrius Štikonas 2017-02-08 15:51:16 UTC
Strange, it works here. You won't see console output unless you run it as "sudo partitionmanager" as partition manager relaunches itself with root priveleges, so original non-root version doesn't print anything.

So can you try and see if it prints anything more useful in terminal?
Comment 2 Buck Shockley 2017-02-08 20:04:24 UTC
Running it with sudo causes the problem to not occur. If it helps, running it normally gives me a prompt from KDE su. This is the command it says is being executed:

KDE_FULL_SESSION=true XDG_RUNTIME_DIR=/run/user/1000 /usr/bin/partitionmanager --dontsu
Comment 3 Stéphane Cachemaille 2017-02-16 19:50:18 UTC
I arrive to replicate the bug.
it seems to come  that arch dbus package is build without "--enable-x11-autolaunch"
Comment 4 Andrius Štikonas 2017-02-16 19:56:50 UTC
Thanks for figuring this out. Unfortunately, I didn't have time to look at this myself. So I think this is up to arch to fix. Don't think I can do much from within partition manager.
Comment 5 Buck Shockley 2017-02-16 19:59:27 UTC
(In reply to stephane from comment #3)
> I arrive to replicate the bug.
> it seems to come  that arch dbus package is build without
> "--enable-x11-autolaunch"

Can you make a bug report for Arch, then? You seem to know more about the problem than I do.
Comment 6 Severin Beutler 2018-06-25 11:39:54 UTC
Postet in the archlinux-Bugtracker: https://bugs.archlinux.org/task/59143
Comment 7 Andrius Štikonas 2018-06-25 17:08:15 UTC
(In reply to Severin Beutler from comment #6)
> Postet in the archlinux-Bugtracker: https://bugs.archlinux.org/task/59143

Next version (4.0) will use KAuth, so it should be resolved anyway.

You can already try kauth branch in kpmcore and partitionmanager repositories, it works reasonably well.