When ran as a systemd service, the 1Password window rarely appears
I am running 1Password as a systemd service. The service files looks like:
[Unit] Description=Start 1Password After=graphical-session.target [Service] Type=exec ExecStart=1password --silent Restart=always [Install] WantedBy=graphical-session.target
It is installed in: $XDG_CONFIG_HOME/systemd/user/1password.service
.
It can be started and enabled with:
systemctl --user enable --now 1password.service
All this means is that 1Password starts on login in the background.
Unfortunately, often times, the 1Password window will never appear. Some times it works. I can't narrow down what causes the window to show up or not. This is an extremely frustrating experience.
Here are the logs from last time I restarted 1Password:
Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.189 ThreadId(15) [client:typescript] Client starting. Jul 16 13:15:04 gonk 1password[64064]: ERROR 2024-07-16T18:15:04.727 ThreadId(15) [1P:op-crash-reporting/src/crash_report.rs:125] Failed to load crash reports from disk: Os { code: 2, kind: NotFound, message: "No such file or directory" } Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.728 ThreadId(15) [1P:op-localization/src/lib.rs:232] system locale detected as 'en-US' Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.728 ThreadId(15) [1P:op-localization/src/lib.rs:258] selected translations for EN_US based on detected locale en-US Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.728 ThreadId(15) [status:app/op-app/src/app.rs:601] App::new(1Password for Linux/81036046 (EN_US), /home/$USER/.config/1Password) Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.733 ThreadId(15) [1P:data/op-db/src/common/mod.rs:120] Core DB Table Integrity Check Succeeded Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.734 ThreadId(15) [1P:data/op-db/src/common/mod.rs:134] Core DB Integrity Check Succeeded Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.734 ThreadId(15) [1P:data/op-db/src/core_db/db.rs:165] Starting Core DB at version: 31 Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.735 ThreadId(15) [1P:data/op-db/src/common/mod.rs:120] Resources DB Table Integrity Check Succeeded Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.735 ThreadId(15) [1P:data/op-db/src/common/mod.rs:134] Resources DB Integrity Check Succeeded Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.735 ThreadId(15) [1P:data/op-db/src/resources_db/db.rs:134] Starting Resources DB at version: 1 Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.738 ThreadId(15) [1P:ssh/op-ssh-config/src/lib.rs:324] agent not configured Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.739 ThreadId(15) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.config/google-chrome/NativeMessagingHosts/com.1password.1password.json Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.739 ThreadId(15) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.config/google-chrome-beta/NativeMessagingHosts/com.1password.1password.json Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.739 ThreadId(15) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.config/google-chrome-unstable/NativeMessagingHosts/com.1password.1password.json Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.739 ThreadId(15) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.config/chromium/NativeMessagingHosts/com.1password.1password.json Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.739 ThreadId(15) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.config/microsoft-edge-dev/NativeMessagingHosts/com.1password.1password.json Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.739 ThreadId(15) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts/com.1password.1password.json Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.739 ThreadId(15) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.config/vivaldi/NativeMessagingHosts/com.1password.1password.json Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.739 ThreadId(15) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.config/vivaldi-snapshot/NativeMessagingHosts/com.1password.1password.json Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.739 ThreadId(15) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.mozilla/native-messaging-hosts/com.1password.1password.json Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.739 ThreadId(15) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:83] Successfully installed all native messaging manifests. Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.746 tokio-runtime-worker(ThreadId(1)) [1P:native-messaging/op-native-core-integration/src/lib.rs:332] Starting IPC listener on 1Password-BrowserSupport Jul 16 13:15:04 gonk 1password[64064]: ERROR 2024-07-16T18:15:04.746 ThreadId(15) [1P:ffi/op-core-node/src/lib.rs:405] Io(Os { code: 2, kind: NotFound, message: "No such file or directory" }) Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.747 tokio-runtime-worker(ThreadId(5)) [1P:native-messaging/op-native-core-integration/src/lib.rs:344] Active native core integration is awaiting messages Jul 16 13:15:04 gonk 1password[64064]: INFO 2024-07-16T18:15:04.747 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-agent-controller/src/lib.rs:502] Starting filesystem watcher for SSH agent configuration directories... Jul 16 13:15:04 gonk 1password[64064]: ERROR 2024-07-16T18:15:04.750 tokio-runtime-worker(ThreadId(5)) [1P:/builds/dev/core/core/ssh/op-agent-controller/src/lib.rs:503] Io(Os { code: 2, kind: NotFound, message: "No such file or directory" }) Jul 16 13:15:04 gonk 1password[64064]: ERROR 2024-07-16T18:15:04.757 tokio-runtime-worker(ThreadId(5)) [1P:op-global-shortcuts/src/lib.rs:69] AppError at /builds/dev/core/core/op-global-shortcuts/src/node.rs:62:6 Jul 16 13:15:04 gonk 1password[64064]: binding shortcut Jul 16 13:15:04 gonk 1password[64064]: Caused by: Jul 16 13:15:04 gonk 1password[64064]: BindRefused Jul 16 13:15:04 gonk 1password[64064]: Jul 16 13:15:04 gonk 1password[64064]: ERROR 2024-07-16T18:15:04.757 tokio-runtime-worker(ThreadId(6)) [1P:op-global-shortcuts/src/lib.rs:69] AppError at /builds/dev/core/core/op-global-shortcuts/src/node.rs:62:6 Jul 16 13:15:04 gonk 1password[64064]: binding shortcut Jul 16 13:15:04 gonk 1password[64064]: Caused by: Jul 16 13:15:04 gonk 1password[64064]: BindRefused Jul 16 13:15:04 gonk 1password[64064]: Jul 16 13:15:04 gonk 1password[64064]: [64064:0716/131504.778774:ERROR:browser_main_loop.cc(280)] Gtk: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed Jul 16 13:15:15 gonk 1password[64064]: INFO 2024-07-16T18:15:15.341 tokio-runtime-worker(ThreadId(6)) [1P:app/op-app/src/app/backend/lock_screen.rs:89] System unlock is enabled: true Jul 16 13:15:15 gonk 1password[64064]: INFO 2024-07-16T18:15:15.342 tokio-runtime-worker(ThreadId(3)) [1P:app/op-app/src/app/backend/lock_screen.rs:117] Sys auth status NotSetup Jul 16 13:15:44 gonk 1password[64064]: INFO 2024-07-16T18:15:44.575 tokio-runtime-worker(ThreadId(3)) [1P:native-messaging/op-native-core-integration/src/lib.rs:369] Extension connecting. Jul 16 13:15:44 gonk 1password[64064]: INFO 2024-07-16T18:15:44.575 tokio-runtime-worker(ThreadId(3)) [1P:native-messaging/op-native-core-integration/src/lib.rs:371] Extension connection accepted.
1Password Version: 8.10.36
Extension Version: Not Provided
OS Version: Fedora 40
Browser: Not Provided
Comments
-
Hi @tristan957,
Thanks for bringing this to our attention. This is an interesting issue and I would love to investigate into this issue further.
Could you send an email to
support+linux@1Password.com
?With your email please include:
- A link to this thread: https://1password.community/discussion/146714/when-ran-as-a-systemd-service-the-1password-window-rarely-appears
- Your forum username:
tristan957
- A diagnostics report: https://support.1password.com/diagnostics/?linux
- Information about your current environment (Linux distribution, version, desktop environment)
We'll look forward to hearing from you.
Franky
0 -
Email is sent.
0 -
Hi @tristan957,
We've received your email and have reached out. I hope to hear from you soon. 🙂
Franky
0