LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 06-18-2009, 02:12 AM   #1
e280s
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
Problem: slackware: missed additional group "audio" when use slim


Problem:
1. I installed slim login manager on my slack12.2, when user logged into desktop with slim, run command "alsamixer", it greeted an error message:
Code:
alsamixer: function snd_ctl_open failed for default: No such file or directory
2. I have straced the alsamixer, and find that the problem is permissions. I have no permissions on /dev/snd/* and /dev/dsp, etc.
the default permissions just like this:
Code:
crw-rw---- 1 root audio 116,  0 2009-06-18 22:32 /dev/snd/controlC0
3. Now i'm in x-window logged in with slim, and run command "groups" or "id", find that i'm not a member of group "audio".
then i'm logged in from tty console, run "alsamixer", no errors, and run "groups" and "id", the result is : i'm a member of group "audio".

4. the problem is: if use slim, the addtional group audio will missed, but tty not.
I know, if I changed the permissions of the /dev/snd/*, this problem may be solved, but it's not a correct way.

Anyone can tell me why? Thx at first.

solved. add the groups manually.

Last edited by e280s; 06-18-2009 at 02:55 AM.
 
Old 06-18-2009, 02:32 AM   #2
e280s
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Original Poster
Rep: Reputation: 0
the problem like this: via: http://ubuntuforums.org/showthread.php?t=337276#8

Quote:
I had an identical issue, and the fix for me (after a few hours of searching) was, somehow the /etc/group file was modified to remove my username from most of the groups necessary to use the system, such as plugdev, audio, etc. The "backup" file was dated 1/10/2008 and was named /etc/group- (the trailing slash is part of the filename.)

So my fix just was 'sudo mv /etc/group- /etc/group'

To get sudo privledges back, I had to use a live CD to mount my root partition and re-add myself to /etc/sudoers.

I suspect the cause was a package update with an install script typo.
 
  


Reply

Tags
audio, group, slackware, slim


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shouldn't "Slackware64" Become just "Slackware" and 32-bit Become "Slackware32"? foodown Slackware 6 06-23-2009 01:24 PM
problem adding user name with "\" into a group icejam Linux - Software 5 05-12-2006 02:03 AM
Trying to slim it down... "kernel panic" LegendBreath Fedora 3 12-30-2005 12:26 PM
k3b: "error decoding audio tracks" and "could not unlock cd driver" lefty.crupps Linux - Software 7 10-13-2005 11:29 AM
some component missed after using "mandrake update" ??? kix_vn Mandriva 3 01-15-2004 09:06 AM


All times are GMT -5. The time now is 11:08 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration