On 13/12/13 09:53, auxsvr@gmail.com wrote:
On Friday 13 of December 2013 09:06:28 Dylan wrote:
I'm setting up a media machine, currently using oS12.3. It is attached to my TV as a monitor and the Hi-Fi for audio output. When I log in directly, all works as expected.
When I log in remotely with ssh -X user@host from my main machine however, I can run my chosen audio player (clementine) but when trying to play any audio I get a "Connection refused" error unless the user is also logged in on the media box. This rather defeats the object of running the audio player remotely. How can I make the audio server (pulse) available with no logged in users on the media server (only the ssh -X connection)?
Try setting
load-module module-native-protocol-tcp auth-ip-acl=[IP ADDRESS OF CLIENT]
in /etc/pulse/system.pa, then
pulseaudio -D
as root. This will make pulseaudio act as a server on TCP port 4713, which you'll need to open in the firewall configuration. Then in the client,
PULSE_SERVER=[IP ADDRESS OF SERVER] clementine
will connect to the pulseaudio daemon on the server.
These directions provide a minimum of security, because the connection is authenticated by IP address. You could also configure a ssh tunnel for this or sync the pulseaudio cookie between server and client. There is enough documentation about authentication methods regarding pulseaudio on the internet.
I'm not trying to configure pulseaudio as a network audio server... I'm trying to get an application running on the media box via ssh to connect to its *local* pulse server even though there is no local user logged in. I have set pulseaudio to run in system mode but still no audio... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org