LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-21-2010, 08:58 PM   #1
dwcjr
LQ Newbie
 
Registered: Dec 2010
Posts: 7

Rep: Reputation: 0
Question Audio Problem


Hello

I just installed Slackware 32bit 13.1. I created a new user with everything default. When I startup and logoff, I hear the startup and logoff sound. But other than that I have no sound in my user account I made. So I did some googling and found this command
Code:
usermod -g audio username
So I logged in the terminal as root and gave it a try. Logged out then back in the user. And I still have no audio

plzhlp
 
Old 12-21-2010, 09:16 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Which groups do you have the user(s) in?
 
Old 12-21-2010, 09:18 PM   #3
dwcjr
LQ Newbie
 
Registered: Dec 2010
Posts: 7

Original Poster
Rep: Reputation: 0
users. But then I ran that command that I posted. Did I mess somthing up?
 
Old 12-21-2010, 09:24 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,340
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
As root, try running alsaconf. Then run alsamixer and make sure the volume controls are not muted (by default they are in Slackware). Run alsactl store to save your settings.
 
Old 12-21-2010, 09:28 PM   #5
dwcjr
LQ Newbie
 
Registered: Dec 2010
Posts: 7

Original Poster
Rep: Reputation: 0
I think that made it worse -.-

thx neways
 
Old 12-21-2010, 09:30 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Quote:
Originally Posted by dwcjr View Post
users. But then I ran that command that I posted. Did I mess somthing up?
Quote:
excerpt from 'man groups';
groups - print the groups a user is in

SYNOPSIS
groups [OPTION]... [USERNAME]...

DESCRIPTION
Print group memberships for each USERNAME or, if no USERNAME is specified, for the current process (which may
differ if the groups database has changed).

--help display this help and exit

--version
output version information and exit
From the cli do 'groups username' where username is the assigned name for the user.

So if I do a 'groups mike' from the cli, the output would be;
Code:
mike : users floppy audio video cdrom plugdev power netdev
 
Old 12-21-2010, 09:34 PM   #7
dwcjr
LQ Newbie
 
Registered: Dec 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Code:
username : audio
thx for being patient w/ me
 
Old 12-21-2010, 09:42 PM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Whenever you add new user(s) the best way is to use the 'adduser' command.
Code:
~#adduser mike
When you get to the add to 'user' line and press return. Read the output, it says to use the up-arrow for suggested groups. When press the up-arrow you will be given;
Code:
mike: users floppy audio video cdrom plugdev power netdev
this line is editable with the cursor keys left & right arrow, backspace, del as example.
Press return to accept or edit the line to suit. Finish the input queries. And you are done.

Just a few useful links;


SlackwareŽ Essentials
SlackwareŽ Basics
Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Newbie Admin Guide
LinuxSelfHelp
Getting Started with Linux



The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!

Last edited by onebuck; 12-21-2010 at 09:44 PM. Reason: add example adduser
 
Old 12-21-2010, 09:48 PM   #9
dwcjr
LQ Newbie
 
Registered: Dec 2010
Posts: 7

Original Poster
Rep: Reputation: 0
username : audio floppy video cdrom plugdev power netdev users


I relogged and my audio is still not working. Only works for login/off sound.

Last edited by dwcjr; 12-21-2010 at 09:56 PM.
 
Old 12-21-2010, 10:08 PM   #10
dwcjr
LQ Newbie
 
Registered: Dec 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Problem solved.

Solution: usermod -G group1,group2,... username in terminal as root. Restarted(You must restart, I guess.)
 
Old 12-22-2010, 07:13 AM   #11
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

I'm glad to hear your good to go.

You can mark the thread as [Solved] via the Thread tools.

The user example that I gave is the easy way to add users to your system, simple script.

I do suggest that you look at the Slackware links that I posted.
 
  


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
Audio problem jilloper Linux - Hardware 1 09-24-2007 03:40 PM
Audio CD problem J_K9 Linux - Software 22 03-31-2005 01:59 PM
Audio CD Problem LinuxPadawan Fedora 3 03-26-2005 12:04 AM
Audio Problem =/ jwhitehurse Slackware 5 09-24-2004 11:41 AM
Audio CD Problem jbone Mandriva 5 02-22-2004 11:28 PM


All times are GMT -5. The time now is 06:19 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration