You are not logged in.
I've installed partitionmanager but I can't run it as root (like I usually did with gparted):
$ sudo partitionmanager
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
kf.dbusaddons: DBus session bus not found. To circumvent this problem try the following command (with bash):
export $(dbus-launch)If I run it without root privileges, the app opens but says "Partition Manager requires privileges in order to work. Please refresh the devices and authenticate when prompted." and when I click 'Refresh Devices,' nothing happens.
I assume this is because I don't have software installed to properly prompt me for a password when the app needs to elevate privileges but I'm at a loss on how to handle that.
I read somewhere that it should be using polkit, which I have installed. I use LightDM.
Last edited by BuiltLikeAFordFestiva (2023-08-28 14:09:46)
Offline
kf.dbusaddons: DBus session bus not found
Do you use startx/xinit? See the last link below.
Offline
I use LightDM and I don't think it sources xinitrc? xorg-xinit is installed but I never did anything with it. I also never changed /etc/lightdm/Xsession.
Offline
No, doesn't.
What's the output of
loginctl session-status
echo $DBUS_SESSION_BUS_ADDRESS?
Offline
$ loginctl session-status
2 - wdb (1000)
Since: Mon 2023-08-28 07:56:50 EDT; 1h 27min ago
Leader: 1759 (lightdm)
Seat: seat0; vc7
Display: :0
Service: lightdm; type x11; class user
Desktop: i3
State: active
Idle: no
Unit: session-2.scope
├─ 1759 lightdm --session-child 13 20
├─ 1825 i3
├─ 1846 kitty --class scratchpad
├─ 1848 /bin/sh -c "greenclip daemon>/dev/null"
├─ 1850 nm-applet
├─ 1854 greenclip daemon
├─ 1869 polybar --reload main
├─ 1870 polybar --reload main
├─ 1944 /bin/bash --posix
├─ 2124 /home/wdb/.dropbox-dist/dropbox-lnx.x86_64-181.4.5678/dropbox /newerversion start
├─ 2240 /opt/discord/Discord
├─ 2243 "/opt/discord/Discord --type=zygote --no-zygote-sandbox"
├─ 2244 "/opt/discord/Discord --type=zygote"
├─ 2246 "/opt/discord/Discord --type=zygote"
├─ 2270 /opt/discord/chrome_crashpad_handler --monitor-self-annotation=ptype=crashpad-handler --no-rate-limit --database=/home/wdb/.config/discord/Crashpad --url=https://f.a.k/e --annotation=_pr>
├─ 2306 "/opt/discord/Discord --type=gpu-process --crashpad-handler-pid=2270 --enable-crash-reporter=b14eca57-d4ae-4e04-8828-565906eb6345,no_channel --user-data-dir=/home/wdb/.config/discord --g>
├─ 2323 "/opt/discord/Discord --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --crashpad-handler-pid=2270 --enable-crash-reporter=b14eca57>
├─ 2444 "/opt/discord/Discord --type=renderer --crashpad-handler-pid=2270 --enable-crash-reporter=b14eca57-d4ae-4e04-8828-565906eb6345,no_channel --user-data-dir=/home/wdb/.config/discord --stan>
├─ 2535 "/opt/discord/Discord --type=utility --utility-sub-type=audio.mojom.AudioService --lang=en-US --service-sandbox-type=none --crashpad-handler-pid=2270 --enable-crash-reporter=b14eca57-d4a>
├─ 3629 /usr/lib/firefox/firefox
├─ 3733 /usr/lib/firefox/firefox -contentproc -parentBuildID 20230816233310 -prefsLen 34937 -prefMapSize 237094 -appDir /usr/lib/firefox/browser {3fea09cf-ffb4-46a3-ab10-9354aa5e2eb2} 3629 true >
├─ 3753 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 35040 -prefMapSize 237094 -jsInitLen 242416 -parentBuildID 20230816233310 -appDir /usr/lib/firefox/browser {d18b3>
├─ 3814 /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 40536 -prefMapSize 237094 -jsInitLen 242416 -parentBuildID 20230816233310 -appDir /usr/lib/firefox/browser {5ce55>
├─ 4208 /usr/lib/firefox/firefox -contentproc -childID 11 -isForBrowser -prefsLen 31750 -prefMapSize 237094 -jsInitLen 242416 -parentBuildID 20230816233310 -appDir /usr/lib/firefox/browser {1aea>
├─ 4360 /usr/lib/firefox/firefox -contentproc -childID 14 -isForBrowser -prefsLen 31750 -prefMapSize 237094 -jsInitLen 242416 -parentBuildID 20230816233310 -appDir /usr/lib/firefox/browser {5e19>
├─ 4412 /usr/lib/firefox/firefox -contentproc -parentBuildID 20230816233310 -prefsLen 40727 -prefMapSize 237094 -appDir /usr/lib/firefox/browser {1340d8c0-657a-456e-a480-eb163d756996} 3629 true >
├─ 4414 /usr/lib/firefox/firefox -contentproc -parentBuildID 20230816233310 -sandboxingKind 0 -prefsLen 40727 -prefMapSize 237094 -appDir /usr/lib/firefox/browser {41fdfad2-19fb-4ccf-b8c9-5a7272>
├─ 4459 "/opt/spotify/spotify --uri"
├─ 4462 "/opt/spotify/spotify --type=zygote --no-zygote-sandbox --no-sandbox --log-severity=disable --user-agent-product=Chrome/99.0.4844.84 Spotify/1.1.84.716 --lang=en --user-data-dir=/home/wd>
├─ 4463 "/opt/spotify/spotify --type=zygote --no-sandbox --log-severity=disable --user-agent-product=Chrome/99.0.4844.84 Spotify/1.1.84.716 --lang=en --user-data-dir=/home/wdb/.config/spotify/Us>
├─ 4475 "/opt/spotify/spotify --type=gpu-process --no-sandbox --log-severity=disable --user-agent-product=Chrome/99.0.4844.84 Spotify/1.1.84.716 --lang=en --user-data-dir=/home/wdb/.config/spoti>
├─ 4496 "/opt/spotify/spotify --type=utility --utility-sub-type=storage.mojom.StorageService --lang=en-US --service-sandbox-type=utility --no-sandbox --log-severity=disable --user-agent-product=>
├─ 4501 "/opt/spotify/spotify --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --no-sandbox --log-severity=disable --user-agent-product=Chr>
├─ 4540 "/opt/spotify/spotify --type=renderer --log-severity=disable --user-agent-product=Chrome/99.0.4844.84 Spotify/1.1.84.716 --disable-spell-checking --user-data-dir=/home/wdb/.config/spotif>
├─ 5218 /usr/lib/firefox/firefox -contentproc -childID 22 -isForBrowser -prefsLen 31750 -prefMapSize 237094 -jsInitLen 242416 -parentBuildID 20230816233310 -appDir /usr/lib/firefox/browser {149b>
├─ 8264 /usr/lib/firefox/firefox -contentproc -childID 40 -isForBrowser -prefsLen 31750 -prefMapSize 237094 -jsInitLen 242416 -parentBuildID 20230816233310 -appDir /usr/lib/firefox/browser {85a0>
├─10086 /usr/lib/firefox/firefox -contentproc -childID 42 -isForBrowser -prefsLen 31750 -prefMapSize 237094 -jsInitLen 242416 -parentBuildID 20230816233310 -appDir /usr/lib/firefox/browser {44e2>
├─10133 /usr/lib/firefox/firefox -contentproc -childID 43 -isForBrowser -prefsLen 31750 -prefMapSize 237094 -jsInitLen 242416 -parentBuildID 20230816233310 -appDir /usr/lib/firefox/browser {2944>
├─10749 /usr/lib/firefox/firefox -contentproc -childID 48 -isForBrowser -prefsLen 31750 -prefMapSize 237094 -jsInitLen 242416 -parentBuildID 20230816233310 -appDir /usr/lib/firefox/browser {a214>
├─12162 /usr/bin/dbus-daemon --syslog --fork --print-pid 4 --print-address 6 --session
├─14244 kitty
├─14260 /bin/bash --posix
├─14586 kwrite
├─15046 /usr/lib/firefox/firefox -contentproc -childID 76 -isForBrowser -prefsLen 31750 -prefMapSize 237094 -jsInitLen 242416 -parentBuildID 20230816233310 -appDir /usr/lib/firefox/browser {fb9a>
├─15303 /usr/lib/firefox/firefox -contentproc -childID 78 -isForBrowser -prefsLen 31750 -prefMapSize 237094 -jsInitLen 242416 -parentBuildID 20230816233310 -appDir /usr/lib/firefox/browser {d0bd>
├─15345 /usr/lib/firefox/firefox -contentproc -childID 79 -isForBrowser -prefsLen 31750 -prefMapSize 237094 -jsInitLen 242416 -parentBuildID 20230816233310 -appDir /usr/lib/firefox/browser {0e2e>
├─15485 /usr/lib/firefox/firefox -contentproc -childID 80 -isForBrowser -prefsLen 31750 -prefMapSize 237094 -jsInitLen 242416 -parentBuildID 20230816233310 -appDir /usr/lib/firefox/browser {1c40>
├─15489 /usr/lib/firefox/firefox -contentproc -childID 81 -isForBrowser -prefsLen 31750 -prefMapSize 237094 -jsInitLen 242416 -parentBuildID 20230816233310 -appDir /usr/lib/firefox/browser {74d3>
├─15746 /usr/lib/firefox/firefox -contentproc -childID 82 -isForBrowser -prefsLen 31750 -prefMapSize 237094 -jsInitLen 242416 -parentBuildID 20230816233310 -appDir /usr/lib/firefox/browser {45fb>
├─15801 /usr/lib/firefox/firefox -contentproc -childID 83 -isForBrowser -prefsLen 31750 -prefMapSize 237094 -jsInitLen 242416 -parentBuildID 20230816233310 -appDir /usr/lib/firefox/browser {7bc5>
├─16175 loginctl session-status
├─16176 less
├─16269 loginctl session-status
└─16270 less
Aug 28 09:08:59 rwell-84 kwrite[14586]: kf.sonnet.core: No language dictionaries for the language: "en_US"
Aug 28 09:08:59 rwell-84 kwrite[14586]: kf.sonnet.core: No language dictionaries for the language: "en_US"
Aug 28 09:08:59 rwell-84 kwrite[14586]: kf.sonnet.core: No language dictionaries for the language: "en_US"
Aug 28 09:08:59 rwell-84 kwrite[14586]: kf.sonnet.core: No language dictionaries for the language: "en_US"
Aug 28 09:08:59 rwell-84 kwrite[14586]: kf.sonnet.core: No language dictionaries for the language: "en_US"
Aug 28 09:09:02 rwell-84 kwrite[14586]: kf.sonnet.core: No language dictionaries for the language: "en_US"
Aug 28 09:09:02 rwell-84 kwrite[14586]: kf.sonnet.core: No language dictionaries for the language: "en_US"
Aug 28 09:09:02 rwell-84 kwrite[14586]: kf.sonnet.core: No language dictionaries for the language: "en_US"
Aug 28 09:09:02 rwell-84 kwrite[14586]: kf.sonnet.core: No language dictionaries for the language: "en_US"
Aug 28 09:09:02 rwell-84 kwrite[14586]: kf.sonnet.core: No language dictionaries for the language: "en_US"$ echo $DBUS_SESSION_BUS_ADDRESS
unix:path=/run/user/1000/busOffline
Sorry, I should have paid more attention - the dbus error is because of sudo (what's expectable, don't do that)
kpartitionmanager will likely rely on polkit and a polkit-agent to leverage permissions, https://wiki.archlinux.org/title/Polkit … ion_agents
Offline
Installed polkit-dumb-agent, added it to my i3 config and it works. Thanks for the help as always.
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline