Sway (Hyprland) keyring issue?

I'm using the email client of tutanota for work and I'm getting the following error when trying to open the app;

Client: linux
 Type: UNKNOWN
 Tutanota version: 3.108.12
 Timestamp (UTC): Thu, 16 Feb 2023 00:25:51 GMT
 User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) tutanota-desktop/3.108.12 Chrome/108.0.5359.179 Electron/22.0.3 Safari/537.36
DeviceStorageUnavailableError
 Error message: failed to resolve/generate key> Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
Stacktrace: 
DeviceStorageUnavailableError: failed to resolve/generate key> Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
    at xa.fetchOrGenerateKey (/opt/tutanota-desktop/resources/app.asar/desktop/DesktopMain.js:1:439632)
    at async yl.decryptUsingKeychain (/opt/tutanota-desktop/resources/app.asar/desktop/DesktopMain.js:1:527511)
    at async ipc (/opt/tutanota-desktop/resources/app.asar/desktop/DesktopMain.js:1:535963)

I'm new to Hyprland, but it looks like it may be a key ring issue? I also have KDE installed. KDE I assume is using kwallet and tutanota opens just fine in KDE.

I have an exex.conf file with the following:

#Commands to be executed at launch

exec-once=wl-clipboard-history -t
exec-once=lxqt-policykit-agent
exec=gnome-keyring-daemon -sd
exec-once=gsettings set org.gnome.desktop.interface gtk-theme amarena
exec-once=dunst
exec-once=sleep 1 && ~/.local/bin/open-wl caprine
exec-once=sleep 5 && blueman-applet
exec-once=kdeconnect-indicator
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY
XDG_CURRENT_DESKTOP
exec-once=~/.local/bin/way-idle
exec-once=~/.config/hypr/scripts/autolaunch_on_workspace
exec-once=kanshi
exec=kanshictl reload
exec=pkill -9 flicker
exec-once=openrgb --server
exec-once=/usr/lib/polkit-kde-authentication-agent-1
exec-once=~/.config/hypr/scripts/xdph

Any advice would be appreciated, thank you.

