LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Log Out & sound server (https://www.linuxquestions.org/questions/linux-newbie-8/log-out-and-sound-server-73926/)

badboyz2525 07-18-2003 04:40 PM

Log Out & sound server
 
i've had debian 3.0 rev1 loaded on my computer for a few days now and seems to be working fine. with the exception of the sound server.

message:
sound server informational message

error while initializing the sound server
device / dev/dsp cant be opened (permission denied)

the sound server will continue,useing the null output device

Is this a package that is not working or my sound card? and how to fix?

i have only installed the basic packages including x server,sound server,file server,unix server web server,and c+

dos'nt look like i have any multimedia packages installed

in menu: preferences/sound/ none of the packages seem to put out any audio


2nd

Log Out
If i log out from the kde desktop it takes me to a log in screen and dos'nt give me a option to shut down. If i turn off my comp.its an unclean mounting

iIf I go to the root konsole and poweroff with -i or -f i loose all my preferences in kde.

Log off HOW?

Thanks
Mark

MasterC 07-26-2003 04:56 AM

2. I've got no idea...

1. This is the normal message when a user doesn't have permissions to access the soundcard. There are a multitude of options on setting up permissions for access, and I prefer the one that seems most secure to me.

First up:
create a group called sound (as root):
groupadd sound
Add your user to that group:
usermod -G sound (I believe, see man usermod for more info)
And then own the device to that group:
chown /dev/dsp /dev/mixer /dev/audio root.sound
And make sure group sound has permissions to use the device (I believe w and x are what they need, this is all from memory, my appologies if you have to tinker a bit ;) ):
chmod 730 /dev/dsp /dev/mixer /dev/audio

And test. See if it works now.

If not, you may have to tinker with the permissions a bit, it might be w and x, or if you aren't too concerned you could always:
chmod 770
Instead ;)

Cool


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