[pulseaudio-discuss] protocol-native.c: Denied access

Paul Rudolf Seebacher paul.seebacher at gmx.net
Tue Dec 25 08:28:28 PST 2007


I have a problem establiching connection to my pulseaudio server.
I start my server like this:

root at vaio:/var/run/pulse# pulseaudio -vvvv

i have configured my server as follows:

root at vaio:/var/run/pulse# pulseaudio -C
Welcome to PulseAudio! Use "help" for usage information.
>>> dump
### Configuration dump generated at Tue Dec 25 15:32:06 2007

load-module module-esound-protocol-unix
load-module module-native-protocol-unix
load-module module-esound-protocol-tcp
load-module module-native-protocol-tcp
load-module module-zeroconf-publish
load-module module-volume-restore
load-module module-rescue-streams
load-module module-cli exit_on_eof=1

add-autoload-source input module-alsa-source device=hw:0 source_name=input
add-autoload-sink output module-alsa-sink device=hw:0 sink_name=output

set-default-sink output
set-default-source input

### EOF

Added user seepaul to groups pulse-access and pulse-rt:

seepaul at vaio:~$ sudo usermod -aG pulse-access seepaul
seepaul at vaio:~$ sudo usermod -aG pulse-rt seepaul
seepaul at vaio:~$ groups
seepaul adm dialout cdrom floppy audio dip video plugdev scanner netdev
lpadmin powerdev admin pulse-access pulse-rt

And created symlink to esd.auth file and changed permisions:

seepaul at vaio:~$ ln -sf /var/run/pulse/.esd_auth ~/.esd_auth
seepaul at vaio:~$ sudo chmod 644 /var/run/pulse/.esd_auth
seepaul at vaio:~$ ls -al /var/run/pulse/.esd_auth
-rw-r--r-- 1 pulse pulse 16 2007-12-25 15:02 /var/run/pulse/.esd_auth

So, now when i want to play a file i get an error message:

seepaul at vaio:~$ paplay foo.wav
Connection failure: Access denied

The error messages put out from the server is simliar:

root at vaio:/var/run/pulse# pulseaudio -vvvv
main.c: Found user 'pulse' (UID 114) and group 'pulse' (GID 123).
main.c: Successfully dropped root privileges.
module.c: Loaded "module-esound-protocol-unix" (index: #0; argument: "").
protocol-native.c: Allowing access to group 'pulse-access'.
protocol-native.c: loading cookie from disk.
module.c: Loaded "module-native-protocol-unix" (index: #1; argument: "").
module.c: Loaded "module-esound-protocol-tcp" (index: #2; argument: "").
protocol-native.c: Allowing access to group 'pulse-access'.
protocol-native.c: using already loaded auth cookie.
protocol-native.c: Allowing access to group 'pulse-access'.
protocol-native.c: using already loaded auth cookie.
module.c: Loaded "module-native-protocol-tcp" (index: #3; argument: "").
module-zeroconf-publish.c: Publishing services in Zeroconf
module.c: Loaded "module-zeroconf-publish" (index: #4; argument: "").
module-volume-restore.c: starting with empty ruleset.
module.c: Loaded "module-volume-restore" (index: #5; argument: "").
module.c: Loaded "module-rescue-streams" (index: #6; argument: "").
core-subscribe.c: dropped redundant event.
alsa-util.c: Using mixer control "PCM".
sink.c: created 0 "output" with sample spec "s16le 2ch 44100Hz"
source.c: created 0 "output.monitor" with sample spec "s16le 2ch 44100Hz"
core-subscribe.c: dropped redundant event.
core-subscribe.c: dropped redundant event.
core-subscribe.c: dropped redundant event.
core-subscribe.c: dropped redundant event.
core-subscribe.c: dropped redundant event.
module-alsa-sink.c: using 8 fragments of size 1408 bytes.
module.c: Loaded "module-alsa-sink" (index: #7; argument: "device=hw:0
sink_name=output").
main.c: Daemon startup complete.
module.c: Unloading "module-alsa-sink" (index: #7).
module-rescue-streams.c: No sink inputs to move away.
module-rescue-streams.c: No source outputs to move away.
sink.c: freed 0 "output"
source.c: freed 0 "output.monitor"
module.c: Unloaded "module-alsa-sink" (index: #7).
socket-server.c: TCP connection accepted by tcpwrap.
client.c: created 0 "Native client (TCP/IP client from 192.168.0.55:46712)"
protocol-native.c: Denied access to client with invalid authorization data.
client.c: freed 0 "Native client (TCP/IP client from 192.168.0.55:46712)"

Client and Server are on the same machine. My version of pa is
0.9.5-5ubuntu4.1. The same goes for libpulse.

Does anybody knows a solution for me to get seepaul authorized by
ps-server? Thx




More information about the pulseaudio-discuss mailing list