-   Slackware (
-   -   No sound with Firefox when logged in as user (

GaryR 10-23-2011 10:25 AM

No sound with Firefox when logged in as user

I just upgraded to version 13.37 after many happy years with version 9 ( wireless has gotten much easier :) ).

The problem I'm having is that if I'm logged in as root Firefox has sound, as would be expected. However, if I'm logged in as a user Firefox has no sound.

When logged in as a user, system sounds are working and I'm able to play mp3s, etc.

I've checked the permissions on /dev/dsp and /dev/snd and they're ok. As a user I also belong to the audio and video groups.

This seems like some sort of permission problem so if anyone knows what I've missed or done wrong please let me know.

Thanks very much!

trist007 10-23-2011 11:49 AM

try running this

lsof | grep snd
Check if anything is using the snd device. If the name of the program ends in a 'p' like /dev/snd/pcmC0D0 then that means that snd is currently being used. Simply send a TERMINATE signal to the pid of that process.

kill -TERM pid
Then reload the page in Firefox or restart Firefox, should work then.

onebuck 10-23-2011 11:53 AM


Welcome to LQ!

Which DE or WM in use?

Since your users are in;

users floppy audio video cdrom plugdev power netdev
I would be sure to have ALSA set properly via (alsamixer) then stored via (alsactl store). If KDE then be sure to check systems settings for sound.

Do not forget to get the flashplugin installed, you can use Alien_Bob's flashplayer-plugin/.
You might consider Alien_Bob's KDE Software Compilation 4.6.3.

I have had issue with low sound on some laptops so I have used a software preamp; Low sound volume in Linux?

Two good references SlackwareŽ Essentials & SlackwareŽ Basics.

Just a few links to aid you to gaining some understanding;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Bash Beginners Guide
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Newbie Admin Guide
Utimate Linux Newbie Guide
Linux Home Networking
Virtualiation- Top 10

The above links and others can be found at '
Slackware-Links'. More than just SlackwareŽ links!

EDIT:New package KDE 4.7.2 packages for Slackware.

GaryR 10-23-2011 05:03 PM

Thanks very much for the replies/help.

onebuck - Thank you for the links...I really do need to increase my understanding of what's going on here!

trist007 - I'm ashamed to admit that I came across the solution you suggested while I was googling around yesterday and I thought "Nah, that'll never work" and didn't even try it. Well, you were absolutely correct, that solved the problem...Thanks very much!

All the best,

All times are GMT -5. The time now is 10:42 AM.