clients icon indicating copy to clipboard operation
clients copied to clipboard

Linux desktop app: lock on idle does not lock

Open timkgh opened this issue 3 years ago • 6 comments

Steps To Reproduce

Use Ubuntu 21.10, default Gnome desktop. Configure BW desktop app to lock on system idle Let the system go idle until Gnome automatically turns off the screen and locks the screen Wait a bit Unlock screen Expect BW is locked, but it's not.

Expected Result

Expect BW to be locked when Linux desktop (Gnome) goes idle

Actual Result

It does not lock on system idle

Screenshots or Videos

No response

Additional Context

No response

Operating System

Linux

Operating System Version

Ubuntu 21.10

Web Browser

Firefox

Browser Version

No response

Build Version

Version 1.29.1 Shell 14.0.1 Renderer 93.0.4577.63 Node 14.17.0 Architecture x64

timkgh avatar Nov 12 '21 22:11 timkgh

Sorry, this issue should be moved to the desktop repo. Related https://github.com/bitwarden/desktop/issues/224

timkgh avatar Nov 12 '21 22:11 timkgh

The setting is also inconsistent with the browser extension. In the deskop app it's "On System Idle", in the browser extension it is "On System Lock". Are they meant to do the same thing? Hard to tell.

If the extension and the desktop app are integrated, they should do the same thing, the setting should be sync'ed between the two. Locking one should lock the other too. That's what 1Password does and it seems to work pretty well.

timkgh avatar Nov 13 '21 21:11 timkgh

Hi @timkgh, We're cleaning up our repositories in preparation for a major reorganization. Issues from last year will be marked as stale and closed after two weeks. If you still need help, comment to let us know and we'll look into it. Thanks!

bitwarden-bot avatar Apr 12 '22 19:04 bitwarden-bot

I am still experiencing this. My notes are that when installing/running via AppImage, sleep timeout can lock the db, however idle timeout does not appear to work (how is idle defined?). When installing via snap, sleep and idle timeout does not lock the db. This could be an issue on the snap permissions side?

siftd106 avatar May 02 '22 17:05 siftd106

Hi @Hinton @timkgh @siftd106 Same issue, here. Well, almost...

I installed flatpak version of Bitwarden on Pop!_OS 22.04 (X11) and on Fedora 36 Gnome version (Wayland)

On Pop!_OS, locking the vault on system idle worked, but on system sleep it didn't.

On Fedora, locking the vault on system idle didn't work, on system sleep neither.

savvydri avatar Aug 02 '22 20:08 savvydri

Hi @Hinton @timkgh @siftd106 I just ran the most recent Bitwarden appimage version: 2022.6.2 downloaded from bitwarden.com. By the way, the flatpak one is not the most recent. It's 2022.5.0

Here are the results using the appimage on Fedora 36.

Xorg session - vault timeout work correctly on both system idle and system sleep.

Wayland session - on system sleep, vault timeout work just fine, but didn't work on system idle.

savvydri avatar Aug 03 '22 16:08 savvydri

Hi,

I'm using Linux Mint 21.0 (20.3 has the same issue), and I'm running the most recent bitwarden appimage (from Help > About Bitwarden) :

Version 2022.10.0
Shell 19.0.8
Renderer 102.0.5005.148
Node 16.14.2
Architecture x64

I'm having a similar issue : vault timeout on sleep works fine, but not on idle. I tried with the following DE / Xorg | Wayland combo :

  • Gnome shell (Mint 20.3 / version 3.36.9-0ubuntu0.20.04.2) with Xorg session
  • Gnome shell (Mint 20.3 / version 3.36.9-0ubuntu0.20.04.2) with Wayland session
  • MATE (Mint 20.3 / version 1.26.0-0ubuntu1~focal2.1) with Xorg session (no wayland support for mate)
  • Gnome shell (Mint 21 / version 42.4-0ubuntu0.22.04.1) with Xorg session
  • Gnome shell (Mint 21 / version 42.4-0ubuntu0.22.04.1) with Wayland session
  • MATE (Mint 21 version 1.26.0-1) with Xorg session (no wayland support for mate)

Is there any way I can help debug this ?

Thanks,

GuillaumeV-cemea avatar Oct 18 '22 07:10 GuillaumeV-cemea

For me, this problem is still open. I'm working with the following setting:

  • Ubuntu 22.04.1 LTS on a ThinkPad X1 Carbon
  • Wayland as windowing system
  • Bitwarden: Version 2022.10.1 // Shell 19.0.8 // Renderer 102.0.5005.148 // Node 16.14.2 // Architecture x64
  • Vault timeout is set On system idle

However, the vault never locks.

MaurusGubser avatar Nov 28 '22 15:11 MaurusGubser

Same here.

  • Linux Mint 20.3 CInnamon
  • XOrg Window manager
  • Bitwarden Version 2022.12.0, Shell: 19.0.8, Renderer 102.0.5005.148, Node 16.14.2

1fexd avatar Jan 14 '23 12:01 1fexd