Ask to log in at each launch
Describe the bug Each time I launch the VPN (also on autostart) it asks me to log in.
VPN version: RPM file built from the Github action of the repository. Main branch, commit 234eef8 (so MozillaVPN 2.33.0 nightly)
Affected Platforms: Linux Fedora 43. KDE Plasma (Qt 6.10.1). Wayland
Steps to reproduce: Launch the app. Log in. Quit. Launch the app => still ask for log in.
Expected result: Should still be logged in.
Actual result: Ask to log in on each launch.
Additional notes: Same thing with autostart. I fully removed and reinstalled the app.
printenv | grep KDE_FULL_SESSION
KDE_FULL_SESSION=true
printenv | grep XDG
XDG_CONFIG_DIRS=/home/foo/.config/kdedefaults:/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=/usr/share/kde-settings/kde-profile/default/share:/usr/local/share:/usr/share
XDG_MENU_PREFIX=plasma-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=wayland
XDG_VTNR=2
Error messages from the log:
[02.12.2025 14:18:03.571] (CaptivePortalDetection) Warning: No captive portal detection required
...
[02.12.2025 14:18:03.721] (LinuxController) Error: Error received from the DBus service
...
[02.12.2025 14:18:03.721] (ErrorHandler) Error: Alert: ErrorHandler::ControllerErrorAlert
...
[02.12.2025 14:19:24.321] (LinuxCryptoSettings) Info: Encrypted settings with libsecrets is not supported
...
[02.12.2025 14:19:24.607] (CryptoSettings) Error: Something went wrong reading the key
...
[02.12.2025 14:19:24.607] Warning: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
With a huge set of messages (I removed most of them from the uploaded log):
Warning: QTimer::start: negative intervals aren't allowed; the interval will be set to 1ms.
I recently moved from Gnome to Plasma (and Qt 6.10). It worked before. So may be due to Plasma or Qt 6.10.
> sudo systemctl status mozillavpn
mozillavpn.service - MozillaVPN D-Bus service
Loaded: loaded (/usr/lib/systemd/system/mozillavpn.service; disabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: active (running) since Tue 2025-12-02 14:21:49 CET; 1h 19min ago
Invocation: 364511319f1840c19ad7c6e1a25b5661
Main PID: 5721 (mozillavpn)
Tasks: 7 (limit: 37744)
Memory: 8.9M (peak: 10.4M)
CPU: 126ms
CGroup: /system.slice/mozillavpn.service
└─5721 /usr/bin/mozillavpn linuxdaemon
Ok, I found the problem. On KDE you need to activate the KDE Wallet service (through the KDE configuration panel), which is not activated by default.