LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-22-2005, 12:51 PM   #1
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Logging in as root ruins my sound card configuration


Alright guys this is my first post, i should get like props or something... :-)



Anyway, I have a DELL 2300 that i got free off of my cousin who was going to shoot it (literally) because he screwed up the Windows XP install on it so bad we couldn't fix it. So my fix was installing Slackware linux. I have an Intel 810i AC97 sound card on my motherboard that works great under my non-root user name using ALSA sound drivers. But every time i log in as root my sound stops working, and then when i log back out to run level 3, i have to re-run alsaconf to reconfigure my sound card to make work in my non-root profile.

I'm a true newbie to linux, 2 or 3 months using it at most, but i learn quickly (i think?) so any suggestion would be great! Thanks alot everyone!
 
Old 09-22-2005, 02:22 PM   #2
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Rep: Reputation: 30
Did you check the volumes as root??? alsaconfig then alsactl store??? Just and idea
 
Old 09-22-2005, 03:06 PM   #3
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Original Poster
Rep: Reputation: 45
hey thats a good idea, thank you
 
Old 09-23-2005, 01:37 AM   #4
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Rep: Reputation: 30
Did it help?
 
Old 09-23-2005, 06:04 PM   #5
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Original Poster
Rep: Reputation: 45
Unhappy

No. To use alsactl store i have to know what linux refers to as my sound card... but i dont know what its name is. When i set up slackware i assume its told me but i didnt pay any attention, i just clicked <enter> for the default name.
 
Old 09-23-2005, 07:18 PM   #6
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Rep: Reputation: 30
sorry I ment to say alsamixer not alsaconfig
 
Old 09-26-2005, 01:19 AM   #7
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Original Poster
Rep: Reputation: 45
my mixer says my sound is turned up.

what is 'alsactl store' and how do i use it? i have a bad feeling thats my problem.
 
Old 09-26-2005, 01:44 AM   #8
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Rep: Reputation: 30
alsactl store just tells alsa to store your sound settings so next time you reboot or log out and in again it will restore your current alsamixer settings.

Basically all your volume levels
 
Old 09-26-2005, 06:43 AM   #9
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Original Poster
Rep: Reputation: 45
oh, well that definatly dosent fix my problem then, thanks
 
Old 09-26-2005, 07:58 AM   #10
eelriver
Member
 
Registered: May 2004
Location: san francisco
Distribution: Slackware 10.2 kernel 2.6.13, Gentoo amd64, Some mish-mash of programs that started with slack 9.0
Posts: 165

Rep: Reputation: 30
Don't log in as root. Use su - to do important root stuff (important root stuff does not include listening to music).
 
Old 09-26-2005, 04:25 PM   #11
KnightHawk
Member
 
Registered: Aug 2005
Posts: 128

Rep: Reputation: 15
Quote:
Originally posted by eelriver
Don't log in as root. Use su - to do important root stuff (important root stuff does not include listening to music).

Speak for yourself!
 
Old 09-26-2005, 05:08 PM   #12
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Original Poster
Rep: Reputation: 45
wait a minute the orginal question was: why does logging in as root mess it up? and how do i make it stop?

its kills the whole thrill of it, if i just quit logging in
 
Old 09-26-2005, 06:22 PM   #13
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
Have you actually run alsaconf as root yet, or have you always run it as a user?
 
Old 09-26-2005, 07:03 PM   #14
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 31
I second that.

There is no need to login as root, especially to listen to audio.

Use "su" and run whatever you want to run as root, and then type "exit" to return to your user.
 
  


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
logging in as root and configuration problems tcastle Linux - General 3 06-22-2003 03:37 AM
Sound Card Configuration RedHatMN Linux - Newbie 6 06-19-2003 01:12 PM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 02:55 AM
Sound Card configuration lorio Linux - Hardware 1 09-18-2002 09:36 AM
sound card configuration jibinkg Linux - Software 6 05-16-2002 08:25 AM

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

All times are GMT -5. The time now is 06:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration