Fix gui start, change docker container, add shell to start gui

This commit is contained in:
2026-01-12 10:53:32 +01:00
parent e97de16264
commit c286dafcf7
3 changed files with 40 additions and 9 deletions

View File

@@ -0,0 +1,17 @@
# Setup WSLg environment variables for GUI applications
echo "🚀 Setting up WSLg environment variables for GUI support..."
export DISPLAY=:0
export WAYLAND_DISPLAY=wayland-0
export XDG_RUNTIME_DIR=/mnt/wslg/runtime-dir
echo "✅ DISPLAY is set to $DISPLAY"
echo "🐳 Starting Docker container with GUI support..."
docker run -it --rm \
--env="DISPLAY=$DISPLAY" \
--env="QT_X11_NO_MITSHM=1" \
--volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \
-v "${PWD}:/app" \
exwayz_test:latest \
/bin/bash