LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-08-2006, 09:05 AM   #1
Gault LaRue
Member
 
Registered: Jul 2005
Location: Columbia, MD
Distribution: Slackware 10.2 / 11.0 / 12.0
Posts: 38

Rep: Reputation: 15
No sound unless root in 10.2


Hello all,

When I log into the console (KDE, run level 4) as root, I have sound. When I log in to the console as someone else, I don't have sound.

I know there are a number of threads here that propose one answer to this problem as simply adding each user to the "audio" group. But I see in /etc/login.defs that a person who logs into the console should automatically be made a member of the "floppy", "audio", "video", etc. groups ala the CONSOLE_GROUPS setting. I like this approach and would like to figure out why it isn't working for me.

I see that the CONSOLE variable points to the /etc/securetty file, which contains the names of seven ttys that are tied to the console. If I log in at run level 3, I obtain one of these consoles (tty1) and if I type "id", I see I am a member of the CONSOLE_GROUPS as desired. Running "startx" at this point fires up KDE, and upon opening any terminal window there and typing "id" again, I am still a member of said groups, even though my new terminal window is something like /dev/pts/1.

So things work fine if I start the system at run level 3, log in as a normal user, and then startx. Typing "ps -eaf | grep tty" shows a bunch of my processes tied to the desired ttys.

If I automatically boot into run level 4 and log in as a normal user, typing "ps -eaf | grep tty" doesn't show anything tied to a desired tty (except root's /sbin/agetty).

Thanks for any assistance in getting CONSOLE_GROUPS to work for me!

GL
 
Old 06-08-2006, 09:54 AM   #2
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
CONSOLE_GROUPS is only called when you log into a shell, so it will not be called in run level 4. The CONSOLE variable just specifies which consols root can log into.

Was there any particular reason why don't you just add your user to the audio group manually?

regards,
...drkstr
 
Old 06-08-2006, 11:26 AM   #3
Gault LaRue
Member
 
Registered: Jul 2005
Location: Columbia, MD
Distribution: Slackware 10.2 / 11.0 / 12.0
Posts: 38

Original Poster
Rep: Reputation: 15
I guess it just seemed inelegant when I thought that login.defs should do the trick. Now I see that login.defs won't cut it. Thanks for the response! I'll go ahead and add myself to the audio group now...

GL
 
  


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
root sound ok - user sound not..? captain skywave SUSE / openSUSE 12 06-23-2005 06:24 PM
kde sound options gone except for root, login sound gone memphisSuseUser Linux - Distributions 2 12-10-2004 06:55 PM
user sound is fine, Root sound just squeals Doug.Gentry Linux - Newbie 1 09-05-2004 04:27 PM
No sound unless root Shafted Debian 6 04-15-2004 11:11 PM
sound works in root - no sound in user - Debian seanb Debian 9 02-28-2004 01:42 AM

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

All times are GMT -5. The time now is 02:57 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