1password failing to start on distrobox

i have distrobox setup where latest fedora image is toolbox-39 still and trying to start 1password from exported app i get this errors

phatle@kinoite:/var/home/phatle$ distrobox enter Development
πŸ“¦[phatle@Development phatle]$ 1password
ERROR 2024-09-24T04:24:32.184+00:00 ThreadId(18) [1P:op-settings/src/store/json_store.rs:183] Os { code: 2, kind: NotFound, message: "No such file or directory" }
INFO  2024-09-24T04:24:32.185+00:00 ThreadId(18) [1P:op-settings/src/store/json_store.rs:204] Settings file "/home/<redacted-username>/.config/1Password/settings/settings.json" missing, using defaults.
WARN  2024-09-24T04:24:32.185+00:00 ThreadId(18) [1P:foundation/op-startup/src/linux.rs:20] Yama is absent or ptrace_scope is set to 0.
INFO  2024-09-24T04:24:32.185+00:00 ThreadId(18) [client:typescript] Client starting.
Authorization required, but no authorization protocol specified
[4368:0924/042432.186671:ERROR:ozone_platform_x11.cc(244)] Missing X server or $DISPLAY
[4368:0924/042432.186690:ERROR:env.cc(258)] The platform failed to initialize.  Exiting.
Segmentation fault
πŸ“¦[phatle@Development phatle]$ 

Added f41

More info please

How installed, where from?

Your distro is F39, only the kernel is the difference here.

Do you have any form of XWayland installed?

Is that app Electron? Did you try the environment variable to force it through Wayland anyways?

Added 3rd-party-software, container, distrobox

Added f39, x11, x11-wayland-transition

Inside distrobox usibg latest fedira image that us available F39-toolbox

Added official signing keys and repo and installed

Exported to desktop

I have no idea for now is it electron or not

I have used it same way on F40 silverblue before on distrobox

Kinoite is version 41 beta and i have xwauland bridges etc with nvidia stuff

Let me know if need nore info i will add

same happends on VScode too and other apps exported from distrobox

default iage is fedora-toolbox:39 installed fedora:41 it has better results, but exported apps not start not on desktop or terminal and vscode dont show any errors

wondering is this gnome issue on containers too i guess there is no so called kde version to test if that works

full app details

[Service]
Type=simple
ExitType=cgroup
Slice=app.slice

[Unit]
Description=1Password (on Development)
SourcePath=/var/home/phatle/.local/share/applications/Development-1password.desktop

[Service]
Environment="DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus" "DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/ " "DESKTOP_SESSION=plasma" "DISPLAY=:0" "EDITOR=/usr/bin/nano" "GDK_CORE_DEVICE_EVENTS=1" "GPG_TTY=/dev/tty2" "GTK2_RC_FILES=/home/phatle/.gtkrc-2.0-kde4" "GTK_RC_FILES=/etc/gtk/gtkrc:/home/phatle/.gtkrc:/home/phatle/.config/gtkrc" "HISTCONTROL=ignoredups" "HISTSIZE=1000" "HOME=/home/phatle" "HOSTNAME=kinoite" "ICEAUTHORITY=/run/user/1000/iceauth_nKhglH" "INVOCATION_ID=50e7d85bf73a495290d72b645ac95138" "JOURNAL_STREAM=9:21936" "KDEDIRS=/usr" "KDE_APPLICATIONS_AS_SCOPE=1" "KDE_FULL_SESSION=true" "KDE_SESSION_UID=1000" "KDE_SESSION_VERSION=6" "LANG=en_GB.UTF-8" "LANGUAGE=" "LESSOPEN=||/usr/bin/lesspipe.sh %%s" "LOGNAME=phatle" "LS_COLORS=" "MAIL=/var/spool/mail/phatle" "MANAGERPID=2208" "MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service/memory.pressure" "MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=" "PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket" "PATH=/home/phatle/.local/bin:/home/phatle/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin" "PWD=/home/phatle" "QT_AUTO_SCREEN_SCALE_FACTOR=0" "QT_WAYLAND_DECORATION=adwaita" "QT_WAYLAND_RECONNECT=1" "SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2473,unix/unix:/tmp/.ICE-unix/2473" "SHELL=/bin/bash" "SSH_ASKPASS=/usr/bin/ksshaskpass" "SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket" "SYSTEMD_EXEC_PID=2516" "USER=phatle" "WAYLAND_DISPLAY=wayland-0" "XAUTHORITY=/run/user/1000/xauth_aBPYKk" "XDG_ACTIVATION_TOKEN=kwin-24" "XDG_CONFIG_DIRS=/home/phatle/.config/kdedefaults:/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg" "XDG_CURRENT_DESKTOP=KDE" "XDG_DATA_DIRS=/home/phatle/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/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" "XKB_DEFAULT_LAYOUT=us" "XKB_DEFAULT_MODEL=pc105"
WorkingDirectory=
ExecStart=
ExecStart="/usr/bin/distrobox-enter" "-n" "Development" "--" "/opt/1Password/1password"

Does it work if you use --ozone-platform-hint=auto

2 Likes

yes it runs i still get lots of errors on terminal will paste them all here

πŸ“¦[phatle@Development ~]$ 1password --ozone-platform-hint=auto
ERROR 2024-09-24T09:36:05.605+00:00 ThreadId(18) [1P:op-settings/src/store/json_store.rs:183] Os { code: 2, kind: NotFound, message: "No such file or directory" }
INFO  2024-09-24T09:36:05.605+00:00 ThreadId(18) [1P:op-settings/src/store/json_store.rs:204] Settings file "/home/<redacted-username>/.config/1Password/settings/settings.json" missing, using defaults.
WARN  2024-09-24T09:36:05.605+00:00 ThreadId(18) [1P:foundation/op-startup/src/linux.rs:20] Yama is absent or ptrace_scope is set to 0.
INFO  2024-09-24T09:36:05.605+00:00 ThreadId(18) [client:typescript] Client starting.
Authorization required, but no authorization protocol specified

ERROR 2024-09-24T09:36:06.413+00:00 ThreadId(18) [1P:/builds/dev/core/core/op-b5-client/src/b5_client/features.rs:134] HttpError((/rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/core/src/ops/function.rs:250, IoError(IoError(error sending request for url (<redacted URL>): operation timed out))))
INFO  2024-09-24T09:36:06.414+00:00 ThreadId(18) [1P:op-crash-reporting/src/killswitch.rs:42] Crash reporting temporarily disabled by 1Password.
INFO  2024-09-24T09:36:06.415+00:00 ThreadId(18) [1P:op-localization/src/lib.rs:232] system locale detected as 'en-GB'
INFO  2024-09-24T09:36:06.415+00:00 ThreadId(18) [1P:op-localization/src/lib.rs:258] selected translations for EN_US based on detected locale en-GB
INFO  2024-09-24T09:36:06.415+00:00 ThreadId(18) [status:app/op-app/src/app.rs:622] App::new(1Password for Linux/81044034 (EN_US), /home/<redacted-username>/.config/1Password)
INFO  2024-09-24T09:36:06.417+00:00 ThreadId(18) [1P:data/op-db/src/common/mod.rs:120] Core DB Table Integrity Check Succeeded
INFO  2024-09-24T09:36:06.417+00:00 ThreadId(18) [1P:data/op-db/src/common/mod.rs:134] Core DB Integrity Check Succeeded
INFO  2024-09-24T09:36:06.417+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:169] Starting Core DB at version: 0
INFO  2024-09-24T09:36:06.439+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:194] Database is being created at '/home/<redacted-username>/.config/1Password/1password.sqlite' (sqlite: 3045000)
INFO  2024-09-24T09:36:06.454+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:540] Updated DB Schema to version 001
INFO  2024-09-24T09:36:06.461+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:562] Updated DB Schema to version 002
INFO  2024-09-24T09:36:06.468+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:574] Updated DB Schema to version 003
INFO  2024-09-24T09:36:06.473+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:590] Updated DB Schema to version 005
INFO  2024-09-24T09:36:06.479+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:606] Updated DB Schema to version 006
INFO  2024-09-24T09:36:06.485+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:620] Updated DB Schema to version 007
INFO  2024-09-24T09:36:06.490+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:634] Updated DB Schema to version 008
INFO  2024-09-24T09:36:06.496+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:648] Updated DB Schema to version 009
INFO  2024-09-24T09:36:06.502+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:662] Updated DB Schema to version 011
INFO  2024-09-24T09:36:06.502+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:677] Updated DB Schema to version 012
INFO  2024-09-24T09:36:06.508+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:691] Updated DB Schema to version 013
INFO  2024-09-24T09:36:06.514+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:705] Updated DB Schema to version 014
INFO  2024-09-24T09:36:06.519+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:719] Updated DB Schema to version 015
INFO  2024-09-24T09:36:06.527+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:733] Updated DB Schema to version 016
INFO  2024-09-24T09:36:06.532+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:747] Updated DB Schema to version 017
INFO  2024-09-24T09:36:06.538+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:761] Updated DB Schema to version 018
INFO  2024-09-24T09:36:06.543+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:775] Updated DB Schema to version 019
INFO  2024-09-24T09:36:06.554+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:890] Updated DB Schema to version 021
INFO  2024-09-24T09:36:06.560+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:904] Updated DB Schema to version 022
INFO  2024-09-24T09:36:06.567+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:918] Updated DB Schema to version 023
INFO  2024-09-24T09:36:06.573+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:932] Updated DB Schema to version 024
INFO  2024-09-24T09:36:06.580+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:946] Updated DB Schema to version 025
INFO  2024-09-24T09:36:06.585+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:1060] Updated DB Schema to version 026
INFO  2024-09-24T09:36:06.591+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:1074] Updated DB Schema to version 027
INFO  2024-09-24T09:36:06.598+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:1088] Updated DB Schema to version 028
INFO  2024-09-24T09:36:06.603+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:1102] Updated DB Schema to version 029
INFO  2024-09-24T09:36:06.609+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:1116] Updated DB Schema to version 030
INFO  2024-09-24T09:36:06.614+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:1129] Updated DB Schema to version 031
INFO  2024-09-24T09:36:06.620+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:1142] Updated DB Schema to version 032
INFO  2024-09-24T09:36:06.627+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:1155] Updated DB Schema to version 033
INFO  2024-09-24T09:36:06.634+00:00 ThreadId(18) [1P:data/op-db/src/core_db/db.rs:1168] Updated DB Schema to version 034
INFO  2024-09-24T09:36:06.639+00:00 ThreadId(18) [1P:data/op-db/src/common/mod.rs:120] Resources DB Table Integrity Check Succeeded
INFO  2024-09-24T09:36:06.639+00:00 ThreadId(18) [1P:data/op-db/src/common/mod.rs:134] Resources DB Integrity Check Succeeded
INFO  2024-09-24T09:36:06.639+00:00 ThreadId(18) [1P:data/op-db/src/resources_db/db.rs:134] Starting Resources DB at version: 0
INFO  2024-09-24T09:36:06.639+00:00 ThreadId(18) [1P:data/op-db/src/resources_db/db.rs:142] Resources Database is being created at '/home/<redacted-username>/.config/1Password/1password_resources.sqlite' (sqlite: 3045000)
INFO  2024-09-24T09:36:06.660+00:00 ThreadId(18) [1P:data/op-db/src/resources_db/db.rs:247] Updated DB Schema to version 001
ERROR 2024-09-24T09:36:06.666+00:00 ThreadId(18) [1P:/builds/dev/core/core/ssh/op-ssh-config/src/lib.rs:198] Failed to start ssh config file watcher: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
INFO  2024-09-24T09:36:06.672+00:00 tokio-runtime-worker(ThreadId(10)) [1P:app/op-app/src/app/backend/lock.rs:340] MYCELIUM PRE-REGISTRATION FLAGS: Fetching pre-registration flags
INFO  2024-09-24T09:36:06.672+00:00 tokio-runtime-worker(ThreadId(12)) [1P:native-messaging/op-native-core-integration/src/lib.rs:289] Mute native core integration is waiting for Shared Lock State to be enabled
ERROR 2024-09-24T09:36:06.672+00:00 ThreadId(18) [1P:ffi/op-core-node/src/lib.rs:448] Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
INFO  2024-09-24T09:36:06.673+00:00 tokio-runtime-worker(ThreadId(10)) [1P:ssh/op-agent-controller/src/lib.rs:526] Starting filesystem watcher for SSH agent configuration directories...
ERROR 2024-09-24T09:36:06.673+00:00 tokio-runtime-worker(ThreadId(10)) [1P:/builds/dev/core/core/ssh/op-agent-controller/src/lib.rs:527] Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
ERROR 2024-09-24T09:36:06.677+00:00 tokio-runtime-worker(ThreadId(1)) [1P:op-global-shortcuts/src/lib.rs:69] AppError at /builds/dev/core/core/op-global-shortcuts/src/node.rs:62:6
binding shortcut

