Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I have red hat 8.0 installed on my AMD board 256megs of ram, and a 950 duron processor. I have installed the flash/shockwave patch and I can vierw those types of web pages, but there is no sound. I can, however, hear all other types of sounds; Gaim, system sounds, mp3's, movies...etc but now web sites will have any sound. I am using mozilla to browse.
I have the Mozilla Flash plugin and I have the stand alone Flash player. (gflashplayer) Both would play flash animations, neither would play sound. It was driving me bonkers.
The solution was for me to:
1) su
2) cd /dev/snd
3) chmod 666 pcm*
I found this out because sound would play for the root user but not for a normal user, and because the solution is very similar to an old 'no sound' fix for older versions of Slackware.
Sound and Flash work great now!
Keep in mind that this is written specifically about Slackware 9.1 (and it's ALSA sound setup). If you are having the same problem but are using a different distribution, you may need to tweak the solution. Good luck!
Dave
=================
Slackware 9.1
Transmeta Crusoe - Fujitsu P2110 notebook
Firefox 0.8 / Mozilla 1.5
ALSA sound (default in Slackware 9.1)
Flash plugin and player 6v79
The above trick also seems to work for old OSS with the difference of course that you should chmod 666 /dev/dsp0 (or whatever your dsp device is). I had the same problem with Slackware 9.1 and OSS, but now it works. You could try that (I'm not sure if Flash can use ESD at all?)
Chmod is obviously not the best possible solution because of potential security risks involved. What also seems to work is joining desired users to group sys (edit /etc/group and add appropriate usernames separated by comma to the line that says "sys::3:root,bin,adm"). That way you don't have to touch the permissions of /dev/dsp?.
An even better way to do this is to use PAM. The /etc/security/console.perms file shows what devices the console user inherits over device files, so that the physical console user gets to use floppies, CD's, etc. Add /dev/snd to this list (it should be pretty apparent how when you look at the file, or use the man pages). When the user logs out, the ownership can be set to revert to, for example, a mode of 600 owned by root.root.
There is no /etc/security/console.perms in slackware and I have no idea how PAM works in it Furthermore it causes problems. Consider this:
You don't use graphical login program (xdm, gdm, kdm or whatever) but instead you login via text console.
You have an autologout feature on your shell enabled and you start X (which will result in console-session being closed after a specified time since you're most likely not using the console anymore) OR you like to close the console manually after starting X.
What will happen is that once the autologout kicks in or you log out, you also lose your ownership on the device files and they stop working for you. I remember this being a problem for me when I was using RedHat. It's a matter of taste to some extent of course...
Another potential problem with this approach is that since only one user can own the devices at a time, only one user can access them at a time (at least I think so, correct me if I'm wrong). If you have several user accounts on your machine and you use them for different tasks, it could become really annoying...
It would also be possible to have /etc/login.defs to add the user to a number of groups upon login (like floppy, cdrom and whatever). This doesn't seem to be a problem with autologout/logout as the user will remain a member of these groups even if the original console is closed. At the moment this is the approach I'm using.
Hello. I'm having trouble with mozilla and flash animations. THe sound does not work. I got the latest Mozilla (1.7) on RH9, and just figured out how to get the Flash to work. However, there is no sound. At this point, I'm stuck. Help?
I have the same problem... but in suse 9.0. I really can't figure out why mozilla 1.4 even realplayer8 don't play sounds, but the image is very well. I'm sure now, that's not a problem with file permissions, because I can't hear the sound even if I'm logged as root.
Can you hear sounds from any program? Have you checked your mixer settings? At least slackware leaves sound levels to zero by default when using alsa (silly...)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.