LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   No sound with Firefox when logged in as user (http://www.linuxquestions.org/questions/slackware-14/no-sound-with-firefox-when-logged-in-as-user-909660/)

GaryR 10-23-2011 09:25 AM

No sound with Firefox when logged in as user
 
Hi,

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 10:49 AM

try running this
Code:

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.
Code:

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

onebuck 10-23-2011 10:53 AM

Hi,

Welcome to LQ!

Which DE or WM in use?

Since your users are in;
Quote:

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;



1
Linux Documentation Project
2
Rute Tutorial & Exposition
3
Linux Command Guide
4
Bash Beginners Guide
5
Bash Reference Manual
6
Advanced Bash-Scripting Guide
7
Linux Newbie Admin Guide
8
LinuxSelfHelp
9
Utimate Linux Newbie Guide
10
Linux Home Networking
11
Virtualiation- Top 10

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

HTH!
EDIT:New package KDE 4.7.2 packages for Slackware.

GaryR 10-23-2011 04: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,
gary


All times are GMT -5. The time now is 11:03 PM.