Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] pulseaudio wont' start as service
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
lostinlinux
Guru
Guru


Joined: 05 Oct 2002
Posts: 341

PostPosted: Sat Feb 02, 2008 2:39 pm    Post subject: [Solved] pulseaudio wont' start as service Reply with quote

In trying to start pulseaudio as a service I simply get !! (/etc/init.d/pulseaudio start) but if I do a pulseaudio -vv everything works fine. Is there something that needs to change in order to get it to start on boot? I have seen on pulseaudio's site that they recommend the followng ln -sf /usr/local/bin/esdcompat /usr/bin/esd, but I don't have a /usr/local/bin/esdcompat. There is a /usr/bin/esdcompat but not in /usr/local. Any ideas?
_________________
So many questions so little time....
Back to top
View user's profile Send private message
billydv
l33t
l33t


Joined: 22 Dec 2006
Posts: 911
Location: Mount Vernon, NY

PostPosted: Sat Feb 02, 2008 8:42 pm    Post subject: Reply with quote

How did you solve this, it doesn't start for me.
_________________
Billy DeVincentis
Back to top
View user's profile Send private message
lostinlinux
Guru
Guru


Joined: 05 Oct 2002
Posts: 341

PostPosted: Sun Feb 03, 2008 3:41 pm    Post subject: Reply with quote

I ended up not starting this as a service and instead start it on a per user basis like is recommended on PulseAudio's site.
_________________
So many questions so little time....
Back to top
View user's profile Send private message
billydv
l33t
l33t


Joined: 22 Dec 2006
Posts: 911
Location: Mount Vernon, NY

PostPosted: Sun Feb 03, 2008 7:37 pm    Post subject: Reply with quote

So, just so I understand, you emerged the pulseaudio packages, left alsasound to start as a service as is normal (starts at boot runlevel), then used a kde autostart as you login to start pulseaudio?
_________________
Billy DeVincentis
Back to top
View user's profile Send private message
lostinlinux
Guru
Guru


Joined: 05 Oct 2002
Posts: 341

PostPosted: Mon Feb 04, 2008 11:52 pm    Post subject: Reply with quote

I am not using KDE, so I can't speak on how to do it in KDE. I did this with Gnome, so I just added it to my gnome-session. I'd assume it would be basically the same thing in KDE though.
_________________
So many questions so little time....
Back to top
View user's profile Send private message
billydv
l33t
l33t


Joined: 22 Dec 2006
Posts: 911
Location: Mount Vernon, NY

PostPosted: Tue Feb 05, 2008 1:39 am    Post subject: Reply with quote

Did you notice that there are no icons? Just that ugly empty page?
_________________
Billy DeVincentis
Back to top
View user's profile Send private message
lostinlinux
Guru
Guru


Joined: 05 Oct 2002
Posts: 341

PostPosted: Tue Feb 05, 2008 1:53 pm    Post subject: Reply with quote

I am not sure what you are referring to, but if it's the PulseAudio apps mine have icons in the Gnome menus.
_________________
So many questions so little time....
Back to top
View user's profile Send private message
billydv
l33t
l33t


Joined: 22 Dec 2006
Posts: 911
Location: Mount Vernon, NY

PostPosted: Tue Feb 05, 2008 9:41 pm    Post subject: Reply with quote

In kde they show a blank page for an icon.
_________________
Billy DeVincentis
Back to top
View user's profile Send private message
lostinlinux
Guru
Guru


Joined: 05 Oct 2002
Posts: 341

PostPosted: Wed Feb 06, 2008 2:46 am    Post subject: Reply with quote

not sure why they'd be different, but mine has all the icons....
_________________
So many questions so little time....
Back to top
View user's profile Send private message
sphantom
n00b
n00b


Joined: 16 Jul 2003
Posts: 72

PostPosted: Wed Feb 06, 2008 5:31 am    Post subject: Reply with quote

