Give waypipe a digit-led socket name so snap Chromium can open it
Snap Chromium's AppArmor profile only allows /run/user/*/wayland-[0-9]*; waypipe's default random name starts with a letter and was refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e0c8678410
commit
e24bd035fd
1 changed files with 3 additions and 1 deletions
|
|
@ -71,6 +71,8 @@ cleanup() {
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
|
|
||||||
case "$MODE" in
|
case "$MODE" in
|
||||||
waypipe) waypipe ssh "$HOST" "${AUDIO_ENV[@]}" chromium --ozone-platform=wayland ;;
|
# snap Chromium's AppArmor profile only allows wayland-<digit>* sockets;
|
||||||
|
# waypipe's default random name starts with a letter and gets refused
|
||||||
|
waypipe) waypipe --display "wayland-$$" ssh "$HOST" "${AUDIO_ENV[@]}" chromium --ozone-platform=wayland ;;
|
||||||
x11) ssh -X "$HOST" "${AUDIO_ENV[@]}" chromium ;;
|
x11) ssh -X "$HOST" "${AUDIO_ENV[@]}" chromium ;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue