Fix X11 display: share x11 unconditionally (drop fallback-x11)

O3DE's bundled Qt only ships the xcb platform plugin, so it needs X11/
XWayland. Using --socket=fallback-x11 alongside --socket=wayland meant X11
was not shared on Wayland sessions, leaving DISPLAY empty and Qt unable to
connect. Share --socket=x11 unconditionally instead.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-15 11:44:10 +02:00
parent 44d64262e2
commit 759c49bbeb
2 changed files with 1 additions and 3 deletions
+1 -2
View File
@@ -16,8 +16,7 @@ command: o3de-wrapper.sh
finish-args:
- --share=ipc
- --share=network # Project Manager fetches gems/templates; engine downloads assets
- --socket=x11
- --socket=fallback-x11
- --socket=x11 # O3DE's bundled Qt only ships the xcb plugin, so X11/XWayland is required
- --socket=wayland
- --socket=pulseaudio
- --device=dri # GPU access for the renderer
-1
View File
@@ -51,7 +51,6 @@ flatpak build-finish build-dir \
--share=ipc \
--share=network \
--socket=x11 \
--socket=fallback-x11 \
--socket=wayland \
--socket=pulseaudio \
--device=dri \