[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#961551: partitionmanager: Does not start - "Session bus not found"



Jonathan Carter <jcc@debian.org>:
>partitionmanager isn't designed to be run with sudo. Run it as your normal user, and it will handle the privelege escalation for you.

Andrius Štikonas <andrius@stikonas.eu>:
>I think this bug is happening because you run it with sudo. You shouldn't run graphical applications with sudo as root.
partitionmanager is designed to be run by non-root user.

The reason I tried to run it with sudo was that it would not run without it: it did not show any devices, or allow me to do anything.
I assumed that the device info was privileged, and therefore required sudo - certainly to change any partition would require
administrative rights, anyway...

I just now ran partitionmanager from the terminal, and as usual, got no info in the displayed window.

Here is the terminal output:

apt-cache policy partitionmanager
partitionmanager:
  Installed: 21.08.0-1
  Candidate: 21.08.0-1
  Version table:
*** 21.08.0-1 500
        500 https://deb.debian.org/debian testing/main amd64 Packages
        100 /var/lib/dpkg/status

----------------------------------------------------------------
scott@ASUS-Prime-B350MA:~$ partitionmanager
Could not load plugin for core backend  "" :  "The shared library was not found."
Loaded backend plugin:  "pmsfdiskbackendplugin"
Icon theme "breeze" not found.
Icon theme "breeze" not found.
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.NoReply", "Message recipient disconnected from message bus without replying")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.NoReply", "Message recipient disconnected from message bus without replying")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.NoReply", "Message recipient disconnected from message bus without replying")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.NoReply", "Message recipient disconnected from message bus without replying")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.NoReply", "Message recipient disconnected from message bus without replying")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/Helper'")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/Helper'")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")
QDBusError("org.freedesktop.DBus.Error.NoReply", "Message recipient disconnected from message bus without replying")
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")                                                                                                                                                                                                                                           
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")                                                                                                                                                                                                                                           
QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/Helper'")                                                                                                                                                                                                             
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")                                                                                                                                                                                                                                           
QDBusError("org.freedesktop.DBus.Error.NoReply", "Message recipient disconnected from message bus without replying")                                                                                                                                                                               
"Using backend plugin: pmsfdiskbackendplugin (1)"                                                                                                                                                                                                                                                   
"Scanning devices..."                                                                                                                                                                                                                                                                               
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")                                                                                                                                                                                                                                           
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")                                                                                                                                                                                                                                           
"Scan finished."

[...Window was up, and empty
now calling Refresh Devices...]                                                                                                                                                                                                                                                                                   

"Using backend plugin: pmsfdiskbackendplugin (1)"                                                                                                                                                                                                                                                   
"Scanning devices..."                                                                                                                                                                                                                                                                               
QDBusError("org.freedesktop.DBus.Error.AccessDenied", "")                                                                                                                                                                                                                                           
QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/Helper'")                                                                                                                                                                                                             
"Scan finished."

[...The following appeared when my mouse was on the menu item Settings-->Panels Shown--> ... ]                                                                                                                                                                                                                                                                                   

qt.qpa.wayland: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x55730e3da910) which does not match the current topmost g                                                                                                                                                    rabbing popup, QtWaylandClient::QWaylandXdgSurface(0x55730e45efd0) According to the xdg-shell protocol, this is not allowed. The wayland QPA plug                                                                                                                                                    in is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups                                                                                                                                                    closing unxpectedly because xdg-shell mandate that child popups close before parents

[...FIle--->Quit...]
                                                                                                                                                                                                               
scott@ASUS-Prime-B350MA:~$
-----------------------------------------------------------------------------
...so.... not using sudo does not work, and using sudo does not work.
For me, partitionmanager does not work.

-Scott Jacobs                                                                                                                                                           


Reply to: