[BUG][Linux] DemoRunner crashes on Ubuntu 24.04

On a fresh Ubuntu 24.04.3 ARM64, DemoRunner built with latest tip on master crashes at startup and seems to even crash the current graphic session.

demorunner_crash_ubuntu_24.04

This is caused by a bug in Gnome afaik, where the Wayland session doesn’t correctly integrate X11 system-tray icons (or at least, some part of the X protocol that seems to work correctly under a fully X11 session). It’s not ideal that it crashes the entire desktop; perhaps we should attempt to avoid creating the system tray icon entirely when we detect a Wayland session.

There’s more info here:

1 Like

We’ve now added a workaround to avoid crashing the desktop session on Ubuntu: