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

Felipe Sateler fsateler at debian.org
Tue Nov 18 21:18:17 UTC 2014


Control: tag -1 moreinfo

Hi,

On Tue, Nov 18, 2014 at 5:50 PM, Samuel Bernardo
<samuelbernardo.mail at gmail.com> wrote:
> Package: pulseaudio
> Version: 5.0-13
> Severity: important
>
> 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 for understand and configure it:
> http://en.wikibooks.org/wiki/Configuring_Sound_on_Linux/Pulse_Audio/Testing
> https://wiki.debian.org/PulseAudio

Did you do the dpkg-divert section of this page? If so, please undo
that (hmm, that part should probably be removed or at least warn
against doing that...).

> 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, when running pacat, it gives
> 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 receive 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 everything working ok.
>
> Following Felipe Sateler I removed /etc/default/pulseaudio, but problem remains.

Thanks for opening a new bug. I see something more:

> -- Configuration Files:
> /etc/pulse/daemon.conf changed:
> daemonize = yes
> ; fail = yes
> ; allow-module-loading = yes
> ; allow-exit = yes
> ; use-pid-file = yes
> system-instance = yes

Please set this to no. Then please kill all pulseaudio instances, and
try running pulseaudio:

$ pulseaudio -vvvv

And if it doesn't work please attach the output of pulseaudio here.


-- 

Saludos,
Felipe Sateler



More information about the pkg-pulseaudio-devel mailing list