You are not logged in.
So I freshly installed Archlinux on a new laptop and when configuring kmail I started having some issues. I configured the same way I did on the other computer, but it kept failing to connect. Initially I saw this error:
The IMAP server for account IMAP Account refused the supplied username and password.
Do you want to try again, or open the settings?
Login failed, server replied: A000002 NO Authentication failed. [ AUTHENTICATIONFAILED ] Multiple notifications above covered this one:
Resource IMAP Account is broken.
Could not connect to the IMAP-server >mailserver name<.
Could not read the password: user rejected wallet accessThis was suspicious because I didn't get to set the password for the kwallet the first time it was accessed, and KDE wallet manager just lets me change it at will.
During the installation I picked the default plasma desktop without and later installed just a few packages like keepassxc or Falkon.
The worst part is that after I updated the old computer, kmail stopped working there too.
I know the credentials are correct because I verified them in the mobile clients K9 Mail and Delta Chat to be sure that password manager didn't corrupt password somehow.
Thanks in advance for your help.
Last edited by rion (2025-10-22 19:33:04)
Offline
do you have passwordless login enabled?
Offline
do you have passwordless login enabled?
No, a standard sddm login with password, I didn't even change a theme for it.
Last edited by rion (2025-10-21 21:32:25)
Offline
The worst part is that after I updated the old computer, kmail stopped working there too.
What was in that update (/var/log/pacman.log)?
How do you start KDE?
(DM, startx, startplasma-wayland, …)?
What's the output of "qdbus6" (it's in the qt6-tools package)?
What if you remove keepassx? It might jump in and take the fdo.secrets slot?
=> https://wiki.archlinux.org/title/KDE_Wa … activation
Last edited by seth (2025-10-21 21:52:33)
Offline
Removing keepassxc and retarting made no difference, still on that fresh install, I got the same wallet rejected message.
Pacman log, last two updates on the older PC: http://0x0.st/Kel7.txt
qdbus6 output:
:1.0
:1.1
org.freedesktop.systemd1
:1.10
org.freedesktop.ScreenSaver
org.freedesktop.a11y.Manager
org.kde.KWin
org.kde.KWin.Effect.WindowView1
org.kde.KWin.HighlightWindow
org.kde.KWin.NightLight
org.kde.KWin.ScreenShot2
org.kde.keyboard
org.kde.kglobalaccel
org.kde.screensaver
org.kde.touchpad
:1.11
org.freedesktop.portal.Documents
:1.13
:1.15
org.freedesktop.ReserveDevice1.Audio0
org.freedesktop.ReserveDevice1.Audio1
org.freedesktop.ReserveDevice1.Audio2
:1.16
org.pipewire.Telephony
:1.19
org.a11y.Bus
:1.2
:1.20
:1.21
org.freedesktop.impl.portal.desktop.kwallet
org.freedesktop.secrets
org.kde.ksecretd
org.kde.secretservicecompat
:1.22
org.gtk.Settings
org.kde.GtkConfig
org.kde.StatusNotifierWatcher
org.kde.kappmenu
org.kde.kded6
org.kde.plasmanetworkmanagement
org.kde.plasmashell.accentColor
:1.23
org.kde.ksmserver
:1.25
org.kde.plasma.browser.integration
:1.26
:1.27
:1.28
:1.29
com.canonical.Unity
org.freedesktop.Notifications
org.kde.JobViewServer
org.kde.StatusNotifierHost-928
org.kde.klipper
org.kde.kuiserver
org.kde.plasmashell
:1.30
org.kde.ActivityManager
org.kde.runners.activities
:1.32
org.pulseaudio.Server
:1.33
ca.desrt.dconf
:1.35
org.kde.gmenudbusmenuproxy
:1.36
org.kde.kaccess
:1.37
org.kde.xembedsniproxy
:1.38
org.kde.polkit-kde-authentication-agent-1
:1.39
org.freedesktop.PowerManagement
org.freedesktop.PowerManagement.Inhibit
org.kde.ScreenBrightness
org.kde.Solid.PowerManagement
org.kde.Solid.PowerManagement.PolicyAgent
org.kde.org_kde_powerdevil
:1.4
org.kde.KWinWrapper
:1.41
org.kde.kwalletd
org.kde.kwalletd5
org.kde.kwalletd6
:1.42
:1.45
org.kde.kdeconnect
org.kde.kdeconnect.daemon
:1.46
org.freedesktop.impl.portal.desktop.gtk
:1.47
org.kde.discover.notifier
:1.48
:1.49
:1.50
org.freedesktop.impl.portal.desktop.kde
:1.51
org.kde.konsole-1225
:1.52
org.kde.Falkon
:1.55
org.freedesktop.background.Monitor
:1.56
org.kde.kalendarac
:1.57
org.freedesktop.Akonadi.Control
org.freedesktop.Akonadi.Control.lock
:1.58
:1.59
org.freedesktop.Akonadi
org.freedesktop.Akonadi.Janitor
:1.6
org.kde.baloo
:1.60
:1.61
org.freedesktop.Akonadi.Agent.akonadi_ical_resource_0
org.freedesktop.Akonadi.Resource.akonadi_ical_resource_0
:1.62
org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_0
org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_0
:1.63
org.freedesktop.Akonadi.Agent.akonadi_birthdays_resource
org.freedesktop.Akonadi.Resource.akonadi_birthdays_resource
:1.64
org.freedesktop.Akonadi.Agent.akonadi_followupreminder_agent
:1.65
org.freedesktop.Akonadi.Agent.akonadi_migration_agent
:1.66
org.freedesktop.Akonadi.Agent.akonadi_indexing_agent
:1.67
org.freedesktop.Akonadi.Agent.akonadi_maildir_resource_0
org.freedesktop.Akonadi.Resource.akonadi_maildir_resource_0
:1.68
org.freedesktop.Akonadi.Agent.akonadi_newmailnotifier_agent
org.freedesktop.Akonadi.NewMailNotifierAgent
:1.69
org.freedesktop.Akonadi.Agent.akonadi_maildispatcher_agent
org.freedesktop.Akonadi.MailDispatcherAgent
:1.70
org.freedesktop.Akonadi.Agent.akonadi_imap_resource_0
org.freedesktop.Akonadi.Resource.akonadi_imap_resource_0
:1.71
org.freedesktop.Akonadi.Agent.akonadi_mailmerge_agent
org.freedesktop.Akonadi.Agent.akonadi_mergemail_agent
:1.72
org.freedesktop.Akonadi.Agent.akonadi_archivemail_agent
:1.73
org.freedesktop.Akonadi.Agent.akonadi_unifiedmailbox_agent
org.freedesktop.Akonadi.Resource.akonadi_unifiedmailbox_agent
:1.74
org.freedesktop.Akonadi.Agent.akonadi_sendlater_agent
:1.75
org.freedesktop.Akonadi.Agent.akonadi_mailfilter_agent
:1.76
org.kde.krunner
:1.77
org.kde.runners.baloo
:1.78
org.kde.kmail
org.kde.kmail2
org.kde.pim.TransportManager
:1.79
org.freedesktop.FileManager1
org.kde.dolphin-2153
:1.8
org.freedesktop.portal.Desktop
:1.80
:1.81
org.kde.kate-2212
:1.82
:1.9
org.freedesktop.impl.portal.PermissionStore
org.freedesktop.DBusOffline
http://0x0.st/Kel7.txt
"Everything" (notably qt 6.9 => 6.10)
:1.21
org.freedesktop.impl.portal.desktop.kwallet
org.freedesktop.secrets
org.kde.ksecretd
org.kde.secretservicecompat
…
:1.41
org.kde.kwalletd
org.kde.kwalletd5
org.kde.kwalletd6looks irritating (but kwallet might register different services for the different protocols)
ps aux -p $(qdbus6 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID org.kde.kwalletd)
ps aux -p $(qdbus6 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID org.freedesktop.impl.portal.desktop.kwallet)Might be a red herring, though. gmail?
https://bugs.kde.org/show_bug.cgi?id=410872#c7
Offline
We can mark this thread as a user error. It isn't gmail but a private email service on dovecot. At some point, between checking mobile and old pc kmail I started using a password from the wrong entry in the password manager. Indeed kmail stopped working on my old PC but I think that was because of an accident of mine - I removed a piece of login for smtp and it started to fail to send so I connected those two. But once I put the correct password on the new computer it started to work. So sorry for wasting your time.
Offline
You solved it by talking a bit about it - no time was wasted ![]()
Please 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