LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-10-2012, 10:13 PM   #1
gty
LQ Newbie
 
Registered: Mar 2010
Posts: 7

Rep: Reputation: 0
sound problem when booting in run level 4


Hi Everyone,

I followed the tutorial in slackware, section 6.5 xdm, so I can boot straight to X. It worked fine and I logged in using XDM, but I lost the sound.

I'm not sure if this is a known issue, or I'm just a clueless newbie, but for some reason, when I edited my /etc/inittab and changed "id:3:initdefault:" to "id:4:initdefault:", I noticed my sound is not working anymore. And when I returned it to "3", the sound works fine again.

For your reference, here's my Slackware version and sound card.

Slackware 14.0
Card: HDA Intel
Chip: Conexant CX20549 (Venice)

Thank you in advance.

Regards,
 
Old 11-10-2012, 11:04 PM   #2
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Is your user a member of the audio group? When you login in runlevel 3, /etc/login.defs temporarily adds your user to the audio group, and that gets inherited by the X session when you run startx. In runlevel 4, login.defs does not apply and unless you are explicitly a member of the audio group you may lose access. The following command should work:
Code:
# usermod -a -G audio username
If you're not a member of the audio group then you are likely also missing some other important group permissions. The following command would add your user to the recommended groups:
Code:
# usermod -a -G audio,cdrom,floppy,plugdev,video,power,netdev,lp,scanner username
 
1 members found this post helpful.
Old 11-11-2012, 03:32 AM   #3
tony0605
LQ Newbie
 
Registered: May 2006
Location: E.Sussex
Distribution: Slackware 14 64bit
Posts: 4

Rep: Reputation: 0
I thought that I would add my experience to this post which may help others in the same position my KDE kept asking (pop-up after login):

'KDE detected that one or more internal devices were removed.
Do you want KDE to permanently forget about these devices?
This is the list of devices KDE thinks can be removed:
Capture: HDA Intel (ALC269 Analog)
Output: HDA Intel (ALC269 Analog)
Output: HDA Intel, ALC269 Analog (Default Audio Device)'

After some research I realised that I had not added the additional groups to the user that I had created - which is simply a matter of using the 'up key' when asked 'do you want the user added to any other groups' during the adduser process.

Thanks to T3slider for the info about the way permissions are inherited by the X session between the different runlevels.

Thanks also to Patrick and the Slackware development team for a great distro (Slackware 14 - 64bit) which has worked straight out of the box.
 
Old 11-11-2012, 08:12 AM   #4
gty
LQ Newbie
 
Registered: Mar 2010
Posts: 7

Original Poster
Rep: Reputation: 0
That makes a lot of sense.

Thanks T3slider for a very good explanation.
 
  


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
sound level on remote booting slax milindlokde Linux - Server 0 06-20-2009 10:18 AM
set your default run level so you will boot to a default run level - vga console Adam555 Linux - Newbie 1 01-21-2008 04:55 PM
Booting into a lower run level. lasalsademuerte Other *NIX 3 10-13-2007 05:58 PM
How to stop at run level 3 when booting cnm Linux - General 3 11-04-2006 02:45 AM
emacs in run level 3 then switch to X (level 7) then back to level 3 dsoliver Slackware 3 09-01-2006 03:31 AM

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

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