Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

[Solved] pulseaudio wont' start as service

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
16 posts • Page 1 of 1
Author
Message
lostinlinux
Guru
Guru
User avatar
Posts: 341
Joined: Sat Oct 05, 2002 3:18 pm

[Solved] pulseaudio wont' start as service

  • Quote

Post by lostinlinux » Sat Feb 02, 2008 2:39 pm

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....
Top
billydv
l33t
l33t
User avatar
Posts: 911
Joined: Fri Dec 22, 2006 1:03 pm
Location: Mount Vernon, NY

  • Quote

Post by billydv » Sat Feb 02, 2008 8:42 pm

How did you solve this, it doesn't start for me.
Billy DeVincentis
Top
lostinlinux
Guru
Guru
User avatar
Posts: 341
Joined: Sat Oct 05, 2002 3:18 pm

  • Quote

Post by lostinlinux » Sun Feb 03, 2008 3:41 pm

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....
Top
billydv
l33t
l33t
User avatar
Posts: 911
Joined: Fri Dec 22, 2006 1:03 pm
Location: Mount Vernon, NY

  • Quote

Post by billydv » Sun Feb 03, 2008 7:37 pm

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
Top
lostinlinux
Guru
Guru
User avatar
Posts: 341
Joined: Sat Oct 05, 2002 3:18 pm

  • Quote

Post by lostinlinux » Mon Feb 04, 2008 11:52 pm

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....
Top
billydv
l33t
l33t
User avatar
Posts: 911
Joined: Fri Dec 22, 2006 1:03 pm
Location: Mount Vernon, NY

  • Quote

Post by billydv » Tue Feb 05, 2008 1:39 am

Did you notice that there are no icons? Just that ugly empty page?
Billy DeVincentis
Top
lostinlinux
Guru
Guru
User avatar
Posts: 341
Joined: Sat Oct 05, 2002 3:18 pm

  • Quote

Post by lostinlinux » Tue Feb 05, 2008 1:53 pm

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....
Top
billydv
l33t
l33t
User avatar
Posts: 911
Joined: Fri Dec 22, 2006 1:03 pm
Location: Mount Vernon, NY

  • Quote

Post by billydv » Tue Feb 05, 2008 9:41 pm

In kde they show a blank page for an icon.
Billy DeVincentis
Top
lostinlinux
Guru
Guru
User avatar
Posts: 341
Joined: Sat Oct 05, 2002 3:18 pm

  • Quote

Post by lostinlinux » Wed Feb 06, 2008 2:46 am

not sure why they'd be different, but mine has all the icons....
So many questions so little time....
Top
sphantom
n00b
n00b
Posts: 72
Joined: Wed Jul 16, 2003 10:03 am

  • Quote

Post by sphantom » Wed Feb 06, 2008 5:31 am

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
Top
lostinlinux
Guru
Guru
User avatar
Posts: 341
Joined: Sat Oct 05, 2002 3:18 pm

  • Quote

Post by lostinlinux » Thu Feb 07, 2008 3:16 am

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....
Top
Animal-X®
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 91
Joined: Wed Aug 20, 2003 12:51 pm
Location: São Caetano do Sul - SP - Brasil
Contact:
Contact Animal-X®
Website

  • Quote

Post by Animal-X® » Mon Sep 22, 2008 12:58 pm

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
Top
devicepedia
n00b
n00b
Posts: 1
Joined: Sat Sep 20, 2008 6:17 am

Hi

  • Quote

Post by devicepedia » Mon Sep 22, 2008 6:52 pm

I am not sure why they are different, am little confused.
Top
Animal-X®
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 91
Joined: Wed Aug 20, 2003 12:51 pm
Location: São Caetano do Sul - SP - Brasil
Contact:
Contact Animal-X®
Website

Solved !

  • Quote

Post by Animal-X® » Mon Sep 22, 2008 7:36 pm

I remove the portato and pulseaudio daemon start!
Don't ask me....uhauahuah
My machines configuration
Linux User #305281
Top
E001754
Guru
Guru
User avatar
Posts: 442
Joined: Sun Aug 01, 2004 2:04 pm
Location: Paris, France

  • Quote

Post by E001754 » Thu Oct 30, 2008 10:00 pm

For me, it worked only after emerging the utility packages described in the pulseaudio.org site :
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
Top
E001754
Guru
Guru
User avatar
Posts: 442
Joined: Sun Aug 01, 2004 2:04 pm
Location: Paris, France

  • Quote

Post by E001754 » Thu Oct 30, 2008 10:19 pm

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.
Top
Post Reply

16 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic