LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 06-27-2016, 09:21 AM   #1
prasanth.bbnl
LQ Newbie
 
Registered: May 2015
Posts: 9

Rep: Reputation: Disabled
sound is not working in centos 7 for root user


Hi all,


please any one tell me if i log in as root user centos 7 sound is not working in my lap model (lenovo t410). for other user it is working fine.

if i want sound in root user what am i suppose to do.
 
Old 06-27-2016, 09:25 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
root is not a user, it is administrator account. There is absolutely no need for root to make sound or run GUI.
 
Old 06-27-2016, 01:05 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
in fact you should get a WARNING about the root account

a pop up about the sound not working is one
 
Old 06-27-2016, 01:58 PM   #4
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
You shouldn't run as root on a daily basis, but troubleshooting with root can sometimes be useful.

To get sound as root in CentOS, try adding root user to the audio group.
 
1 members found this post helpful.
Old 06-28-2016, 08:03 AM   #5
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Quote:
Originally Posted by notKlaatu View Post
You shouldn't run as root on a daily basis, but troubleshooting with root can sometimes be useful.

To get sound as root in CentOS, try adding root user to the audio group.
Root by definition is a member of any group it wants. Adding root to random groups is an invitation for a security failure.
 
1 members found this post helpful.
Old 06-28-2016, 09:03 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by jpollard View Post
Root by definition is a member of any group it wants. Adding root to random groups is an invitation for a security failure.
I agree with both jpollard and notKlaatu.

notKlaatu *DID* provide the answer to the question, but the OP is asking for something that is inherently bad. Logging in as root shouldn't be done, period, unless you're trying to fix something seriously bad. And I doubt you'd need a sound card for that.
 
1 members found this post helpful.
  


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
root user but not in root environment?? (centos 5.3) ashlyjay Linux - Newbie 2 07-12-2009 08:41 PM
Sound working as root, but not as a regular user... s2cuts Linux - General 4 06-29-2009 12:28 PM
no sound as normal user but there's sound as root on suse Sleen Linux - Hardware 4 08-27-2006 05:27 AM
user sound is fine, Root sound just squeals Doug.Gentry Linux - Newbie 1 09-05-2004 03:27 PM
sound works in root - no sound in user - Debian seanb Debian 9 02-28-2004 12:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:13 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
Open Source Consulting | Domain Registration