System:
Kernel: 6.1.11-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=a962e929-025e-47aa-92dc-92802ec4e0ca rw [email protected]
quiet
cryptdevice=UUID=52194f99-d513-4d19-b719-32c2be1a2f2a:luks-52194f99-d513-4d19-b719-32c2be1a2f2a
root=/dev/mapper/luks-52194f99-d513-4d19-b719-32c2be1a2f2a quiet splash
rd.udev.log_priority=3 vt.global_cursor_default=0
resume=/dev/mapper/luks-f34dc415-15a1-46de-a16b-7f04444f4935 loglevel=3
ibt=off
Desktop: Hyprland vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: MAG B650 TOMAHAWK WIFI (MS-7D75)
v: 1.0 serial: <superuser required> UEFI: American Megatrends LLC. v: 1.31
date: 01/09/2023
CPU:
Info: model: AMD Ryzen 9 7900X bits: 64 type: MT MCP arch: Zen 4 gen: 5
level: v4 note: check built: 2022 process: TSMC n5 (5nm) family: 0x19 (25)
model-id: 0x61 (97) stepping: 2 microcode: 0xA601203
Topology: cpus: 1x cores: 12 tpc: 2 threads: 24 smt: enabled cache:
L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 12 MiB desc: 12x1024 KiB
L3: 64 MiB desc: 2x32 MiB
Speed (MHz): avg: 4645 high: 5459 min/max: 3000/5733 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 4700 2: 4700
3: 5459 4: 4700 5: 4700 6: 3445 7: 4700 8: 4700 9: 4700 10: 4700 11: 4700
12: 4700 13: 4700 14: 4700 15: 4700 16: 4700 17: 4700 18: 4700 19: 3899
20: 4700 21: 4700 22: 4700 23: 4700 24: 4700 bogomips: 225602
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX] vendor: Sapphire NITRO+
driver: amdgpu v: kernel arch: RDNA-3 code: Navi-3x process: TSMC n5 (5nm)
built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: DP-1
empty: DP-2,HDMI-A-1,HDMI-A-2 bus-ID: 03:00.0 chip-ID: 1002:744c
class-ID: 0300
Device-2: AMD Raphael vendor: Micro-Star MSI driver: amdgpu v: kernel
arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie:
gen: 4 speed: 16 GT/s lanes: 16 ports: active: none empty: DP-3, DP-4,
DP-5, HDMI-A-3 bus-ID: 12:00.0 chip-ID: 1002:164e class-ID: 0300
temp: 42.0 C
Display: wayland server: X.org v: 1.21.1.7 with: Xwayland v: 22.1.8
compositor: Hyprland driver: X: loaded: amdgpu unloaded: modesetting,radeon
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu,amdgpu display-ID: 1
Monitor-1: DP-1 res: 3440x1440 size: N/A modes: N/A
API: OpenGL v: 4.6 Mesa 22.3.4 renderer: AMD Radeon Graphics (gfx1100
LLVM 15.0.7 DRM 3.49 6.1.11-zen1-1-zen) direct-render: Yes
Audio:
Device-1: AMD driver: snd_hda_intel v: kernel pcie: bus-ID: 1-6:3 gen: 4
chip-ID: 0db0:422d speed: 16 GT/s class-ID: 0300 lanes: 16 bus-ID: 03:00.1
chip-ID: 1002:ab30 class-ID: 0403
Device-2: AMD Rembrandt Radeon High Definition Audio
vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 4
speed: 16 GT/s lanes: 16 bus-ID: 12:00.1 chip-ID: 1002:1640 class-ID: 0403
Device-3: AMD Family 17h/19h HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 12:00.6 chip-ID: 1022:15e3 class-ID: 0403
Device-4: Micro Star USB Audio type: USB
driver: hid-generic,snd-usb-audio,usbhid
Sound API: ALSA v: k6.1.11-zen1-1-zen running: yes
Sound Interface: sndio v: N/A running: no
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.65 running: yes
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: c000 bus-ID: 0e:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp14s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: MediaTek Wireless_Device type: USB driver: btusb v: 0.8
bus-ID: 1-7:6 chip-ID: 0e8d:0616 class-ID: e001 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 2.05 TiB used: 364.01 GiB (17.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Smart Modular Tech.
model: SHPP41-2000GM size: 1.82 TiB block-size: physical: 512 B
logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 51060A20 temp: 44.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:4 vendor: Samsung model: SSD 960 EVO 250GB
size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: 3B7QCXE7 temp: 27.9 C scheme: GPT
Partition:
ID-1: / raw-size: 1.79 TiB size: 1.79 TiB (100.00%) used: 364.01 GiB (19.9%)
fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-52194f99-d513-4d19-b719-32c2be1a2f2a
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 752 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 1.79 TiB size: 1.79 TiB (100.00%)
used: 364.01 GiB (19.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-52194f99-d513-4d19-b719-32c2be1a2f2a
ID-4: /var/log raw-size: 1.79 TiB size: 1.79 TiB (100.00%)
used: 364.01 GiB (19.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-52194f99-d513-4d19-b719-32c2be1a2f2a
ID-5: /var/tmp raw-size: 1.79 TiB size: 1.79 TiB (100.00%)
used: 364.01 GiB (19.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-52194f99-d513-4d19-b719-32c2be1a2f2a
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 30.51 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
ID-2: swap-2 type: partition size: 33.56 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/dm-1 maj-min: 254:1
mapped: luks-f34dc415-15a1-46de-a16b-7f04444f4935
Sensors:
System Temperatures: cpu: 52.6 C mobo: N/A
Fan Speeds (RPM): N/A
GPU: device: amdgpu temp: 51.0 C mem: 60.0 C fan: 0 watts: 25.00
device: amdgpu temp: 42.0 C
Info:
Processes: 452 Uptime: 9h 2m wakeups: 0 Memory: 30.51 GiB
used: 3.11 GiB (10.2%) Init: systemd v: 252 default: graphical
tool: systemctl Compilers: gcc: 12.2.1 Packages: pm: pacman pkgs: 2188
libs: 587 tools: octopi,paru,yay Shell: fish v: 3.6.0 default: Bash
v: 5.1.16 running-in: konsole inxi: 3.3.25
Garuda (2.6.14-1):
System install date:     2023-02-14
Last full system update: 2023-02-14
Is partially upgraded:   No
Relevant software:       snapper NetworkManager mkinitcpio
Windows dual boot:       Probably (Run as root to verify)
Failed units:
sudo pacman -S seahorse

When it offers multiple providers for org.freedesktop.secrets, choose gnome-keyring. Then, launch the program again and setup the keyring using the prompts.

See also: Tutanota FAQ

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.