Bug#521675: pulseaudio: Failed to create secure directory (/run/user/1000/pulse): Permission denied

Felipe Sateler fsateler at debian.org
Tue Nov 18 14:10:03 UTC 2014


Hi Samuel,

On Tue, Nov 18, 2014 at 12:52 AM, Samuel Bernardo
<samuelbernardo.mail at gmail.com> wrote:
> Package: pulseaudio
> Version: 5.0-13
> Followup-For: Bug #521675
>
> Dear Maintainer,
>
> *** Reporter, please consider answering these questions, where appropriate ***
>
>    * What led up to the situation?
> Trying to use pulseaudio.
> I follow the next guides to try to configure it out:
> http://en.wikibooks.org/wiki/Configuring_Sound_on_Linux/Pulse_Audio/Testing
> https://wiki.debian.org/PulseAudio
> https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture
>
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> before changing owner of /run/user/1000/pulse from root to user it gives when running pacat
> Failed to create secure directory (/run/user/1000/pulse): Permission denied
> Connection failure: Connection refused
> pa_context_connect() failed: Connection refused
>
> When I manually change owner to local user I continue to reveive the following message:
> Connection failure: Connection refused
>
> Using pacmd it returns:
> Daemon not responding.
>
> When using xfreerdp with audio, microphone and multimedia options it returns the following messages:
> Loading Dynamic Virtual Channel audin
> Warning rdpsnd_pulse_connect (115): bad context state (6)
> Warning freerdp_rdpsnd_client_subsystem_entry (619): rdpsnd_pulse_connect failed
> Warning rdpsnd_load_device_plugin (548): pulse entry returns error.
> Warning audin_pulse_connect (117): bad context state (6)
> Warning audin_load_device_plugin (461): pulse entry returns error.
> Loading Dynamic Virtual Channel tsmf
>
> With alsa I can ear sound and it seems to be working everything ok.

Please open a new bug, as this is unrelated to this one. And please
disable system mode (remove /etc/init.d/pulseaudio and
/etc/default/pulseaudio), as pulseaudio is better run as user before
doing so. Pulseaudio should work without configuration.

>
> In debian systemd I didn't found pulseaudio service, so I started daemon manually and finished it as mentioned in the guides I pointed above.

There is no systemd pulseaudio service because it should run as a user
service not a system one.

>
> I realise that is missing updated documentation for pulse audio configuration for debian.

Maybe. But pulseaudio should work by just installing it and not
touching anything.

-- 

Saludos,
Felipe Sateler



More information about the pkg-pulseaudio-devel mailing list