Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
05-01-2006, 06:15 AM
|
#1
|
LQ Newbie
Registered: Apr 2006
Location: Karlstad, Sweden
Distribution: Slackware, Ubuntu
Posts: 3
Rep:
|
RealPlayer: sound as root but not as user
I have a Sony Vaio with Slackware 10.2 and KDE. Sound works when I'm logged in as root; I tried Noatun, Xine (with AIFF and WAV files, haven't tried video files yet), and RealPlayer 10.0.7.785 Gold.
However, RealPlayer has no sound when used by a user. There's no error message when I try to listen to streaming audio, just a total lack of sound. When I try to open a .rm file on the hard disk, RealPlayer says: "Cannot open the audio device. Another application may be using it."
When I first tried RealPlayer it worked (streaming audio) but I used Noatun thereafter, and after that RealPlayer ceased to emit any sounds in user mode. Did Noatun take over some audio device?
|
|
|
05-01-2006, 08:41 AM
|
#2
|
Member
Registered: Apr 2006
Posts: 509
Rep:
|
I see this is your first post.Welcome to the Linux Forums.
I had the same problem initially.All you have to do is to increase the volume in your volume settings,not only the option that says volume but there is a separate volume control even for the speaker.
Each user has his/her own settings so you must change the volume settings for yourself.Just go to the Control Center and you will find your option there.Alternatively you can just go and click on the volume button on the panel.If it is not there right click on the panel and add it.
Hope this helps.
|
|
|
05-04-2006, 09:02 AM
|
#3
|
LQ Newbie
Registered: Apr 2006
Location: Karlstad, Sweden
Distribution: Slackware, Ubuntu
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by gregorian
I see this is your first post.Welcome to the Linux Forums.
I had the same problem initially.All you have to do is to increase the volume in your volume settings,not only the option that says volume but there is a separate volume control even for the speaker.
Each user has his/her own settings so you must change the volume settings for yourself.Just go to the Control Center and you will find your option there.Alternatively you can just go and click on the volume button on the panel.If it is not there right click on the panel and add it.
Hope this helps.
|
I assume you mean the sound level in KDE? Well, the loudspeaker in the panel was at 100 %, and sound worked for other applications. I clicked on the volume control (which I had already put a bit to the right of zero) a few times, but still no sound when RealPlayer did streaming audio. Then, suddenly, streaming audio sound worked, but playing .rm files just produced the device message that I quoted earlier.
The other day I found the solution: I went to the KDE Control Center: Sound & Multimedia: Sound System, and found Auto-suspend. The default there is 60 seconds. So whenever a KDE application has made some sound, the KDE sound system hangs on to the audio hardware for 60 seconds. (I guess that when RealPlayer suddenly started to emit sounds, the 60 second limit had passed.) I put that at 7 seconds, which is probably enough for most purposes. Playing .rm files works as well.
:-)
|
|
|
05-04-2006, 09:51 AM
|
#4
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,201
|
Volume might be the problem, but it is also possible that there is a permissions issue.
Try ls -l /dev/sound/audio/*. (Your system may vary.) This will show you a list of the audio devices. They appear here as files... with an owner (root), a group, and some permissions ("-rw-r-----" or somesuch). If your userid does not have permission to read/write this device, it can't do sound.
The solution to the problem, if it turns out to be this, has to do with obscurities called "udev." So, first check to see if this is the problem.
|
|
|
05-07-2006, 05:30 AM
|
#5
|
LQ Newbie
Registered: Apr 2006
Location: Karlstad, Sweden
Distribution: Slackware, Ubuntu
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by sundialsvcs
Volume might be the problem, but it is also possible that there is a permissions issue.
Try ls -l /dev/sound/audio/*. (Your system may vary.) This will show you a list of the audio devices. They appear here as files... with an owner (root), a group, and some permissions ("-rw-r-----" or somesuch). If your userid does not have permission to read/write this device, it can't do sound.
The solution to the problem, if it turns out to be this, has to do with obscurities called "udev." So, first check to see if this is the problem.
|
loerne@auld:/dev/sound$ ls -l
total 0
crw-rw--w- 1 root audio 14, 4 2006-04-20 22:28 audio
crw-rw--w- 1 root audio 14, 3 2006-04-20 22:28 dsp
crw-rw--w- 1 root audio 14, 0 2006-04-20 22:28 mixer
The audio bit is OK (I think). I made my user account part of the group audio two weeks ago.
Sound works now.
|
|
|
All times are GMT -5. The time now is 06:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|