LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem with Pulse Audio (https://www.linuxquestions.org/questions/linux-software-2/problem-with-pulse-audio-834041/)

codeman1234 09-23-2010 11:59 AM

Problem with Pulse Audio
 
Hello everyone,

I am haveng a bit of a problem with pulse audio, I don't know why but, suddenly I had no more sound on my ubuntu laptop so, I check out Administration >> Log File Viewer and I see the following error:

Sep 23 00:02:00 fox-laptop pulseaudio[1378]: lock-autospawn.c: Cannot access autospawn lock.


Any way to solve this guys?
Regards.

codeman1234 09-24-2010 01:56 PM

Anyone please? I am really desperate with this problem. Please HELP!!

David the H. 09-24-2010 02:43 PM

First of all, what, if anything, has changed since it was last working? Did you update your system or anything?

Also, have you tried putting the error message into Google yet to see what comes up?

You can start by confirming that the daemon is running. Does ps -e | grep pulse show a running process?

If so, try using pulseaudio -k to kill it, then restart it so that it runs in the foreground with pulseaudio (no options). What kind of startup messages do you get?

(To restart again in daemon mode, ctrl-c to kill it, and restart with pulseaudio -D.)

This is assuming that the daemon is running in user mode and not a root process, which is usually not recommended. When running as root, you usually start and stop it through the /etc/init.d/pulseaudio script.

I've had a couple of times after updates where the module-udev-detect/module-detect module wouldn't load automatically, and I had to go into /etc/pulse/default.pa and temporarily configure it to load manually. Perhaps you're having a similar problem.

codeman1234 09-24-2010 04:03 PM

Hey David,

thanks for answering,

I tried: ps -e | grep pulse

as you said and the process is not there

so I tried to start it manually doing the following:

alpha@alpha-laptop:/$ pulseaudio --start

And I get this:

E: core-util.c: Home directory /home/alpha not ours.
W: lock-autospawn.c: Cannot access autospawn lock.
E: main.c: Failed to acquire autospawn lock


and if I tried just putting pulseaudio

alpha@alpha-laptop:~$ pulseaudio


I get this:

E: core-util.c: Home directory /home/alpha not ours.

So, I am guessing this has to do something with permissions isn't it? How can I fix it please, help!!


Regards!!

codeman1234 09-25-2010 05:12 AM

Anyone please?? Need Help!! Please Help!!

Regards

David the H. 09-25-2010 10:53 PM

Please show some patience. The people here are volunteers, and we respond to threads as we have the time, ability, and inclination to do so. If you aren't getting any answers, it's usually because nobody knows how to help you. Adding constant "bump" posts isn't going to change anything.

Frankly, I'm not sure what you should do either. I'm not an expert on the audio system. It does sound like it could be a permissions problem though. So have you looked up how to change permissions yet? Take a look at your group settings, for example. Is your user (still?) a member of the audio group, or the pulse group?

By the way, you never answered my first question. What, if anything, happened to alter your system before this problem occurred? If you ran an update, then it could simply be a bug in one of the programs that got updated. Sometimes all you have to do then is wait for the next update to come along that fixes the error.

codeman1234 09-27-2010 08:24 AM

Quote:

Originally Posted by David the H. (Post 4109109)
Please show some patience. The people here are volunteers, and we respond to threads as we have the time, ability, and inclination to do so. If you aren't getting any answers, it's usually because nobody knows how to help you. Adding constant "bump" posts isn't going to change anything.

Frankly, I'm not sure what you should do either. I'm not an expert on the audio system. It does sound like it could be a permissions problem though. So have you looked up how to change permissions yet? Take a look at your group settings, for example. Is your user (still?) a member of the audio group, or the pulse group?

By the way, you never answered my first question. What, if anything, happened to alter your system before this problem occurred? If you ran an update, then it could simply be a bug in one of the programs that got updated. Sometimes all you have to do then is wait for the next update to come along that fixes the error.

Yes my user is part of the group audio and pulse. Any other solution please?

Cheers

David the H. 09-27-2010 10:51 AM

Quote:

Originally Posted by David the H. (Post 4109109)
By the way, you never answered my first question. What, if anything, happened to alter your system before this problem occurred? If you ran an update, then it could simply be a bug in one of the programs that got updated. Sometimes all you have to do then is wait for the next update to come along that fixes the error.

...

codeman1234 09-30-2010 07:11 AM

Quote:

Originally Posted by David the H. (Post 4110429)
...

Hello David,

Sorry about that, I don't think I updated anything at all today is the first time I am updating my system. But, still the same.

What can I do? Please, I tried reading other threads and try their solutions and still nothing.

Regards

David the H. 10-01-2010 04:11 AM

As I said, I really can't say. Your problem is beyond my experience. The final suggestion I can make at this time is to uninstall pulse, purge all the configuration files, and try starting over from scratch. That, and to file bug reports with your distribution and the pulseaudio developers.

If this were my problem, I'd also be studying everything I could about how pulse works and how it's configured. Chances are by now I would've at least gotten a clearer idea about where the problem lies, if not how to fix it.

So keep looking and trying. I'm sure you'll figure it out eventually.

Servus 10-01-2010 04:25 AM

I have a similar problem

codeman1234 10-01-2010 04:17 PM

I just tried updating from 10.04 to 10.10 but, still the problem. Please can someone help me.


Cheers

codeman1234 10-04-2010 05:55 PM

Help please!!

codeman1234 10-06-2010 01:02 PM

Looks like the problem is that the system is complaining that the user don't own its own home folder so, I tried as root the following:

sudo chown -R alpha /home/alpha

And I got this:

chown: cannot access `/home/alpha/.gvfs': Permission denied


It looks that the system cannot find the file ".gvfs", so I went to my home folder to look for it and is a hidden folder that exits on my home folder but, has nothing on it. What is suppouse to be there?

So, What can I do? Some help please

Regards,

By the way I just updated my system once again and I got a lot of packages from pulse audio and DID NOT REPAIR THE ISSUE!!! Just to let you know is not a update bug so far.

codeman1234 10-06-2010 03:34 PM

Hello,

I just solved, to solve this issue follow the following how-to here


Regards


All times are GMT -5. The time now is 11:52 PM.