[SOLVED] Can't open pavucontrol in xfce - sound not configured
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Rep:
Can't open pavucontrol in xfce - sound not configured
I am trying to open pavucontrol in debian with the xfce desktop.
The error message is:
Code:
Connection to Pulseaudio failed. Automatic retry in 5s
In this case this is likely because PULSE_SERVER in the Environment/X11 Root Windows Properties or default-server in client.conf is misconfigured.
I am having trouble getting sound and configuring the settings.
There is no sound setting in the Settings Manager of xfce.
Also, every time I change alsamixer to my hdmi sound card it keeps going back to the default analog sound card when I exit the program.
How can I access the system settings on the desktop or do I need to change a file setting from the terminal?
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Original Poster
Rep:
My radeon sound card has given me problems with my previous debian install. From this, I've learned some changes I need to make which rectify the problem.
I've done the following:
Ensure etc/apt/sources.list includes 'contrib' and 'non-free'
Ensure /etc/default/grub has 'radeon.audio=1' added:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet radeon.audio=1"
When I open alsamixer from the terminal it defaults to the analog sound card which isn't being used. I need to set the sound card to the radeon hdmi one but don't know how.
There is no sound icon on this xfce DE under system settings!
If the card you want is listed as 1 and the analogue as 0, try creating a file $HOME/.asoundrc to contain
defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1
Then you need to log out and in again. No guarantees, though: Debian sound is a black art. I remember one case where the numbering of the devices could change from boot to boot!
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Original Poster
Rep:
Quote:
Originally Posted by DavidMcCann
If the card you want is listed as 1 and the analogue as 0, try creating a file $HOME/.asoundrc to contain
defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1
Then you need to log out and in again. No guarantees, though: Debian sound is a black art. I remember one case where the numbering of the devices could change from boot to boot!
My previous install on a different partition where the sound is working doesn't have a .asoundrc file.
I have come across some solutions referring to the .asoundrc file. However, since the first install doesn't even have the file, I'm wondering if the answer is somewhere else.
One thing I haven't done is change the system settings for sound on the desktop. But for some reason there is no icon for it on this xfce desktop!
I'm thinking that there must be a problem if the xfce desktop doesn't even have a system setting for sound...
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Original Poster
Rep:
Well, I've got pavucontrol working!
I tried opening pavucontrol from the terminal, and nothing happened.
So I tried installing it again. It installed correctly without saying that the program was already installed.
So the error message for the program must have been due to a broken install.
I can now open the program via desktop and terminal.
Still got no sound though.
My previous install on a different partition where the sound is working doesn't have a .asoundrc file. I have come across some solutions referring to the .asoundrc file. However, since the first install doesn't even have the file, I'm wondering if the answer is somewhere else.
I don't think any distro creates that file by default. It's something you make yourself if you need it in very hands-on distros like Debian, Arch, or Slackware.
The command
aplay -l
should list your devices and confirm which is numbered 0 and which is 1. If the sound card isn't listed, try
cat /proc/asound/modules
to see if the kernel module for it is loaded. If it isn't, then you need to install that from Debian and reboot.
Last edited by DavidMcCann; 01-17-2015 at 10:49 AM.
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Original Poster
Rep:
Quote:
Originally Posted by DavidMcCann
The command
aplay -l
should list your devices and confirm which is numbered 0 and which is 1. If the sound card isn't listed, try
cat /proc/asound/modules
to see if the kernel module for it is loaded. If it isn't, then you need to install that from Debian and reboot.
The hdmi card is listed under 'aplay-l':
Code:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
The problem I'm having is being able to change system settings to default to the hdmi sound card.
But now I'm beginning to wonder if the .asoundrc file will do this anyway.
I'll give it a try.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.