diff --git a/remote-chromium.sh b/remote-chromium.sh index c2d6f3b..b71eb75 100755 --- a/remote-chromium.sh +++ b/remote-chromium.sh @@ -71,6 +71,8 @@ cleanup() { trap cleanup EXIT case "$MODE" in - waypipe) waypipe ssh "$HOST" "${AUDIO_ENV[@]}" chromium --ozone-platform=wayland ;; + # snap Chromium's AppArmor profile only allows wayland-* 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 ;; esac