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:
+1
-2
@@ -16,8 +16,7 @@ command: o3de-wrapper.sh
|
|||||||
finish-args:
|
finish-args:
|
||||||
- --share=ipc
|
- --share=ipc
|
||||||
- --share=network # Project Manager fetches gems/templates; engine downloads assets
|
- --share=network # Project Manager fetches gems/templates; engine downloads assets
|
||||||
- --socket=x11
|
- --socket=x11 # O3DE's bundled Qt only ships the xcb plugin, so X11/XWayland is required
|
||||||
- --socket=fallback-x11
|
|
||||||
- --socket=wayland
|
- --socket=wayland
|
||||||
- --socket=pulseaudio
|
- --socket=pulseaudio
|
||||||
- --device=dri # GPU access for the renderer
|
- --device=dri # GPU access for the renderer
|
||||||
|
|||||||
@@ -51,7 +51,6 @@ flatpak build-finish build-dir \
|
|||||||
--share=ipc \
|
--share=ipc \
|
||||||
--share=network \
|
--share=network \
|
||||||
--socket=x11 \
|
--socket=x11 \
|
||||||
--socket=fallback-x11 \
|
|
||||||
--socket=wayland \
|
--socket=wayland \
|
||||||
--socket=pulseaudio \
|
--socket=pulseaudio \
|
||||||
--device=dri \
|
--device=dri \
|
||||||
|
|||||||
Reference in New Issue
Block a user