Auto-lock does not work on Sway (Wayland)

Options
zoltanbalazs
zoltanbalazs
Community Member

Hello! Long time fan of 1Password, however, recently an issue popped up on one of my personal laptops running Ubuntu 22.04.4 LTS that is making me want to tear out my hair. I'm using Sway (both at my Desktop PC & Laptop), and while Auto-lock works on my desktop, it does not work on my laptop. When running 1password from CLI I see some relevant error messages, I'm guessing this line is going to be upmost relevant to this issue:

ERROR 2024-04-09T13:44:05.655 tokio-runtime-worker(ThreadId(7)) [1P:op-auto-lock/src/linux.rs:210] Could not connect to the X server: XcbEventError

Is there any way to fix this?
Any help is extremely welcome, thank you in advance!


1Password Version: 8.10.28
Extension Version: Not Provided
OS Version: Ubuntu 22.04.4 LTS
Browser: Not Provided