LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-16-2017, 02:39 AM   #1
luofeiyu
Member
 
Registered: Aug 2015
Posts: 220

Rep: Reputation: Disabled
How to fix my pulseaudio?


No sound on my pc.
My pulseaudio was installed this way.
Code:
sudo apt-get -t jessie-backports install pulseaudio-utils libpulse0 libpulsedsp
ls  /usr/lib/x86_64-linux-gnu/pulseaudio
libpulsecommon-7.1.so  libpulsedsp.so
Here is my config file.

cat ~/.config/pulse/client.conf
Code:
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

## Configuration file for PulseAudio clients. See pulse-client.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.

; default-sink =
; default-source =
; default-server =
; default-dbus-server =

; autospawn = yes
; daemon-binary = /usr/bin/pulseaudio
; extra-arguments = --log-target=syslog

; cookie-file =

; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB

; auto-connect-localhost = no
; auto-connect-display = no
Code:
pulseaudio  --start
bash: pulseaudio: command not found
How to fix my pulseaudio?
 
Old 06-16-2017, 03:44 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861
Quote:
Originally Posted by luofeiyu View Post
No sound on my pc.
My pulseaudio was installed this way.
Code:
sudo apt-get -t jessie-backports install pulseaudio-utils libpulse0 libpulsedsp
ls  /usr/lib/x86_64-linux-gnu/pulseaudio
libpulsecommon-7.1.so  libpulsedsp.so
I'm not sure I understand this. Why did you install pulseaudio-utils, libpulse0, and libpulsedsp but not the core package pulseaudio itself?

Can you give some background as to what distro you're running and why you installed the pulseaudio components in this way? Jessie should have pulseaudio in its normal repos.
 
Old 06-16-2017, 12:15 PM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Xubuntu
Posts: 5,314

Rep: Reputation: 1824Reputation: 1824Reputation: 1824Reputation: 1824Reputation: 1824Reputation: 1824Reputation: 1824Reputation: 1824Reputation: 1824Reputation: 1824Reputation: 1824
I'd second the last post, but I'd also add:
1. Have you tried the sound configuration tool that most distros have somewhere in the menu? Sometimes the problem is as simple as the volume being set to zero by default (yes, really!)
2. Pulseaudio, once installed, is best handled by using the tool pavucontrol.

If you have further trouble,
1. What does
Code:
aplay -l
reveal? If you have more than one sound device (e.g. mother board and video card), is it showing the desired one as "card 0" ?
2. What modules are loaded?
Code:
cat /proc/asound/modules
Is the one you need there?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bypass pulseaudio problems and crashes when you don't have pulseaudio. Rinndalir Linux - Software 1 08-31-2016 01:00 PM
[SOLVED] Can't fix Pulseaudio muting sound at boot. yzT! Linux - Newbie 5 11-20-2013 05:01 PM
[SOLVED] Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash mad4linux Debian 1 01-26-2011 03:57 AM
Winecfg crashes on sound tab with Pulseaudio and no 'sounddrivers' without pulseaudio William (Dthdealer) Linux - Software 5 06-13-2010 07:30 AM
LXer: How To Fix The Sound Issues Between Skype 2.0 And Pulseaudio On Fedora 9 LXer Syndicated Linux News 0 06-02-2008 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration