<---- template headericclude ----->
fedora 8 & pulse audio - nonroot users have no sound
FedoraForum.org - Fedora Support Forums and Community
Page 1 of 10 123 ... LastLast
Results 1 to 15 of 136
  1. #1
    Join Date
    Aug 2006
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    fedora 8 & pulse audio - nonroot users have no sound

    im puzzled anyone else have the same issue?
    High! /wave :D

  2. #2
    Join Date
    Jun 2007
    Location
    Czech republic
    Posts
    183
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For me the pulse audio doesn't work too.

    Pulse audio volume control application crashes during startup, each aplication using ALSA driver crashes when I want to start playing sound, ...

    Someone told me to remove alsa-plugins-pulseaudio package and enable ESD - I've done it but nothing changed.

  3. #3
    Join Date
    Aug 2006
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    pulse audio works fine as root just not as non-root users
    High! /wave :D

  4. #4
    scottro's Avatar
    scottro is offline Retired Community Manager -- Banned from Texas by popular demand.
    Join Date
    Sep 2007
    Location
    NYC
    Posts
    8,120
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sigh, sound. I'll just say, remember, Fedora is considered a bleeding edge distro. Yeah, it should Just Work(TM) but when I get ticked, I tell myself, well, it's not one of those distros that aims to try to be an MS replacement.

    Personally, I feel that even ALSA was an answer to a question no one asked, but, that's a rant for a different day. OSS worked with less effort.

    Anyway, here is my experience. Firstly, sound has been broken for some people as non-root for awhile. The usual solution, leaving pulseaudio out of the equation, is to edit /etc/security/console.perms.d/50-whatever it's called, and add

    <sound>=/dev/dsp* /dev/snd/*

    Then, at the bottom add

    <console> 0666 <sound> 0600 root

    This fixes the non-root issue if pulseaudio isn't involved.

    My own experience was that if I removed the alsa-plugins-pulseaudio my other problems went away. If I had it in, I could only use mplayer in X, not in console. Also, in X, before using it, I had to run

    pulseaudio &
    in an xterm.

    I didn't google very much for it, I was too aggravated, and it's one of those things that I feel should just work. Most of this was trial and error.
    I should add that for someone else, removing the alsa-plugins-pulseaudio didn't help--I found it as a solution with a quick google, tried it, and it worked for me.

    YMMV (Your mileage may vary) with both of these solutions.

  5. #5
    cr4ck3r Guest
    I can use PulseAudio just fine, as normal user.
    Please refer to this http://www.pulseaudio.org/wiki/PerfectSetup
    Btw, I'm still using F7

  6. #6
    scottro's Avatar
    scottro is offline Retired Community Manager -- Banned from Texas by popular demand.
    Join Date
    Sep 2007
    Location
    NYC
    Posts
    8,120
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I see the wiki notes that *distributors* are encouraged to do that.


    Hrrm, looks like a heck of a lot more work for me than simply

    yum remove alsa-plugins-pulseaudio.

    Just doing that enables me to see things on youtube and play my music or movies in mplayer. My needs are simple.

  7. #7
    Join Date
    Jun 2007
    Location
    Czech republic
    Posts
    183
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by cr4ck3r
    I can use PulseAudio just fine, as normal user.
    Please refer to this http://www.pulseaudio.org/wiki/PerfectSetup
    Btw, I'm still using F7
    Really perfect setup description!
    Problem was in my out of date /etc/asound.conf file, where I had:
    Code:
    defaults.pcm.card 0
    defaults.pcm.device 2
    defaults.ctl.card 0
    ..., but there should be:
    Code:
    pcm.!default {
        type pulse
    }
    ctl.!default {
        type pulse
    }
    Thanks for your help. Pulse audio is fantastic!

  8. #8
    Xenofex Guest
    Quote Originally Posted by scottro
    I see the wiki notes that *distributors* are encouraged to do that.


    Hrrm, looks like a heck of a lot more work for me than simply

    yum remove alsa-plugins-pulseaudio.

    Just doing that enables me to see things on youtube and play my music or movies in mplayer. My needs are simple.
    I removed alsa-plugins-pulseaudio, too. And it worked. But after I restart my system, non-root users become silent again. And that package is indeed removed. What can I do?

  9. #9
    Join Date
    Jun 2004
    Location
    Perth, Western Australia
    Age
    47
    Posts
    1,464
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please keep this bumped and correct me if I'm wrong.

    <mwiriadi> root can hear sound
    <mwiriadi> non-root can't
    <zcat> the pulseaudio hal plugin didn't pick the right default device.
    <mwiriadi> How do you fix it then
    <mwiriadi> run system-config-soundcard again?
    <zcat> only two ways i way able to fix it: 1) specify the default device by editing /etc/pulse/default.pa 2) disabling onboard sound in BIOS so that it COULDNT get the order wrong.
    <zcat> went with #2
    <zcat> s/way /was /

    I also got it to work by system-config-sound.
    System-> Preferences -> Hardware -> Sound and selecting ESD
    Also make sure all devices say Pulse Audio.
    Make sure your Avahi-Daemon is on from default. System-config-services
    Applications -> Sound & Video -> Pulse Audio audio changing thingos in there as well.

    Some of those and most of those will fix the issue. If you have an .asoundrc move it to test whether it picks it up properly
    - Helping New Users
    Fedora Solved

    - How to pay forward
    Fedora Help Wanted

    - Need a quick guide
    Fedora Guide

  10. #10
    Join Date
    Dec 2005
    Location
    Michiana
    Age
    39
    Posts
    133
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I initially had no sound on my F8 system, until I turned the speaker volume and all the volume sliders in KMix to 100%. But even then, it is really quiet.
    I'm a proud member of the Online Campaign for Real English. If you believe in capital letters, correct spelling and good sentence structure, then copy this into your signature.

  11. #11
    scottro's Avatar
    scottro is offline Retired Community Manager -- Banned from Texas by popular demand.
    Join Date
    Sep 2007
    Location
    NYC
    Posts
    8,120
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, I tried making the changes to asound.conf with no joy. On the other hand, as removing the alsa-plugins works for me, I'll probably leave it alone at present. If it is something that affects a lot of people, they'll fix it, if it is something that only affects me, then shucks, I have my workaround. Maybe it's the fact that I'm an old guy, but for me, as long as I have sound, I'm happy, I'm not too concerned about getting that last nth of quality from it.

  12. #12
    Xenofex Guest
    I've got some new paces. I added my normal user into root group. And now I'm able to start pulseaudio manually via pulseaudio -D. And I can hear sound in my normal user. But system wide daemon still can't start. pulseaudio --system doesn't work.

    The reason why I added the normal user into root group is that /dev/dsp1 belongs to root group. And only the group members and the owner can read and write it, while others are unable to access to it. I can chmod /dev/dsp1, but it change back every login. When typing pulseaudio --system, I see some device, probably my sound card is not accessable. This happens when I use pulseaudio -D before I add the normal user into root group, too. So, user pulse is added to the root group, too. But other errors took place:

    [root@localhost ~]# pulseaudio --system
    W: main.c: Warning: home directory of user 'pulse' is not '/var/run/pulse', ignoring.
    No protocol specified
    E: x11wrap.c: XOpenDisplay() failed
    E: module.c: Failed to load module "module-x11-publish" (argument: ""): initialization failed.
    E: main.c: Module load failed.
    E: main.c: failed to initialize daemon.

    Can someone help?

  13. #13
    Join Date
    Jun 2004
    Location
    Perth, Western Australia
    Age
    47
    Posts
    1,464
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I still think you are going to far. I have working audio on my system as a user and I can't even do what you have done.

    [marc@strikeforce SPECS]$ ls -lh /dev/dsp
    crw-rw----+ 1 root root 14, 3 2007-11-07 12:47 /dev/dsp
    [marc@strikeforce SPECS]$ pulseaudio --system
    E: main.c: Root priviliges required.

    So thats a non-issue.

    Code:
    [marc@strikeforce SPECS]$ rpm -qa | grep pulse
    pulseaudio-esound-compat-0.9.7-0.17.svn20071017.fc8
    pulseaudio-module-x11-0.9.7-0.17.svn20071017.fc8
    pulseaudio-libs-zeroconf-0.9.7-0.17.svn20071017.fc8
    pulseaudio-core-libs-0.9.7-0.17.svn20071017.fc8
    pulseaudio-libs-0.9.7-0.17.svn20071017.fc8
    pulseaudio-utils-0.9.7-0.17.svn20071017.fc8
    gstreamer-plugins-pulse-0.9.5-0.4.svn20070924.fc8
    pulseaudio-0.9.7-0.17.svn20071017.fc8
    pulseaudio-module-lirc-0.9.7-0.17.svn20071017.fc8
    pulseaudio-module-gconf-0.9.7-0.17.svn20071017.fc8
    alsa-plugins-pulseaudio-1.0.14-5.fc8
    pulseaudio-module-zeroconf-0.9.7-0.17.svn20071017.fc8
    pulseaudio-libs-glib2-0.9.7-0.17.svn20071017.fc8
    As I put in my previous post all the settings I have done there as well.

    [root@strikeforce mock]# chkconfig --list avahi-daemon
    avahi-daemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off

    Do you have padevchooser, pavucontrol, paprefs and paman?
    - Helping New Users
    Fedora Solved

    - How to pay forward
    Fedora Help Wanted

    - Need a quick guide
    Fedora Guide

  14. #14
    Xenofex Guest
    Quote Originally Posted by strikeforce
    I still think you are going to far. I have working audio on my system as a user and I can't even do what you have done.

    [marc@strikeforce SPECS]$ ls -lh /dev/dsp
    crw-rw----+ 1 root root 14, 3 2007-11-07 12:47 /dev/dsp
    [marc@strikeforce SPECS]$ pulseaudio --system
    E: main.c: Root priviliges required.

    So thats a non-issue.

    Code:
    [marc@strikeforce SPECS]$ rpm -qa | grep pulse
    pulseaudio-esound-compat-0.9.7-0.17.svn20071017.fc8
    pulseaudio-module-x11-0.9.7-0.17.svn20071017.fc8
    pulseaudio-libs-zeroconf-0.9.7-0.17.svn20071017.fc8
    pulseaudio-core-libs-0.9.7-0.17.svn20071017.fc8
    pulseaudio-libs-0.9.7-0.17.svn20071017.fc8
    pulseaudio-utils-0.9.7-0.17.svn20071017.fc8
    gstreamer-plugins-pulse-0.9.5-0.4.svn20070924.fc8
    pulseaudio-0.9.7-0.17.svn20071017.fc8
    pulseaudio-module-lirc-0.9.7-0.17.svn20071017.fc8
    pulseaudio-module-gconf-0.9.7-0.17.svn20071017.fc8
    alsa-plugins-pulseaudio-1.0.14-5.fc8
    pulseaudio-module-zeroconf-0.9.7-0.17.svn20071017.fc8
    pulseaudio-libs-glib2-0.9.7-0.17.svn20071017.fc8
    As I put in my previous post all the settings I have done there as well.

    [root@strikeforce mock]# chkconfig --list avahi-daemon
    avahi-daemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off

    Do you have padevchooser, pavucontrol, paprefs and paman?
    I do have padevchooser, pavucontrol, paprefs and paman. And these are only setup tools.

    I don't want to go such far if don't I have no sound!

    I see your /dev/dsp belongs to the root group as well. But you got sound. So, something may happen to my pulseaudio daemon. It can not start.

    And besides, Is there any way to drive the sound card by not using pulseaudio? I tried to uninstall pulseaudio and got nothing. Is there anything else I can do? Or just reinstall all the stuff relates to sound card and re-setup them? What packages should I reinstall?

  15. #15
    Join Date
    Jun 2004
    Location
    Perth, Western Australia
    Age
    47
    Posts
    1,464
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You would need to install pulse audio all over again. All the packages listeded help. Your issue is a setup it's nothing else.
    - Helping New Users
    Fedora Solved

    - How to pay forward
    Fedora Help Wanted

    - Need a quick guide
    Fedora Guide

Page 1 of 10 123 ... LastLast

Similar Threads

  1. Pulse Audio Sound Card per Application
    By NoOneElse in forum Using Fedora
    Replies: 1
    Last Post: 20th May 2010, 04:16 PM
  2. Multi User Sound Fedora 10 w/Pulse Audio?
    By ottoguy in forum Using Fedora
    Replies: 4
    Last Post: 13th November 2009, 10:13 AM
  3. F10 Bluetooth Audio + Pulse == pulse crashes.
    By fwelland in forum Hardware
    Replies: 2
    Last Post: 7th February 2009, 02:07 PM
  4. Fedora 8, Pulse Audio, 2 Audio Cards
    By Alex Lang in forum Using Fedora
    Replies: 5
    Last Post: 24th January 2008, 10:05 PM
  5. Fedora 7 vs 8 and KDE nonroot sound
    By jaa in forum Using Fedora
    Replies: 1
    Last Post: 4th January 2008, 11:25 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]