hello, I have several accounts on my Ubuntu 25.04 Linux 6.14.0-28 AMD Ryzen 7 7840U. One of the accounts is managed by systemd-homed and stored on a USB-stick. When using this account and Wayland, element-desktop and draw.io fail with the errors shown below and no windows opening. They work when used by a normal account (in /etc/passwd and home on a local disk). chromium 138.0.7204.183, firefox 141.0.3-1, thunderbird 128.13.0esr-3, spotify 1.2.63.394.g126b0d89, pdftk 2.02-4 , slack 4.45.64 , etc all work fine. Does anybody know how I can get element-desktop working with homed?
% element-desktop
2025/08/18 18:14:35.294815 cmd_run.go:1353: WARNING: cannot start document portal: Message recipient disconnected from message bus without replying
A JavaScript error occurred in the main process
Uncaught Exception:
SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_get_passwd returned ENOENT (no such file or directory)
at Object.userInfo (node:os:305:11)
at file:///snap/element-desktop/164/opt/Element/resources/app.asar/node_modules/atomically/dist/constants.js:10:29
at ModuleJob.run (node:internal/modules/esm/module_job:329:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:644:26)
at async node:electron/js2c/browser_init:2:135156
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:132:5)
Gtk-Message: 18:14:36.311: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
[140894:0818/181436.402442:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 141027: Permission denied (13)
/usr/share/libdrm/amdgpu.ids: No such file or directory
/usr/share/libdrm/amdgpu.ids: No such file or directory
% drawio
2025/08/18 18:15:25.784306 cmd_run.go:1353: WARNING: cannot start document portal: Message recipient disconnected from message bus without replying
A JavaScript error occurred in the main process
Uncaught Exception:
SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_get_passwd returned ENOENT (no such file or directory)
at Object.userInfo (node:os:305:11)
at file:///snap/drawio/252/resources/app.asar/node_modules/atomically/dist/constants.js:10:29
at ModuleJob.run (node:internal/modules/esm/module_job:329:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:644:26)
at async node:electron/js2c/browser_init:2:135156
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:132:5)
(drawio:141255): Gtk-WARNING **: 18:15:26.551: Theme parsing error: gtk.css:1422:23: 'font-feature-settings' is not a valid property name
(drawio:141255): Gtk-WARNING **: 18:15:26.554: Theme parsing error: gtk.css:3308:25: 'font-feature-settings' is not a valid property name
(drawio:141255): Gtk-WARNING **: 18:15:26.555: Theme parsing error: gtk.css:3770:23: 'font-feature-settings' is not a valid property name
[141255:0818/181526.618448:ERROR:dbus/object_proxy.cc:590] Failed to call method: org.freedesktop.Secret.Service.ReadAlias: object_path= /org/freedesktop/secrets: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.199" (uid=60262 pid=141255 comm="/snap/drawio/252/drawio --no-sandbox" label="snap.drawio.drawio (enforce)") interface="org.freedesktop.Secret.Service" member="ReadAlias" error name="(unset)" requested_reply="0" destination="org.freedesktop.secrets" (uid=60262 pid=8656 comm="/usr/bin/gnome-keyring-daemon --foreground --compo" label="unconfined")
libGL error: MESA-LOADER: failed to open radeonsi (search paths /snap/drawio/252/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast (search paths /snap/drawio/252/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: swrast
[141363:0818/181526.638519:ERROR:ui/gl/angle_platform_impl.cc:49] Display.cpp:1079 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1079 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[141363:0818/181526.638875:ERROR:ui/gl/gl_display.cc:408] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[141363:0818/181526.638975:ERROR:ui/gl/gl_display.cc:680] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[141363:0818/181526.640318:ERROR:ui/gl/angle_platform_impl.cc:49] Display.cpp:1079 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1079 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[141363:0818/181526.640413:ERROR:ui/gl/gl_display.cc:408] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[141363:0818/181526.640481:ERROR:ui/gl/gl_display.cc:680] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[141363:0818/181526.640534:ERROR:ui/gl/gl_display.cc:715] Initialization of all EGL display types failed.
[141363:0818/181526.640600:ERROR:ui/ozone/common/gl_ozone_egl.cc:26] GLDisplayEGL::Initialize failed.
[141363:0818/181526.644344:ERROR:ui/gl/angle_platform_impl.cc:49] Display.cpp:1079 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1079 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[141363:0818/181526.644449:ERROR:ui/gl/gl_display.cc:408] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[141363:0818/181526.644496:ERROR:ui/gl/gl_display.cc:680] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[141363:0818/181526.645427:ERROR:ui/gl/angle_platform_impl.cc:49] Display.cpp:1079 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1079 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[141363:0818/181526.645484:ERROR:ui/gl/gl_display.cc:408] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[141363:0818/181526.645524:ERROR:ui/gl/gl_display.cc:680] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[141363:0818/181526.645563:ERROR:ui/gl/gl_display.cc:715] Initialization of all EGL display types failed.
[141363:0818/181526.645599:ERROR:ui/ozone/common/gl_ozone_egl.cc:26] GLDisplayEGL::Initialize failed.
[141363:0818/181526.646459:ERROR:components/viz/service/main/viz_main_impl.cc:184] Exiting GPU process due to errors during initialization
(drawio:141255): Gtk-WARNING **: 18:15:26.655: Theme parsing error: gtk.css:1422:23: 'font-feature-settings' is not a valid property name
(drawio:141255): Gtk-WARNING **: 18:15:26.658: Theme parsing error: gtk.css:3308:25: 'font-feature-settings' is not a valid property name
(drawio:141255): Gtk-WARNING **: 18:15:26.659: Theme parsing error: gtk.css:3770:23: 'font-feature-settings' is not a valid property name
MESA-LOADER: failed to open radeonsi (search paths /snap/drawio/252/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: radeonsi
MESA-LOADER: failed to open kms_swrast (search paths /snap/drawio/252/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /snap/drawio/252/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load swrast driver
% snap info element-desktop drawio
name: element-desktop
summary: A feature-rich client for Matrix.org
publisher: Ken VanDine✪
store-url: https://snapcraft.io/element-desktop
contact: ken@vandine.org
license: unset
description: |
Element is both a secure messenger and a productivity team collaboration app that is ideal for
group chats while remote working. This chat app uses end-to-end encryption to provide powerful
video conferencing, file sharing and voice calls.
Element’s features include:
- Advanced online communication tools
- Fully encrypted messages to allow safer corporate communication, even for remote workers
commands:
- element-desktop
snap-id: nZQQXb6Hap0I2ZF3ZsTeFeh80gXHN8DQ
tracking: latest/stable
refresh-date: 12 days ago, at 15:38 CEST
channels:
latest/stable: 1.11.108 2025-08-05 (164) 188MB -
latest/candidate: ↑
latest/beta: ↑
latest/edge: 1.11.109 2025-08-12 (166) 189MB -
installed: 1.11.108 (164) 188MB -
---
name: drawio
summary: draw.io
publisher: draw.io (jgraph✓)
store-url: https://snapcraft.io/drawio
license: unset
description: |
draw.io desktop
commands:
- drawio
snap-id: 84JReQ8pcNGJyAbT0gSDiW7OpDkrdaXp
tracking: latest/stable
refresh-date: yesterday at 16:28 CEST
channels:
latest/stable: 28.0.6 2025-07-23 (252) 131MB -
latest/candidate: ↑
latest/beta: ↑
latest/edge: 28.0.6 2025-07-22 (252) 131MB -
installed: 28.0.6 (252) 131MB -