From 8d122f8a37c2498b8c06c7f8d4158201ef360e0b Mon Sep 17 00:00:00 2001 From: mviereck Date: Thu, 24 Feb 2022 08:53:44 +0100 Subject: [PATCH] --pulseaudio=tcp: remove experimental code #417 --- x11docker | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/x11docker b/x11docker index 008efb78..fb0fed6f 100755 --- a/x11docker +++ b/x11docker @@ -11,7 +11,7 @@ # Run 'x11docker --help' or scroll down to read usage information. # More documentation at: https://github.com/mviereck/x11docker -Version="7.1.1-beta-6" +Version="7.1.1-beta-7" # --enforce-i: Enforce running in interactive mode to allow commands tty and weston-launch in special setups. grep -q -- "--enforce-i" <<< "$*" && case $- in @@ -7353,9 +7353,7 @@ $(tail "$Xpraclientlogfile")" start_pulseaudiotcp() { # option --pulseaudio=tcp: load Pulseaudio TCP module authenticated with container IP local Containerip Containerip="$(storeinfo dump containerip)" - #Pulseaudiomoduleid="$(unpriv "pactl load-module module-native-protocol-tcp listen=${Containerip:-"127.0.0.1"}" )" - Pulseaudiomoduleid="$(unpriv "pactl load-module module-native-protocol-tcp port=$Pulseaudioport listen=${Containerip:-"127.0.0.1"}" )" -# Pulseaudiomoduleid="$(unpriv "pactl load-module module-native-protocol-tcp port=$Pulseaudioport auth-ip-acl=${Containerip:-"127.0.0.1"}" )" + Pulseaudiomoduleid="$(unpriv "pactl load-module module-native-protocol-tcp port=$Pulseaudioport auth-ip-acl=${Containerip:-"127.0.0.1"}" )" [ "$Pulseaudiomoduleid" ] && { storeinfo "pulseaudiomoduleid=$Pulseaudiomoduleid" } || note "Option --pulseaudio: command pactl failed.