Check /var/log/messages for output. I just installed it today and found my installation couldn't load module-x11-publish. Commenting out line 83 in /etc/pulse/default.pa (the line which loads that module) allowed me to start the service.

Not sure if that's reccomended though, technically I don't have a working install yet =)

EDIT: I'm up and running after emerging gst-plugins-pulse
Back to top
View user's profile Send private message
lostinlinux
Guru
Guru


Joined: 05 Oct 2002
Posts: 341

PostPosted: Thu Feb 07, 2008 3:16 am    Post subject: Reply with quote

so you have it running as a service?

Do you get the login/logout sounds? for whatever reason I get all the other sounds but not those.
_________________
So many questions so little time....
Back to top
View user's profile Send private message
Animal-X®
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 91
Location: São Caetano do Sul - SP - Brasil

PostPosted: Mon Sep 22, 2008 12:58 pm    Post subject: Reply with quote

pulseaudio not start for me:

area51 portage # /etc/init.d/pulseaudio restart
* Starting pulseaudio ...
pulseaudio: pulsecore/mutex-posix.c:98: pa_mutex_unlock: Assertiva `pthread_mutex_unlock(&m->mutex) == 0' falhou.
/lib/rcscripts/sh/rc-daemon.sh: line 231: 1442 Abortado /sbin/start-stop-daemon '--start' '--exec' '/usr/bin/pulseaudio' '--' '--log-target=syslog' '--disallow-module-loading=1' '--fail=1' '--daemonize=1' '--system' [ !! ]

area51 portage # pulseaudio -vv
I: core-util.c: Successfully gained nice level -11.
pulseaudio: pulsecore/mutex-posix.c:98: pa_mutex_unlock: Assertiva `pthread_mutex_unlock(&m->mutex) == 0' falhou.
Abortado
_________________
My machines configuration
Linux User #305281
Back to top
View user's profile Send private message
devicepedia
n00b
n00b


Joined: 20 Sep 2008
Posts: 1

PostPosted: Mon Sep 22, 2008 6:52 pm    Post subject: Hi Reply with quote

I am not sure why they are different, am little confused.
Back to top
View user's profile Send private message
Animal-X®
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 91
Location: São Caetano do Sul - SP - Brasil

PostPosted: Mon Sep 22, 2008 7:36 pm    Post subject: Solved ! Reply with quote

I remove the portato and pulseaudio daemon start!
Don't ask me....uhauahuah
_________________
My machines configuration
Linux User #305281
Back to top
View user's profile Send private message
E001754
Guru
Guru


Joined: 01 Aug 2004
Posts: 442
Location: Paris, France

PostPosted: Thu Oct 30, 2008 10:00 pm    Post subject: Reply with quote

For me, it worked only after emerging the utility packages described in the pulseaudio.org site :
Quote:
emerge pavucontrol pavumeter paman padevchooser paprefs


Then, starting the alsasound daemon (added to boot runlevel for next reboot).

Then, simply typing "pulseaudio -D" (-D is for daemonize after startup), as user, not as root.

Now, my audacious is playing using the pulseaudio daemon server, but still no sound in swfdec (I was hoping this could give me sound in youtube). I'll try to restart firefox just after this post and see if there was missing just a firefox restart...

Hope this helps
Back to top
View user's profile Send private message
E001754
Guru
Guru


Joined: 01 Aug 2004
Posts: 442
Location: Paris, France

PostPosted: Thu Oct 30, 2008 10:19 pm    Post subject: Reply with quote

After a first reboot, pulseaudio daemon still refuses to start (default runlevel).
Issuing command "pulseaudio -vv" or "pulseaudio" or even "pulseaudio -D" works only if made first as root (starting as user ends with a log saying that it can't create a directory in /tmp, but as root, the directory can be created and then it works as user...).
However, no more sound comes from audacious with the pulseaudio plugin...

EDIT : finally, after several attemps and one reboot, it seems to work as I was describing in my first post... Forget this second post.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum