Kde plasma asking for sudo password when mounting external drive

Hello !
I am having a rather annoying issue right now.
Fresh Manjaro 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 ?

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

P.S: I am new to manjaro, please let me know if I said anything wrong or something is missing. Thank you

Hi,

manjaro or archlinux ? Duplicate :wink: manjaro is not archlinux and archlinux forum(s) do not support manjaro

1 Like

Sorry, my mistake :sweat_smile:
But I have an archlinux install in my pc, and I run manjaro on my laptop, since the last update [last batch update in manjaro, and the last up to date archlinux] both of the systems have been facing the same problems - inspite of the plasma version being different for stable-manjaro and vanilla arch :thinking:
I have corrected the mistake.

I update to latest everyday. Same Plasma Manjaro. I have a 2T HDD. But I do not have the same problem.

Hmm, interesting. Well I don’t really know why this happened, I might just do a fresh install of manjaro. (Also, on the stable manjaro branch, updates do not come in everyday :sweat_smile:)