Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Lucid Pulseaudio Connection Refused

  1. #11
    Join Date
    Jun 2006
    Location
    USA
    Beans
    151
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Lucid Pulseaudio Connection Refused

    Quote Originally Posted by afrodeity View Post
    Hello Skaramanger,

    While you were gone, I found a workaround, but not sure exactly why it is working and sound stability still not 100% because alsa wineserver

    Sorry can't help with wineserver.

    sound is still quitting a lot when I play wine games but at least I can listen to music, and all my audio players work.

    I made an /etc/asound.conf file and put this in:

    Code:
    pcm.pulse {
        type pulse
    }
    ctl.pulse {
        type pulse
    }
    pcm.!default {
        type pulse
    }
    ctl.!default {
        type pulse
    }
    I have the same except I have commented mine out. Could that I have USB sound.

    Here is the information you requested:

    Code:
    aptitude search pulseaudio | grep ^i
    i   gstreamer0.10-pulseaudio        - GStreamer plugin for PulseAudio           
    i   libsdl1.2debian-pulseaudio      - Simple DirectMedia Layer (with X11 and Pul
    i   pulseaudio                      - PulseAudio sound server                   
    i   pulseaudio-equalizer            - PulseAudio Equalizer - LADSPA plugin graph
    i   pulseaudio-esound-compat        - PulseAudio ESD compatibility layer        
    i   pulseaudio-module-bluetooth     - Bluetooth module for PulseAudio sound serv
    i   pulseaudio-module-gconf         - GConf module for PulseAudio sound server  
    i   pulseaudio-module-x11           - X11 module for PulseAudio sound server    
    i A pulseaudio-module-zeroconf      - Zeroconf module for PulseAudio sound serve
    i   pulseaudio-utils                - Command line tools for the PulseAudio soun
    I have exactly what you have installed except for the pulsasudio-equalizer - for LADSPA. You may want to try and adjust the equalizer. Otherwise I don't know if I can much help. Just post here if you find an answer.

    Skaramanger
    M2N-SLI with AMD Phenom II X4 940 8GB of 400Mhz 128bit DDR2 RAM, an Evga GTX560ti Video card Phoenix Bios Rev. 5001

    Kubuntu 12.10 (do-release-upgrade)

  2. #12
    Join Date
    Dec 2009
    Beans
    12

    Smile Re: Lucid Pulseaudio Connection Refused

    Quote Originally Posted by afrodeity View Post
    neither command works for me after last round of updates.

    Code:
    pulseaudio --start
    E: main.c: Daemon startup failed.
    afrodeity@afrodeity-desktop:~$ start-pulse-x11
    start-pulse-x11: command not found
    I had a problem like this.

    mplayer *.mp3*
    -- cut --
    shm_open() failed: Permission denied
    AO: [pulse] Init failed: Connection refused
    Failed to initialize audio driver 'pulse'
    shm_open() failed: Permission denied
    shm_open() failed: Permission denied
    -- cut --

    $ pulseaudio --start
    E: main.c: Daemon startup failed.

    $ pulseaudio
    E: shm.c: shm_open() failed: Permission denied
    W: core.c: failed to allocate shared memory pool. Falling back to a normal memory pool.
    E: module-console-kit.c: GetSessionsForUnixUser() call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /lib/dbus-1.0/dbus-daemon-launch-helper: Success
    E: module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed.
    E: main.c: Module load failed.
    E: main.c: Failed to initialise daemon.
    $

    $ ls -al /lib/dbus-1.0/dbus-daemon-launch-helper
    -rwsr-xr-- 1 root scanner 47528 2011-07-22 20:05 /lib/dbus-1.0/dbus-daemon-launch-helper
    $ /lib/dbus-1.0/dbus-daemon-launch-helper
    bash: /lib/dbus-1.0/dbus-daemon-launch-helper: Permission denied
    $ sudo chmod a+x /lib/dbus-1.0/dbus-daemon-launch-helper
    $ /lib/dbus-1.0/dbus-daemon-launch-helper
    dbus-daemon-activation-helper service.to.activate
    $
    $mplayer *.mp3*
    Starting playback...
    A: 224.8 (03:44.8) of 225.0 (03:45.0) 0.4%


  3. #13
    Join Date
    Mar 2011
    Beans
    4

    Re: Lucid Pulseaudio Connection Refused

    Remove .pulse folder in your home directory and let PulseAudio recreate it by running:

    pulseaudio --start

    This fixed it 100% for me

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •