Skip to content

Fix wayland socket wait - #73

Merged
JBailes merged 2 commits into
mainfrom
fix-wayland-socket-wait
Aug 19, 2026
Merged

Fix wayland socket wait#73
JBailes merged 2 commits into
mainfrom
fix-wayland-socket-wait

Conversation

@JBailes

@JBailes JBailes commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Apps configured with start_virtual_compositor = false have no Wayland
socket of their own, so Wolf reports an empty socket name to its
readiness check. The check then stats XDG_RUNTIME_DIR itself, finds a
directory, and aborts the session:

  ERROR | Wayland endpoint /tmp/sockets/ exists but is not a socket
  ERROR | [STREAM_SESSION] Wayland socket  was not ready, aborting runner startup

Wolf's built-in "Test ball" is the only app in the default config that
hits this, which is unfortunate because it is the app people try first.
Apps with their own compositor (Steam, Firefox, the Wolf UI) are fine.

Set WOLF_SKIP_WAYLAND_SOCKET_WAIT=TRUE in both generated Compose files,
and patch it into an already-generated one from update.sh, since Update
Images does not regenerate the file. diagnose.sh reports whether the
running container actually has it.

Upstream: games-on-whales/wolf#462
Refs: games-on-whales/wolf#483
The wolf-den comment contains `socat ... UNIX-CONNECT:${WOLF_SOCKET_PATH}`
in backticks, inside an unquoted heredoc. Bash treats that as command
substitution, so every deploy printed

  deploy.sh: line N: WOLF_SOCKET_PATH: unbound variable

to the install log (set -u kills the expansion before socat runs, so
nothing is actually executed) and wrote the comment into the generated
docker-compose.yml with the backticked span replaced by nothing:

  # this straight to  to build a

Escape the backticks and the expansion so the comment survives verbatim.
Cosmetic, but the stray error line is noise in exactly the logs people
paste into bug reports.
@JBailes
JBailes merged commit 194e770 into main Aug 19, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant