Skip to content

Commit

Permalink
rootfs: xvnc.sh # PORT_VNC2=$PORT_VNC
Browse files Browse the repository at this point in the history
  • Loading branch information
huapox committed Sep 10, 2024
1 parent 6278915 commit 3895b13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rootfs/src/xvnc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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软链才能用
Expand Down

0 comments on commit 3895b13

Please sign in to comment.