You are not logged in.
Hello !
> I am having a rather annoying issue right now.
> Fresh arch installation with kde plasma.
> I have a 1 TB external protable hdd, encrypted via luks2. Hdd contains only one partition. Whenever I plugin the hdd via usb, I get the prompt to enter the luks password as expected, but then after entering the luks password, kde also asks for the sudo password to mount the drive. If I cancel the sudo password entering attempt, the drive still mounts at /run/media/myusername and I can access it properly. This never happened to me before. This happens on any user account, with or without sudo priviledges.
> What can I do to fix this ?
P.S: I am new to archlinux, please let me know if I said anything wrong or something is missing. Thank you
Last edited by archmonger78 (2022-03-18 17:30:20)
Offline
This is going to be the same issue as https://bbs.archlinux.org/viewtopic.php?id=274961 which is a broken logind session or misdirected session bus
loginctl session-status
echo $DBUS_SESSION_BUS_ADDRESS
Online
This is going to be the same issue as https://bbs.archlinux.org/viewtopic.php?id=274961 which is a broken logind session or misdirected session bus
loginctl session-status echo $DBUS_SESSION_BUS_ADDRESS
Okay, so both of these problems are related to a broken logind session or misdirected session bus. But How exactly do I fix this ? Rebooting does not help. I didn't do anything out of the odinary with my installation, it is a basic install with the default kde-plasma-meta package, so why did this happen ? For now, I will just try to search for solutions on the web. If you know how to go around fixing it, then please let me know. Thank you !
>> loginctl session-status
2 - turing (1000)
Since: Fri 2022-03-18 13:55:14 IST; 31min ago
Leader: 1031 (sddm-helper)
Seat: seat0; vc1
Display: :0
Service: sddm; type x11; class user
Desktop: KDE
State: active
Unit: session-2.scope
|-1031 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth5d6a9b03-8f09-4e6b-a844-b200075b39ad --id 1 --start /usr/bin/startplasma-x11 --user turing
|-1044 /usr/bin/kwalletd5 --pam-login 6 8
|-1045 /usr/bin/startplasma-x11
|-1062 /usr/bin/plasma_session
|-1074 /usr/bin/kded5
|-1077 /usr/bin/kwin_x11
|-1095 /usr/bin/ksmserver
|-1117 /usr/lib/org_kde_powerdevil
|-1121 /usr/lib/baloo_file
|-1122 /usr/lib/polkit-kde-authentication-agent-1
|-1123 /usr/bin/xembedsniproxy
|-1124 /usr/bin/plasmashell
|-1127 /usr/bin/kaccess
|-1142 /usr/lib/DiscoverNotifier
|-1151 /usr/bin/gmenudbusmenuproxy
|-1642 /usr/lib/kf5/kioslave5 /usr/lib/qt/plugins/kf5/kio/kio_file.so file "" local:/run/user/1000/kded5oaiQOj.3.slave-socket
`-1644 /usr/lib/kf5/kioslave5 /usr/lib/qt/plugins/kf5/kio/kio_file.so file "" local:/run/user/1000/kded5bYzSSQ.4.slave-socket
Mar 18 14:18:33 arc plasmashell[1124]: org.kde.plasma.pulseaudio: No object for name "bluez_sink.B4_9A_95_53_B8_16.a2dp_sink.monitor"
Mar 18 14:19:48 arc kwin_x11[1077]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 43072, resource id: 8410677, major code: 3 (GetWindowAttributes), minor code: 0
Mar 18 14:19:48 arc kwin_x11[1077]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 43073, resource id: 8410677, major code: 14 (GetGeometry), minor code: 0
Mar 18 14:20:47 arc kwin_x11[1077]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 11312, resource id: 8415384, major code: 3 (GetWindowAttributes), minor code: 0
Mar 18 14:20:47 arc kwin_x11[1077]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 11313, resource id: 8415384, major code: 14 (GetGeometry), minor code: 0
Mar 18 14:20:49 arc kwin_x11[1077]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 13092, resource id: 50331653, major code: 18 (ChangeProperty), minor code: 0
Mar 18 14:20:49 arc kwin_x11[1077]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 13122, resource id: 33554581, major code: 18 (ChangeProperty), minor code: 0
Mar 18 14:20:49 arc plasmashell[1124]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:366: Unable to assign [undefined] to QString
Mar 18 14:20:56 arc plasmashell[1124]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:366: Unable to assign [undefined] to QString
Mar 18 14:24:00 arc kwin_x11[1077]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 22925, resource id: 58720264, major code: 18 (ChangeProperty), minor code: 0
>> echo $DBUS_SESSION_BUS_ADDRESS
unix:path=/run/user/1000/bus
Last edited by archmonger78 (2022-03-18 08:59:10)
Offline
This is going to be the same issue as https://bbs.archlinux.org/viewtopic.php?id=274961 which is a broken logind session or misdirected session bus
loginctl session-status echo $DBUS_SESSION_BUS_ADDRESS
I am not able to find a solution anywhere. If you know how to figure this out, then I'd really appreciate it if you help me out here
Offline
Please don't bump.
The session and session bus are fine, do you have flatpak installed?
pacman -Qs portal
Online
Please don't bump.
The session and session bus are fine, do you have flatpak installed?
pacman -Qs portal
Nope, I don't use flatapk. And sorry no more bumping.
pacman -Qs portal gives >>
local/xdg-desktop-portal-kde 5.24.3-1 (plasma)
A backend implementation for xdg-desktop-portal using Qt/KF5
Also, only that specific external drive has this problem, other external drives and usb devices don't have this same problem. I will just wipefs -a that drive and hopefully it will fix it.
Last edited by archmonger78 (2022-03-18 17:19:28)
Offline
You do have the portal package installed though, which has a track record of throwing off dbus…
=> remove that. Log out and back in. See what happens.
Online
You do have the portal package installed though, which has a track record of throwing off dbus…
=> remove that. Log out and back in. See what happens.
only that specific external drive has this problem, other external drives and usb devices don't have this same problem. I will just wipefs -a that drive and hopefully it will fix it.
EDIT: okay I will try that
Last edited by archmonger78 (2022-03-18 17:21:29)
Offline
You still have https://bbs.archlinux.org/viewtopic.php?id=274961 and I assume this bleeds over to polkit.
If there's a common root and it's not that your session is degraded (as loginctl shows it's not) the most likely contender is flatpak/portal.
Online
You do have the portal package installed though, which has a track record of throwing off dbus…
=> remove that. Log out and back in. See what happens.
Well I erased my drive and now the problem is fixed, I think it was a problem with permissions with that specific drive, since I use that drive in different systems, root and non-root. I am marking this post as solved. Thank you!
Offline
You still have https://bbs.archlinux.org/viewtopic.php?id=274961 and I assume this bleeds over to polkit.
If there's a common root and it's not that your session is degraded (as loginctl shows it's not) the most likely contender is flatpak/portal.
No I was misunderstanding the problem in that post. The error I was getting there was the default behaviour of DBus. It was not a problem with my system. Also I have fixed the issue.
Offline