LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 03-27-2003, 03:16 AM   #1
iancork01
LQ Newbie
 
Registered: Mar 2003
Posts: 3

Rep: Reputation: 0
Talking Only Sound when logged in as Root


Hi Everyone,
I'm experiencing sound problem on Linux 8.0.
Sound works fine when logged in as root but no luck when logged in as general user.

The sound card is AC'97.
Anyone have any ideas?
 
Old 03-27-2003, 03:53 AM   #2
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
from my own experience...
with mandrak 9
you have to enable the sound thing in both gnome and kde and enlightenment
it is set to off by default

look in various menus for Sound
 
Old 03-27-2003, 07:32 AM   #3
0x0001
Member
 
Registered: Sep 2002
Distribution: Slackware 8.1
Posts: 84

Rep: Reputation: 15
Usually sound is written to /dev/dsp. Maybe generic users have no write permission to /dev/dsp.

just a thought
 
Old 03-27-2003, 07:36 AM   #4
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
adduser iancork01 audio
 
Old 03-27-2003, 08:36 AM   #5
syngin
LQ Newbie
 
Registered: Mar 2003
Posts: 2

Rep: Reputation: 0
how can you then give a user access to /dev/dsp?
whats the command?
 
Old 03-27-2003, 04:36 PM   #6
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
did you add yourself to the audio group?
 
Old 03-27-2003, 06:59 PM   #7
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464

Rep: Reputation: 52
Yes, certainly I would say permissions.

In redhat there is a file called /etc/security/console.pems which sets up permissions and ownship for many files and devices upon boot. You would have to modify this file. Perhaps there is a GUI will do this for you, but that I could not help you with. There is no better tool than vi :-)

In suse (PPC 7.3, i386 8.0) a similar file is called /etc/permissions.

You neglected to say what distribution you used, or whether you built your own uniquely. Such information can be helpful.

You may or may not have an audio group, which will help control usage, the versions of Suse I use have one, my RH 7.3 does not. All you must do is make sure that the general user has permission to write to /dev/dsp. Note that /dev/dsp in Suse appears to be a link to /dev/dsp0 (and as such the pertinent file to check) while on my RH system /dev/dsp is the real device.

Last edited by fsbooks; 03-27-2003 at 07:05 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Logged in as root, prompted for root password ta0kira Slackware 13 04-25-2005 01:29 AM
wolf et needs to be logged in as root for sound (permission issue) dr_unpleasant Linux - Software 0 07-17-2004 02:26 PM
kde much slower to start when logged in as alan than logged in as root arubin Slackware 0 04-26-2004 04:27 PM
Sound works when logged in as GUI root bmike1 Linux - Hardware 11 08-19-2003 09:32 PM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration