[SOLVED] Sound stopped working, pulse audio access denied

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
jugular
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 2:58 am

[SOLVED] Sound stopped working, pulse audio access denied

Post by jugular » Mon Jun 03, 2019 3:10 am

Hiya, this is my first post. Bare with me.

I recently was trying to record some audio playing on my laptop using audacity, to do this I believe I installed a pulse audio snap, not really knowing what I was doing, I was just blindly following instructions. This worked fine but later my sound stopped working. I searched for the problem and again just copy pasted instructions (sorry can't remember what they were) which fixed the problem in the short term, after which the sound just stopped working again. I think I may have forced pulse audio to stop working and told alsa to work instead. My sound settings also seem to be missing.

Thanks very much in advance.

I have some read-outs for you:

Code: Select all

System:    Host: jugular-ThinkPad-T60 Kernel: 4.10.0-38-generic i686 (32 bit gcc: 5.4.0)
           Desktop: Xfce 4.12.3 (Gtk 2.24.28) Distro: Linux Mint 18.3 Sylvia
Machine:   System: LENOVO (portable) product: 1951FEG v: ThinkPad T60
           Mobo: LENOVO model: 1951FEG
           Bios: LENOVO v: 79ETE3WW (2.23 ) date: 09/12/2008
CPU:       Dual core Intel Core2 T5600 (-MCP-) cache: 2048 KB
           flags: (lm nx pae sse sse2 sse3 ssse3 vmx) bmips: 7315
           clock speeds: max: 1833 MHz 1: 1333 MHz 2: 1333 MHz
Graphics:  Card: Intel Mobile 945GM/GMS 943/940GML Express Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1024x768@60.00hz
           GLX Renderer: Mesa DRI Intel 945GM x86/MMX/SSE2
           GLX Version: 1.4 Mesa 18.0.5 Direct Rendering: Yes
Audio:     Card Intel NM10/ICH7 Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.10.0-38-generic
Network:   Card-1: Intel 82573L Gigabit Ethernet Controller
           driver: e1000e v: 3.2.6-k port: 2000 bus-ID: 02:00.0
           IF: ens2 state: down mac: <filter>
           Card-2: Intel PRO/Wireless 3945ABG [Golan] Network Connection
           driver: iwl3945 v: in-tree:s bus-ID: 03:00.0
           IF: wls3 state: up mac: <filter>
Drives:    HDD Total Size: 250.1GB (16.1% used)
           ID-1: /dev/sda model: CT250MX500SSD1 size: 250.1GB
Partition: ID-1: / size: 226G used: 35G (17%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 472M used: 66M (15%) fs: ext2 dev: /dev/sda1
           ID-3: swap-1 size: 3.21GB used: 0.00GB (0%) fs: swap dev: /dev/dm-3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 55.0C mobo: 37.0C
           Fan Speeds (in rpm): cpu: 3513
Info:      Processes: 223 Uptime: 1:01 Memory: 1101.5/3017.7MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
And some errors just from this morning's session:

Code: Select all

jugular@jugular-ThinkPad-T60 ~ $ ~/firefox/firefox

###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

[Parent 3511, Gecko_IOThread] WARNING: pipe error: Broken pipe: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 726
[Child 4172, MediaPlayback #2] WARNING: a476fee0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 4172, MediaPlayback #2] WARNING: Decoder=a4928040 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 4172, MediaPlayback #2] WARNING: Decoder=a4928040 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296

(/home/jugular/firefox/firefox-bin:4636): dconf-WARNING **: Unable to open /var/lib/flatpak/exports/share/dconf/profile/user: Permission denied
[Parent 3511, Gecko_IOThread] WARNING: pipe error (217): Connection reset by peer: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 357
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied


(/home/jugular/firefox/firefox-bin:4172): dconf-WARNING **: Unable to open /var/lib/flatpak/exports/share/dconf/profile/user: Permission denied
[Child 4172, MediaPlayback #14] WARNING: a3895160 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 4172, MediaPlayback #14] WARNING: Decoder=a4105040 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 4172, MediaPlayback #12] WARNING: a3895160 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 4172, MediaPlayback #12] WARNING: Decoder=a4105190 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 4172, MediaPlayback #11] WARNING: a3809940 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 4172, MediaPlayback #11] WARNING: Decoder=a4105430 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627

(/home/jugular/firefox/firefox-bin:5802): dconf-WARNING **: Unable to open /var/lib/flatpak/exports/share/dconf/profile/user: Permission denied

(/home/jugular/firefox/firefox-bin:6797): dconf-WARNING **: Unable to open /var/lib/flatpak/exports/share/dconf/profile/user: Permission denied

Last edited by jugular on Thu Jun 13, 2019 2:48 am, edited 2 times in total.

User avatar
MrEen
Level 15
Level 15
Posts: 5567
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound stopped working, pulse audio access denied

Post by MrEen » Mon Jun 03, 2019 7:11 am

Hi jugular, and welcome to the forum.

First let's make sure you permissions are as they should be. In the terminal enter sudo chown -Rc $USER:$USER $HOME If nothing needed fixing it'll just return to the prompt, otherwise it'll give you a list of what's been fixed.

Now we'll make sure pulseaudio is running properly. Delete all the files in /home/YourUserName/.config/pulse (they'll automatically get recreated with a fresh set.) Now run the following in the terminal: killall pulseaudio followed by pulseaudio --start

There's a decent chance that's all you need. If not, just let us know.

Good luck.

User avatar
Flemur
Level 17
Level 17
Posts: 7334
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Sound stopped working, pulse audio access denied

Post by Flemur » Mon Jun 03, 2019 9:52 am

jugular wrote:
Mon Jun 03, 2019 3:10 am
I think I may have forced pulse audio to stop working and told alsa to work instead.
That's what I do.

Code: Select all

jugular@jugular-ThinkPad-T60 ~ $ ~/firefox/firefox
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied
I dunno about the other error messages, but later (> v56 or so) firefox stupidly have pulseaudio hard-coded in, so if you want to continue NOT using pulseaudio, start it like this:

Code: Select all

apulse /path/to/firefox
"apulse" is in the repos.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

jugular
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 2:58 am

Re: Sound stopped working, pulse audio access denied

Post by jugular » Tue Jun 04, 2019 7:52 am

Thanks for the replies, and sorry for coming back to this so late, I was locked out of the flat!

Here is what returned regarding permissions:

Code: Select all

changed ownership of '/home/jugular/.dbus/session-bus/fb3a613ee5294cf3b69a3ebddfd5405a-0' from root:root to jugular:jugular
changed ownership of '/home/jugular/.dbus/session-bus' from root:root to jugular:jugular
changed ownership of '/home/jugular/.dbus' from root:root to jugular:jugular
changed ownership of '/home/jugular/.pia_manager/log/openvpn.pid' from root:jugular to jugular:jugular
changed ownership of '/home/jugular/.cache/dconf/user' from root:root to jugular:jugular
changed ownership of '/home/jugular/.cache/dconf' from root:root to jugular:jugular
I'm about to try the rest of the advice.





MrEen wrote:
Mon Jun 03, 2019 7:11 am
Hi jugular, and welcome to the forum.

First let's make sure you permissions are as they should be. In the terminal enter sudo chown -Rc $USER:$USER $HOME If nothing needed fixing it'll just return to the prompt, otherwise it'll give you a list of what's been fixed.

Now we'll make sure pulseaudio is running properly. Delete all the files in /home/YourUserName/.config/pulse (they'll automatically get recreated with a fresh set.) Now run the following in the terminal: killall pulseaudio followed by pulseaudio --start

There's a decent chance that's all you need. If not, just let us know.

Good luck.
Last edited by jugular on Wed Jun 05, 2019 2:38 am, edited 1 time in total.

jugular
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 2:58 am

Re: Sound stopped working, pulse audio access denied

Post by jugular » Tue Jun 04, 2019 7:55 am

I'm assuming my permissions are not as they should be, as this is what I got in reponse to killall pulseaudio:

Code: Select all

jugular@jugular-ThinkPad-T60 ~ $ killall pulseaudio
pulseaudio(1388): Operation not permitted
pulseaudio(1595): Operation not permitted
pulseaudio: no process found

User avatar
MrEen
Level 15
Level 15
Posts: 5567
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound stopped working, pulse audio access denied

Post by MrEen » Wed Jun 05, 2019 12:02 pm

That makes it look like pulseaudio was running as root. Try sudo killall pulseaudio followed by pulseaudio --start

jugular
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 2:58 am

Re: Sound stopped working, pulse audio access denied

Post by jugular » Wed Jun 05, 2019 12:39 pm

It works!!!

Thank yewwwwwwwwww!!!!! :mrgreen: :mrgreen: :mrgreen:

User avatar
MrEen
Level 15
Level 15
Posts: 5567
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound stopped working, pulse audio access denied

Post by MrEen » Wed Jun 05, 2019 2:13 pm

Glad I could help. :D

jugular
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 2:58 am

Re: Sound stopped working, pulse audio access denied

Post by jugular » Wed Jun 05, 2019 2:32 pm

:|

So this is weird, I just started my machine up again and the sound is back to not working.

I went through all the steps again with no luck.

I should have done this before, but after all that I typed in: aplay /usr/share/sounds/alsa/Front_Center.wav

and this worked fine. So I tried to play a video within a video editor and the sound worked fine. But when I try to play a video on youtube, on firefox, I can't hear anything. When I try to listen to stuff on archive.org I get an error (within the browser window).

When I had the issues before, it wasn't just within firefox, i couldn't hear any sound on my machine.

Looks like the firefox window running my terminal browser has been busy:

Code: Select all

[RDD 4178, Chrome_ChildThread] WARNING: pipe error (6): Connection reset by peer: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 357
[RDD 4178, Chrome_ChildThread] WARNING: pipe error (20): Connection reset by peer: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 357
[RDD 4178, Chrome_ChildThread] WARNING: pipe error (6): Connection reset by peer: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 357
[Child 3010, MediaPlayback #2] WARNING: 9dfb11f0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 3010, MediaPlayback #2] WARNING: Decoder=a0eeb2e0 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 3010, MediaPlayback #3] WARNING: 95d3a430 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 3010, MediaPlayback #3] WARNING: Decoder=a0eeb2e0 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[RDD 4178, Chrome_ChildThread] WARNING: pipe error: Broken pipe: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 726
[Child 3010, MediaPlayback #3] WARNING: 9df42160 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 3010, MediaPlayback #3] WARNING: Decoder=a0eeb2e0 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[RDD 4178, Chrome_ChildThread] WARNING: pipe error: Broken pipe: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 726
[Child 3010, MediaPlayback #3] WARNING: 99806280 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 3010, MediaPlayback #3] WARNING: Decoder=a0eeb2e0 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 3010, MediaPlayback #1] WARNING: 95c9e4c0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 3010, MediaPlayback #1] WARNING: Decoder=97694ed0 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 5074, MediaPlayback #1] WARNING: 9dbc78b0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 5074, MediaPlayback #1] WARNING: Decoder=a65e2d00 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627

(/home/jugular/firefox/firefox-bin:3981): dconf-WARNING **: Unable to open /var/lib/flatpak/exports/share/dconf/profile/user: Permission denied
[Child 6878, MediaPlayback #3] WARNING: a2741550 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #3] WARNING: Decoder=a5294e30 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #3] WARNING: Decoder=a5294e30 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: a26ffc10 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #2] WARNING: Decoder=a75b9970 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #2] WARNING: Decoder=a75b9970 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: a2776dc0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #2] WARNING: Decoder=a5294aa0 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #2] WARNING: Decoder=a5294aa0 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #4] WARNING: Decoder=a5294aa0 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<MediaSourceTrackDemuxer::SamplesPromise> mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #1] WARNING: a3815280 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #1] WARNING: Decoder=a5294d00 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #1] WARNING: Decoder=a5294d00 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #3] WARNING: a2741670 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #3] WARNING: Decoder=a23f1040 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #3] WARNING: Decoder=a23f1040 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #4] WARNING: a38155e0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #4] WARNING: Decoder=a5294e30 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #4] WARNING: Decoder=a5294e30 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #4] WARNING: a3c3f670 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #4] WARNING: Decoder=a52951c0 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #4] WARNING: Decoder=a52951c0 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #4] WARNING: Decoder=a52951c0 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<MediaSourceTrackDemuxer::SamplesPromise> mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: a3c3f940 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #2] WARNING: Decoder=a263f6d0 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #2] WARNING: Decoder=a263f6d0 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: a26ff9d0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #2] WARNING: Decoder=a5295420 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #2] WARNING: Decoder=a5295420 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #3] WARNING: a3466790 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #3] WARNING: Decoder=a5294aa0 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #3] WARNING: Decoder=a5294aa0 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: Decoder=a5294aa0 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<MediaSourceTrackDemuxer::SamplesPromise> mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #1] WARNING: a42eb160 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #1] WARNING: Decoder=a25f1430 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #1] WARNING: Decoder=a25f1430 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #3] WARNING: a42eb670 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #3] WARNING: Decoder=a5294d00 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #3] WARNING: Decoder=a5294d00 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #4] WARNING: Decoder=a5294d00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<MediaSourceTrackDemuxer::SamplesPromise> mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #3] WARNING: a63fa430 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #3] WARNING: Decoder=a5294d00 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #3] WARNING: Decoder=a5294d00 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: a26c60d0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #2] WARNING: Decoder=a52e2580 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #2] WARNING: Decoder=a52e2580 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #3] WARNING: a3466820 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #3] WARNING: Decoder=a5295090 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #3] WARNING: Decoder=a5295090 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #1] WARNING: 9f9e3f70 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #1] WARNING: Decoder=a5295090 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #1] WARNING: Decoder=a5295090 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: 9f9e3040 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #2] WARNING: Decoder=9f92c040 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #2] WARNING: Decoder=9f92c040 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #4] WARNING: a26c6160 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #4] WARNING: Decoder=a5294aa0 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #4] WARNING: Decoder=a5294aa0 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #4] WARNING: Decoder=a5294aa0 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<MediaSourceTrackDemuxer::SamplesPromise> mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: a2776a60 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #2] WARNING: Decoder=a5294bd0 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #2] WARNING: Decoder=a5294bd0 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #4] WARNING: Decoder=a5294bd0 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<MediaSourceTrackDemuxer::SamplesPromise> mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #1] WARNING: 9f9e3040 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #1] WARNING: Decoder=9f92c040 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #1] WARNING: Decoder=9f92c040 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: a38150d0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #2] WARNING: Decoder=a52952f0 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #2] WARNING: Decoder=a52952f0 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #4] WARNING: a3407820 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #4] WARNING: Decoder=a5295680 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #4] WARNING: Decoder=a5295680 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #3] WARNING: Decoder=a5295680 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<MediaSourceTrackDemuxer::SamplesPromise> mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: a3cafe50 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #2] WARNING: Decoder=9f92c040 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #2] WARNING: Decoder=9f92c040 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #1] WARNING: a4261ee0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #1] WARNING: Decoder=a5294d00 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #1] WARNING: Decoder=a5294d00 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: Decoder=a5294d00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<MediaSourceTrackDemuxer::SamplesPromise> mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #4] WARNING: 9f9e03a0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #4] WARNING: Decoder=a5294e30 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #4] WARNING: Decoder=a5294e30 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: 9f9e08b0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #2] WARNING: Decoder=9f92c040 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #2] WARNING: Decoder=9f92c040 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #3] WARNING: 9f9e3ee0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #3] WARNING: Decoder=a5295550 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #3] WARNING: Decoder=a5295550 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #4] WARNING: Decoder=a5295550 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<MediaSourceTrackDemuxer::SamplesPromise> mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: a4261ee0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #2] WARNING: Decoder=a52957b0 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #2] WARNING: Decoder=a52957b0 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: Decoder=a52957b0 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<MediaSourceTrackDemuxer::SamplesPromise> mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: a4261ee0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #2] WARNING: Decoder=9f92c040 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #2] WARNING: Decoder=9f92c040 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: a42a8310 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #4] WARNING: Decoder=a5294d00 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #4] WARNING: Decoder=a5294d00 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #4] WARNING: Decoder=a5294d00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<MediaSourceTrackDemuxer::SamplesPromise> mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: 4dfe1790 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #2] WARNING: Decoder=a2341040 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #2] WARNING: Decoder=a2341040 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296
[Child 6878, MediaPlayback #2] WARNING: a22491f0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6878, MediaPlayback #2] WARNING: Decoder=a25f1c10 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3627
[Child 6878, MediaPlayback #2] WARNING: Decoder=a25f1c10 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3296

jugular
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 2:58 am

Re: Sound stopped working, pulse audio access denied

Post by jugular » Wed Jun 05, 2019 2:40 pm

I restarted firefox and it's working now.

I'm going to just hold off from marking this as solved for a little while just to see what happens.

User avatar
MrEen
Level 15
Level 15
Posts: 5567
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound stopped working, pulse audio access denied

Post by MrEen » Wed Jun 05, 2019 2:52 pm

You also might now have a messed up config file. Delete the files in /home/YourUserName/.config/pulse again. Now that root isn't running pulseaudio, this will hopefully be the last time for that. Then run pulseaudio -k to restart the daemon. Wait several seconds then restart Firefox.

If no errors are thrown during any of that, I think you'll be fixed.

jugular
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 2:58 am

Re: Sound stopped working, pulse audio access denied

Post by jugular » Thu Jun 06, 2019 3:48 pm

Okay so what seems to be happening is that after I restart my machine pulseaudio returns to running as root.

To get the sound running again I need to go through all the steps again, including typing sudo killall pulseaudio because killall pulseaudio gives me the same error messages I had before.

After my last reboot I went through all the steps to get my sound working and then I did as you said, deleted the .config files again and typed pulseaudio -k which didn't send up any error messages. I then rebooted my machine to see if anything happened and again it returned to no sound and pulseaudio running as root.

User avatar
MrEen
Level 15
Level 15
Posts: 5567
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound stopped working, pulse audio access denied

Post by MrEen » Thu Jun 06, 2019 3:51 pm

Look in your Menu > Settings > Session and Startup > Application Autostart tab. How many pulseaudio entries do you see there that have the box checked, and are there any without the box checked?

User avatar
MrEen
Level 15
Level 15
Posts: 5567
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound stopped working, pulse audio access denied

Post by MrEen » Thu Jun 06, 2019 3:54 pm

Let's also look at cat ~/.config/autostart/pulseaudio.desktop | grep Exec

jugular
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 2:58 am

Re: Sound stopped working, pulse audio access denied

Post by jugular » Fri Jun 07, 2019 1:20 am

There's one ticked: "Pulseaudio soundsystem (start the pulseaudio soundsystem)"

and no pulseaudio things unticked.

Code: Select all

jugular@jugular-ThinkPad-T60 ~ $ cat ~/.config/autostart/pulseaudio.desktop | grep Exec
cat: /home/jugular/.config/autostart/pulseaudio.desktop: No such file or directory
Another thing I should have mentioned is that throughout all of this, my sound settings have gone missing. There's no little speaker on my dash and if I search my menu for 'sound' it can't find anything.

User avatar
MrEen
Level 15
Level 15
Posts: 5567
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound stopped working, pulse audio access denied

Post by MrEen » Fri Jun 07, 2019 7:05 am

jugular wrote:
Fri Jun 07, 2019 1:20 am
There's one ticked: "Pulseaudio soundsystem (start the pulseaudio soundsystem)"

and no pulseaudio things unticked.

Code: Select all

jugular@jugular-ThinkPad-T60 ~ $ cat ~/.config/autostart/pulseaudio.desktop | grep Exec
cat: /home/jugular/.config/autostart/pulseaudio.desktop: No such file or directory
Another thing I should have mentioned is that throughout all of this, my sound settings have gone missing. There's no little speaker on my dash and if I search my menu for 'sound' it can't find anything.
I had this happen once. See if there is a .pulse file in your home directory. If so, delete it then reboot. If sound still doesn't work after rebooting, try apt install --reinstall pulseaudio then reboot again.

jugular
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 2:58 am

Re: Sound stopped working, pulse audio access denied

Post by jugular » Fri Jun 07, 2019 3:19 pm

Thanks so much for your continued help, by the way.

No .pulse file in my home directory. I reinstalled pulse audio anyway and rebooted my machine but it didn't make any difference.

User avatar
MrEen
Level 15
Level 15
Posts: 5567
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound stopped working, pulse audio access denied

Post by MrEen » Fri Jun 07, 2019 3:54 pm

Let's see if this is the culprit. Post the output of cat /etc/pulse/daemon.conf

Also look for a .asoundrc file in your home directory or in ~/.config. Check ~/.config for a .pulse file as well.

jugular
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 2:58 am

Re: Sound stopped working, pulse audio access denied

Post by jugular » Sat Jun 08, 2019 4:23 am

Code: Select all

# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.

; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no

; high-priority = yes
; nice-level = -11

; realtime-scheduling = yes
; realtime-priority = 5

; exit-idle-time = 20
; scache-idle-time = 20

; dl-search-path = (depends on architecture)

; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa

; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0

; resample-method = speex-float-1
; enable-remixing = yes
; enable-lfe-remixing = yes
; lfe-crossover-freq = 120

flat-volumes = no

; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 200000

; default-sample-format = s16le
; default-sample-rate = 44100
; alternate-sample-rate = 48000
; default-sample-channels = 2
; default-channel-map = front-left,front-right

; default-fragments = 4
; default-fragment-size-msec = 25

; enable-deferred-volume = yes
deferred-volume-safety-margin-usec = 1
; deferred-volume-extra-delay-usec = 0

jugular
Level 1
Level 1
Posts: 26
Joined: Mon Jun 03, 2019 2:58 am

Re: Sound stopped working, pulse audio access denied

Post by jugular » Sat Jun 08, 2019 4:28 am

Checked for those files, couldn't find them :)

Post Reply

Return to “Sound, Multimedia, & Codecs”