Fix inherited PulseAudio ownership blocking Webtop streaming
This commit is contained in:
1 parent
46d7db5974
commit
5957e34e72
3 files changed
+28
-1
No files matched your search
@@ -165,3 +165,21 @@ Hermes-Agent, Athena and OpenCode were not restarted for this naming correction.
|
||||
The public XML is generated from explicit non-secret deployment constants; it does
|
||||
not export private live template fields. Re-enter any separately configured
|
||||
authentication settings from the private backup when restoring.
|
||||
|
||||
## Browser streaming correction (2026-10-16)
|
||||
|
||||
User reported WebSocket disconnected in the actual Webtop viewer. Previous HTTP
|
||||
200 and SSH/MCP tests did not validate this streaming path. Selkies was waiting for
|
||||
PulseAudio's /defaults/pid; PulseAudio repeatedly exited. The reused
|
||||
/config/.config/pulse directory and files still belonged to the old PUID 99, while
|
||||
the new desktop runs as abc/1000. Group permissions allowed writes, but PulseAudio
|
||||
requires ownership to match its runtime user. Chown of this directory to abc:abc
|
||||
allowed the existing s6 supervisor to start PulseAudio normally; no audio/streaming
|
||||
service script was patched and no manual readiness marker was fabricated.
|
||||
|
||||
The same correction is now in install-tools.sh for subsequent image recreations.
|
||||
Confirmed PulseAudio up, readiness PID present, Selkies listening on localhost:8082,
|
||||
and a real WSS upgrade through published HTTPS port 3021 at /api/websockets. Three
|
||||
actual server messages were received. Direct browser video-frame rendering is not
|
||||
claimed from this protocol test. Use HTTPS https://192.168.1.2:3021 and reload the
|
||||
viewer after the repair. No host, Hermes, Athena or OpenCode restart for this fix.
|
||||
@@ -61,6 +61,9 @@ EOF
|
||||
ln -sf /opt/hermes-workspace/node/bin/agent-browser /usr/local/bin/agent-browser
|
||||
ln -sf /opt/hermes-workspace/bin/webtop-browser /usr/local/bin/webtop-browser
|
||||
ln -sf /opt/hermes-workspace/cua/cua-driver /usr/local/bin/cua-driver
|
||||
# PulseAudio requires the configuration directory to belong to its runtime user.
|
||||
# Old Webtop homes can retain the former PUID; retain content and correct ownership.
|
||||
if test -d /config/.config/pulse; then chown -R abc:abc /config/.config/pulse; fi
|
||||
chown abc:abc /config/.hermes-workspace /config/.hermes-workspace/packages.txt
|
||||
chown -R abc:abc /config/workspace /opt/hermes-workspace/node
|
||||
if test -f /config/.hermes-workspace/authorized_keys; then
|
||||
|
||||
@@ -29,5 +29,11 @@
|
||||
"service_uid_tested": 99,
|
||||
"identity_file_permissions_corrected": true,
|
||||
"service_user_ssh_after_final_hermes_restart": true,
|
||||
"identity_file_permissions_after_restart": "0644 passwd/group"
|
||||
"identity_file_permissions_after_restart": "0644 passwd/group",
|
||||
"pulseaudio_old_uid_corrected": true,
|
||||
"pulseaudio_running": true,
|
||||
"selkies_stream_port_listening": true,
|
||||
"frontend_websocket_upgrade": true,
|
||||
"frontend_websocket_server_messages_received": 3,
|
||||
"frontend_video_frames_directly_verified": false
|
||||
}
|
||||
Reference in new issue
Block a user