LinuxQuestions.org
Review your favorite Linux distribution.
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-25-2013, 03:40 PM   #16
Brosch91
LQ Newbie
 
Registered: Jun 2013
Location: Michigan, USA
Distribution: Slackware64 14.1
Posts: 23

Original Poster
Rep: Reputation: Disabled

I FIXED IT! here's what turns out to be the problem:
I changed /etc/inittab to make it so I can boot right into the graphical interface. Only problem is that if I change id:3:initdefault: to id:4:initdefault, it makes the sound not work for whatever reason. What I did was just change it back to id:3, and now the sound works again. Sure I have to start up the graphical interface manually, but at least the sound works. But thanks for helping me anyways, I appreciate it!

EDIT: I just tried something else from doing research into this inittab thing. All I had to do was add my username to /etc/group under the audio group and BOOM! everything works under runlevel 4! Yes, my problem was as simple as that. So if anyone happens to have this same problem when trying to run at level 4, don't over complicate it, the solution may be as simple as this =)

Last edited by Brosch91; 06-25-2013 at 03:55 PM. Reason: added fix for runlevel 4
 
Old 06-25-2013, 05:05 PM   #17
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,249

Rep: Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627
For the record, this is because in runlevel 3 the user is implicitly added to the audio group through /etc/logins.defs, which is inherited when you startx. In runlevel 4, login.defs doesn't apply (since you login through a GUI display manager) and your user is not a member of the audio group in X. When you create a user using `adduser`, it asks you which groups you want your user to be in, and suggests pressing the up arrow to list the standard groups.

If your user was not a member of the audio group it is likely that it is not a member of some other important groups, so you may wish to add the user to the other standard groups as well to prevent other issues.

Code:
# usermod -a -G audio,cdrom,floppy,plugdev,video,power,netdev,lp,scanner username
replacing username with your username, obviously.
 
2 members found this post helpful.
Old 06-25-2013, 08:38 PM   #18
Brosch91
LQ Newbie
 
Registered: Jun 2013
Location: Michigan, USA
Distribution: Slackware64 14.1
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by T3slider View Post
For the record, this is because in runlevel 3 the user is implicitly added to the audio group through /etc/logins.defs, which is inherited when you startx. In runlevel 4, login.defs doesn't apply (since you login through a GUI display manager) and your user is not a member of the audio group in X. When you create a user using `adduser`, it asks you which groups you want your user to be in, and suggests pressing the up arrow to list the standard groups.

If your user was not a member of the audio group it is likely that it is not a member of some other important groups, so you may wish to add the user to the other standard groups as well to prevent other issues.

Code:
# usermod -a -G audio,cdrom,floppy,plugdev,video,power,netdev,lp,scanner username
replacing username with your username, obviously.
Thanks T3slider, good to know!
 
  


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
Sound gone after installing NVIDIA Drivers uskomaton Linux - Hardware 1 06-23-2009 07:34 AM
Problems installing nvidia drivers Alexander.s Suse/Novell 3 08-22-2007 04:38 AM
Problems while installing nVIDIA drivers help_a_newbie Mandriva 16 08-18-2007 11:46 PM
Problems installing nvidia drivers BU5T4 Linux - Newbie 3 10-13-2003 06:46 PM
Stuttering Sound after installing Nvidia Drivers Lestat Linux - General 2 06-22-2003 04:54 PM


All times are GMT -5. The time now is 08:59 AM.

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