LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-01-2005, 12:59 PM   #1
farpoint
Member
 
Registered: Sep 2004
Location: France
Distribution: Debian Sarge, Etch. FC1,2,3,4,5. Slackware 10.0. Gentoo. Kubuntu.
Posts: 193

Rep: Reputation: 30
sound as user permissions problem


Hi folks. I'm still having problems with permissions. I've got the one Debian install working ok, which is Woody upgraded to Sarge, and still on testing repo and going into Etch territory. I've got the permissions ok on this for using sounds as user, but can't remember what I did.Lol. I've just upgraded another Woody install to Sarge. This one I'm gonna keep on the stable repo, but can't get user access to the sounds. If I log in to KDE as root everything works ok, so theres nothing wrong with the apps. I've tried useradd user_name audio, and useradd user_name sound, but no go. /etc/group shows an entry for my user name, for audio, but none for sound. I'm using the 2.4.27 kernel with Alsa 1.08 and 2.6.8 kernel with Alsa 1.04 which I'll make a quick trip to the testing repo to upgrade it to the 2.6.11 kernel soon, as it has Alsa 1.08. As important as permissions are, I'm finding them a bit of a nightmare to work with. Any help appreciated to get sounds working as user. Nigel. aka farpoint.
 
Old 07-02-2005, 08:45 AM   #2
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
I've outlined a few steps in this post that might help:
http://www.linuxquestions.org/questi...44#post1676444
 
Old 07-02-2005, 08:56 AM   #3
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
If that does not help, in KDE, you have utilities to get the different users (in KDE 3.3, at least)

belong to any group you want. It's a GUI utility, it's easy to find and use. You can modify anything

you want with it.

cheers
 
Old 07-02-2005, 01:42 PM   #4
farpoint
Member
 
Registered: Sep 2004
Location: France
Distribution: Debian Sarge, Etch. FC1,2,3,4,5. Slackware 10.0. Gentoo. Kubuntu.
Posts: 193

Original Poster
Rep: Reputation: 30
Hi uberNUT69. Thanks for the help. The usermod command has fixed it. One last academic question. When I log-in as root the KDE test sound plays, but no test sound when logging in as user. On Slackware 10.0 before I installed the Ausioslack kernel with Alsa support, the KDE test sound worked when logging in as user or root. After installing the AS kernel and alsa, the test sound only plays when logging in as root. Just out of interest I'd like to know where permissions need to be set for the KDE test sound, as no doubt this affects other system sounds as well.

Thanks also to samae126 for Kuser.

Nigel.aka.farpoint
 
Old 07-02-2005, 11:25 PM   #5
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
Although it would appear to make sense to login to an X session using root for debugging purposes, I would strongly recommend that you DON'T! Various files will earn root ownership that will not be removed, and from then on your user(s) may not be able to access those files.

I bring this up as it's possible that there is something in your home directory owned by root. You can find these files with:
$ls -laLR | grep root
I'm pretty sure there is no exception to the rule that everything in your home directory should be owned by your user (and the group that user belongs to). Change your ownership with:
#chown user:group filename

Back to the issue at hand. You say sound is working, but not kde system sounds ... hmmm ... so you can play, say, an audio file in xmms or noatun? If you go into your control centre and try to set system sounds does pressing the 'test' button work?

I'm not sure I've given you an answer, but somewhere to start at least
 
Old 07-03-2005, 06:53 AM   #6
farpoint
Member
 
Registered: Sep 2004
Location: France
Distribution: Debian Sarge, Etch. FC1,2,3,4,5. Slackware 10.0. Gentoo. Kubuntu.
Posts: 193

Original Poster
Rep: Reputation: 30
Hi, Thanks for the reply, and the warning about logging into X as root. As long as the Arts soundserver is started, Noatun,XMMS, etc play ok. Jack starts ok, and I can play along to tunes playing with Noatun with Zynaddsubfx running thro Alsa and Qjackctl's midi connect bay. So basically there's nothing wrong with the system for the audio work I want to do. The test sound plays ok, but just doesn't autoplay when KDE opens as user. All files and directories are for user in /home, so no problems there. As I said, I'm not really bothered about system notification sounds not working, in fact it is much more relaxing than when I used to use Windoze, with continual plinks, plunks and all sorts of other sounds at every wrong press of a key. I'll have a good read at the help pages for system notification settings as it would be nice to get some sounds out of Kopete. Thanks again for the help. Nigel. aka farpoint.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Help Please - Sound problem with permissions hnad Slackware 9 04-06-2009 10:34 AM
user permissions mark_alfred Debian 7 09-10-2005 08:18 PM
Very Weird Sound Problem....Permissions? rm6990 Fedora 2 08-12-2004 05:17 AM
sound device permission problem as user matjazk Slackware 5 01-31-2004 03:34 PM
User No Sound - Browser Plugin problem? notAslacker Slackware 3 08-07-2003 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:38 PM.

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