LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-26-2007, 07:15 AM   #1
Yes
LQ Newbie
 
Registered: Feb 2007
Posts: 19

Rep: Reputation: 0
XFCE4 - no sound when user


Hopefully this is a simple problem but I could not find any info when searching.

When i'm logged in as root everything(well, not everything, but that's beyond this topic) is working fine. But when I log in with my user account I have no sound(I think that everything else is working fine, for example viewing videos and playing games, but no sound).

My user is added to the wheel group, and just to see if it makes any difference I have also added it to video, audio and users. I have checked the permissions in the home directory(config files for xfce in particular) so that my user is the owner and has read and write permissions. I also copied the config files from /root to make sure they are the same(and of course changing permissions after copying so the copied files are no longer owned by root). Still the problem remains.

In xfce-mixer I have no volume controls and I cannot change the device from "default"(even though in the config files it's set to "hw:1" and nForce2). Maybe I don't have some sort of permission to change the device as user but, if so, where do I change that?

Any ideas what to do?
 
Old 02-26-2007, 01:11 PM   #2
Yes
LQ Newbie
 
Registered: Feb 2007
Posts: 19

Original Poster
Rep: Reputation: 0
Just a thought...

Could it be that the soundcard needs to defined in xorg.conf? Although xorg.conf.example does not mention anything like that, except maybe loading the alsa module but I got it compiled into the kernel(which also makes me think that any changes to xorg.conf wont help).
 
Old 02-27-2007, 05:37 PM   #3
Yes
LQ Newbie
 
Registered: Feb 2007
Posts: 19

Original Poster
Rep: Reputation: 0
I solved it(with help from Gentoo-forums ). When I added my user account to different groups it got removed from previous groups. Meaning that I first ran 'usermod -G audio' then "video"... adn "users". The result being that it only got added to the users-group.

So this time I first added the wheel group, then usermod -G audio as a suplementary group. This worked much better.

I also got the advice to use gpasswd instead of usermod, or issuing usermod -G and adding all the groups in the same command line(i.e usermod -G audio video users [username]).
 
  


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
no sound as normal user but there's sound as root on suse Sleen Linux - Hardware 4 08-27-2006 05:27 AM
Getting rid of XFCE4-panel...using xfce4 and Ubuntu jagibbs Linux - Software 1 04-06-2006 05:00 AM
xfce4 won't start for a user hussar Slackware 4 04-08-2005 08:33 AM
How-to start wmaker/xfce4/fluxbox/fvwm as user Sader Slackware 6 03-11-2005 08:53 AM
sound problems in xfce4 dthomp325 Mandriva 0 01-11-2004 11:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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