Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Added new user to system, user has no sound ?!?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
WvR
Apprentice
Apprentice


Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Sun Jan 03, 2016 12:48 am    Post subject: Added new user to system, user has no sound ?!? Reply with quote

I have a laptop running Gentoo, and I've been using this for 3 years without any problems. I recently added a new user to the system:

Code:
useradd -m -G users,wheel,audio -s /bin/bash NEW_USER


So now I have two users on the system, one user account has been around for three years and the other account is new. The strange thing is: if I log in with the newly created user account, there is no sound! Everything else works just fine, but the new user does not have sound....

I checked the group membership of the new user and set them up to be the same as the existing user:

Code:
vincent ~ # groups OLD_USER
wheel audio cdrom usb portage games OLD_USER

vincent ~ # groups NEW_USER
wheel audio cdrom usb users portage games NEW_USER


I use gnome. When I go to "settings -> audio", the following shows up:

OLD_USER: HDMI/DisplayPort __and__ Builtin Speaker; Builtin Speaker produces sound (set to HDMI -> no sound)

NEW_USER: HDMI/DisplayPort __only__

- sound works for OLD_USER: the system is set up correctly for sound

- sound does not work for NEW_USER

- the difference must be a "user setting" - but which one? Any tips are appreciated.
Back to top
View user's profile Send private message
Schnulli
Guru
Guru


Joined: 25 Jun 2010
Posts: 320
Location: Bremen DE

PostPosted: Sun Jan 10, 2016 8:11 pm    Post subject: Reply with quote

emerge --sync
and update Alsa / Pulseaudio and whatever , should fix it
Dont forget to konfigure than ur Sound device and HDMI etc.

Regards
Back to top
View user's profile Send private message
WvR
Apprentice
Apprentice


Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Wed Mar 23, 2016 12:00 am    Post subject: Reply with quote

I have determined it is a hardware problem. If I switch users, and user #1 is using the sound card (for example, with totem, audacious, or flash player) then if user #2 logs in, user #2 has no sound. If user #1 first closes all the multimedia applications user #2 has sound. This is either a hardware problem (hardware does not accept more than one connection) or a problem with drivers and/or mutex settings. Anyway, now I just make sure to close all the multimedia applications before other users log in.
Back to top
View user's profile Send private message
Syl20
l33t
l33t


Joined: 04 Aug 2005
Posts: 619
Location: France

PostPosted: Wed Mar 23, 2016 1:47 pm    Post subject: Reply with quote

It seems your sound card doesn't have a hardware mixer. So, with ALSA, you have to use the dmix plugin, which is a software mixer.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum