meefik / linuxdeploy

Install and run GNU/Linux on Android
https://meefik.github.io/linuxdeploy
GNU General Public License v3.0
5.18k stars 678 forks source link

pulseaudio question #1297

Open JanuszChmiel opened 2 years ago

JanuszChmiel commented 2 years ago

Dear experts, I have found out, that Pulseaudio is supported for installing Linux distributions. Is it necessary to install Simple protocol player or similar app so it will play sounds? Or it is not necessary and app will stream sound to The sound device with no need to use Simple protocol player or The similar app? Thank you very very much.

MatejMagat305 commented 2 years ago

Hello, I m not "expert", but I solved it similar to the last comment on https://github.com/termux/termux-app/issues/874 says......, so at beginning you need termux (I recomend from fdroid), then you need put to /etc/profile this: export PULSE_SERVER=127.0.0.1
then turn of linux.
go to termux and install pulseaudio pkg install pulseaudio, then you put theese comand (every times before you start linux - I have this in script):

pulseaudio --start --exit-idle-time=-1
pacmd load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1

the original recomend auth-anonymous=1 too, but I run it without this command......, and finaly run linux and enjoy it!

iamSlightlyWind commented 2 years ago

Thanks, worked perfectly with almost no setup at all.