From 3895b13974b68c697ed971614214664ae09c94da Mon Sep 17 00:00:00 2001 From: sam Date: Tue, 10 Sep 2024 09:27:43 +0800 Subject: [PATCH] rootfs: xvnc.sh # PORT_VNC2=$PORT_VNC --- rootfs/src/xvnc.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rootfs/src/xvnc.sh b/rootfs/src/xvnc.sh index 154c1331..8beeed86 100644 --- a/rootfs/src/xvnc.sh +++ b/rootfs/src/xvnc.sh @@ -20,12 +20,12 @@ pulse) ;; parec) # sv: environment=DISPLAY=:10,HOME=/home/headless - PORT_VNC2=$PORT_VNC #$(expr $PORT_VNC - 100 + 100) - echo "PORT_VNC2: $PORT_VNC2" + # PORT_VNC2=$PORT_VNC #$(expr $PORT_VNC - 100 + 100) + # echo "PORT_VNC2: $PORT_VNC2" echo "sleep 2.5" && sleep 2.5 #wait src="-d xrdp-sink.monitor" - url="localhost:$PORT_VNC2/bcs/PULSE.mp3?stream=true&advertise=true" + url="localhost:$PORT_VNC/bcs/PULSE.mp3?stream=true&advertise=true" # headless下执行; parec, apt install lame # rm -f /usr/bin/parec; ln -s /usr/bin/pacat /usr/bin/parec ##non-root, just use pacat>> parec软链才能用