Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have an issue with pulseaudio logging error messages in a loop and wonder how I can fix them:

Aug  7 20:22:17 s pulseaudio[25638]: lock-autospawn.c: Cannot access autospawn lock.
Aug  7 20:22:17 s pulseaudio[25638]: main.c: Failed to acquire autospawn lock /tmp/.esd/sock
Aug  7 20:22:18 s pulseaudio[25644]: module-protocol-stub.c: Failed to create socket directory '/tmp/.esd/socket': Permission denied

after deleting /tmp/.esd I get the following error:

Aug  7 20:22:32 s pulseaudio[25690]: lock-autospawn.c: Cannot access autospawn lock.
Aug  7 20:22:32 s pulseaudio[25690]: main.c: Failed to acquire autospawn lock
Aug  7 20:22:37 s pulseaudio[25694]: core-util.c: Home directory /var/lib/gdm not ours.
share|improve this question
add comment

1 Answer

Try to add this to your /etc/security/limits.conf :

@audio          -       rtprio          65
@audio          -       nice           -10
@audio          -       memlock         40000

@pulse-rt       hard nice -20
@pulse-rt       soft nice -20

Also you have to add your user to the pulse-rt group.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.