You are not logged in.

#1 2008-04-25 20:44:24

phabulosa
Member
From: Mountain View, CA
Registered: 2007-10-17
Posts: 182
Website

[SOLVED]How to use pulseaudio with in 32 bit chroot on ARch64

I am trying to running some 32bit software from chroot environment on Arch64.

I set up pulseaudio on Arch64 property.

However, within 32 bit chroot, I cannot use pulseaudio.
For an example,

arch32 chroot /home/xxxx/Audio > paplay Front_Center.wav 
Connection failure: Connection refused

How can I fix this?

Last edited by phabulosa (2008-04-27 19:37:15)

Offline

#2 2008-04-27 17:54:32

phabulosa
Member
From: Mountain View, CA
Registered: 2007-10-17
Posts: 182
Website

Re: [SOLVED]How to use pulseaudio with in 32 bit chroot on ARch64

I made this to work by the following steps:

1. Install pulseaudio and alsa-plugin stuff in Arch32;
2. Edit /etc/pulse/default.pa on Arch64 and enable "load-module module-native-protocol-tcp";
3. Edit /etc/rc.d/pulseaudio and add a line "cp /var/run/pulse/.pulse-cookie /opt/arch32/etc/pulse-cookie" after pulseaudio line in 'start' part;
4. Add some lines in /etc/hosts.allow on Arch64 (some of them may not be necessary) ;

pulseaudio-native: 127.0.0.1
pulseaudio-simple: 127.0.0.1    
pulseaudio-cli: 127.0.0.1
pulseaudio-http: 127.0.0.1
esound: 127.0.0.1

5. Follow the "PulseAudio over Network" in Arch Wiki on Pulse audio http://wiki.archlinux.org/index.php/Pul … er_network and configure my Arch32 as a remote client on the network while setting the server address as 127.0.0.1;
6. Restart Pulseaudio daemon on Arch64 and Run "paplay" on Arch32 to test.

Offline

Board footer

Powered by FluxBB