Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]2 users, only sound for 1.
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
BHReach
n00b
n00b


Joined: 24 Jan 2012
Posts: 40

PostPosted: Fri Jan 08, 2016 5:11 pm    Post subject: [SOLVED]2 users, only sound for 1. Reply with quote

What I want to do is login as user1 and open a console, su to user 2 and run a multimedia program. Video works OK but no sound for user2. Sound works fine for user1.

Both users are in the audio group.

Using pulseaudio.

I suspect the problem is with consolekit-udev but I can't figure out how to make it work?


Last edited by BHReach on Sat Jan 09, 2016 5:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2569

PostPosted: Fri Jan 08, 2016 7:21 pm    Post subject: Reply with quote

Questions:


  1. If you login directly as user2 do you have sound?
  2. if you login as user2 and su to user 1, do you have sound?
Back to top
View user's profile Send private message
BHReach
n00b
n00b


Joined: 24 Jan 2012
Posts: 40

PostPosted: Sat Jan 09, 2016 4:23 am    Post subject: Reply with quote

1clue wrote:
Questions:


  1. If you login directly as user2 do you have sound?
  2. if you login as user2 and su to user 1, do you have sound?


Login as user2, user2 has no sound, su to user1, user1 has sound?

user1's groups:

tty
lp
wheel
uucp
console
audio
cdrom
video
cdrw
usb
users
portage
messagebus
lpadmin
games
vboxusers
scanner
plugdev
wireshark

user2's groups:

wheel
audio
video
users
Back to top
View user's profile Send private message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2569

PostPosted: Sat Jan 09, 2016 4:29 am    Post subject: Reply with quote

Are you using a built-in sound card or something like a USB headset? Try plugdev and usb.

This is from a cd/dvd? Try cdrom.
Back to top
View user's profile Send private message
BHReach
n00b
n00b


Joined: 24 Jan 2012
Posts: 40

PostPosted: Sat Jan 09, 2016 10:48 am    Post subject: Reply with quote

1clue wrote:
Are you using a built-in sound card or something like a USB headset? Try plugdev and usb.

This is from a cd/dvd? Try cdrom.

Nothing unusual.

Mobo onboard sound:

*-multimedia:0
description: Audio device
product: BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 1.1
bus info: pci@0000:00:01.1
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:34 memory:fef44000-fef47fff

*-multimedia:1
description: Audio device
product: FCH Azalia Controller
vendor: Advanced Micro Devices, Inc. [AMD]
physical id: 14.2
bus info: pci@0000:00:14.2
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: driver=snd_hda_intel latency=32
resources: irq:16 memory:fef40000-fef43fff

Uses PCI bus.

Average PC speakers that plug into the mobo back panel green speaker output connector.

No USB sound related stuff.

For sound test, using youtube with chromium-browser and vlc playing local video file on HD.

I use icewm, no desktop environment.

Launch icewm from .xinitrc like so:

exec ck-launch-session dbus-launch --exit-with-session --sh-syntax icewm-session
Back to top
View user's profile Send private message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2569

PostPosted: Sat Jan 09, 2016 4:54 pm    Post subject: Reply with quote

Well it's not a driver issue or a configuration issue because your user1 has sound.

So it has to be something about user2. Which means either configuration or maybe your sound control panel settings for user2.

I'm not sure if sound control panel settings are global or per-user, but I imagine they're per-user. So I'd take a look at what you have for your user1 and try to make it look like user2's settings.
Back to top
View user's profile Send private message
BHReach
n00b
n00b


Joined: 24 Jan 2012
Posts: 40

PostPosted: Sat Jan 09, 2016 5:28 pm    Post subject: Reply with quote

1clue wrote:
Well it's not a driver issue or a configuration issue because your user1 has sound.

So it has to be something about user2. Which means either configuration or maybe your sound control panel settings for user2.

I'm not sure if sound control panel settings are global or per-user, but I imagine they're per-user. So I'd take a look at what you have for your user1 and try to make it look like user2's settings.


I looked at the Pulse Audio volume control, the gauge is moving up and down like it is playing sound but nothing comes out of the speakers.

I tried adding user2 to all the groups user1 is in but still no sound.

I created user3 putting it in all the groups user1 belongs to. Sound works OK for user3, su to user3 and sound is OK.

I then created user4 just putting it in groups audio and video ( the way user2 started out). Sound works OK for user4, su to user4 and sound is OK.

The solution is to delete user2 and recreate it. Not very satisfying because I don't know what caused the problem.
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