Caused by:
    BindRefused

Stack backtrace:
   0: op_global_shortcuts::node::bind::{{closure}}
   1: op_global_shortcuts::watch_setting::{{closure}}
   2: tokio::runtime::task::raw::poll
   3: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
   4: tokio::runtime::scheduler::multi_thread::worker::run
   5: tokio::runtime::task::raw::poll
   6: std::sys_common::backtrace::__rust_begin_short_backtrace
   7: core::ops::function::FnOnce::call_once{{vtable.shim}}
   8: std::sys::pal::unix::thread::Thread::new::thread_start
   9: start_thread
  10: __GI___clone3

ERROR 2024-09-24T09:36:06.677+00:00 tokio-runtime-worker(ThreadId(4)) [1P:op-global-shortcuts/src/lib.rs:69] AppError at /builds/dev/core/core/op-global-shortcuts/src/node.rs:62:6
binding shortcut

Caused by:
    BindRefused

Stack backtrace:
   0: op_global_shortcuts::node::bind::{{closure}}
   1: op_global_shortcuts::watch_setting::{{closure}}
   2: tokio::runtime::task::raw::poll
   3: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
   4: tokio::runtime::scheduler::multi_thread::worker::run
   5: tokio::runtime::task::raw::poll
   6: std::sys_common::backtrace::__rust_begin_short_backtrace
   7: core::ops::function::FnOnce::call_once{{vtable.shim}}
   8: std::sys::pal::unix::thread::Thread::new::thread_start
   9: start_thread
  10: __GI___clone3

ERROR 2024-09-24T09:36:06.740+00:00 ThreadId(18) [client:typescript] Could not load window state.
[4792:0924/093606.744603:ERROR:browser_main_loop.cc(280)] Gtk: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
INFO  2024-09-24T09:36:07.846+00:00 tokio-runtime-worker(ThreadId(8)) [1P:app/op-app/src/app/backend/lock.rs:347] MYCELIUM PRE-REGISTRATION FLAGS: Forward flag enabled false
INFO  2024-09-24T09:36:07.846+00:00 tokio-runtime-worker(ThreadId(8)) [1P:app/op-app/src/app/backend/lock.rs:356] MYCELIUM PRE-REGISTRATION FLAGS: Reverse flag enabled false

VScode same no errors tho but it runs with --ozone-platform-hint=auto

these could be, and for sure iniclude, electron issues. Electron apps often use outdated versions of chromium with very bad wayland support. There is nothing Fedora can do here.

Using an F41 container (if it doesnt break) is better, as it is supported for 13 months, while 39 is soon EOL.

apart from that, it may need this yama libary ? Just a guess