Hello there!
I'm trying to get sound from applications running from other users bug the one who owns the current GNOME sessions.
Typically, my default user is "A" and he's running the GNOME session, logged in graphically. From this session, I open terminals, su to other users (B or C, non-root) and run mplayer or firefox. No sound for these.
Adding those users to the "audio" group didn't help. Any idea how to do this?
Regards,
On 07/03/2014 12:37 AM, wwp wrote:
Hello there!
I'm trying to get sound from applications running from other users bug the one who owns the current GNOME sessions.
Typically, my default user is "A" and he's running the GNOME session, logged in graphically. From this session, I open terminals, su to other users (B or C, non-root) and run mplayer or firefox. No sound for these.
Adding those users to the "audio" group didn't help. Any idea how to do this?
Regards,
That is pulse problem, daemon is started with first user as owner. I do not know workaround or fix.
On Thu, 2014-07-03 at 00:37 +0200, wwp wrote:
Hello there!
I'm trying to get sound from applications running from other users bug the one who owns the current GNOME sessions.
Typically, my default user is "A" and he's running the GNOME session, logged in graphically. From this session, I open terminals, su to other users (B or C, non-root) and run mplayer or firefox. No sound for these.
Adding those users to the "audio" group didn't help. Any idea how to do this?
From very limited experience where I attempted it and got this to work
with some semblance of reliability once long ago I can tell you that it involves something around: load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1
This implies the pulse server must provide a local network service and the clients must be configured to connect to this server.
Updating default.pa in .pulse directories and granting access to pulse* groups also rings a bell. Sadly I kept few notes on this so can only find this hint at present. There must be better ways to do it and if you get it working I would be keen to know how, so please provide feedback. I also recall murmurs of security issues around shared pulse services, obviously more so if the ip is not localhost, so consider that too.
Hendrik Strydom wrote:
On Thu, 2014-07-03 at 00:37 +0200, wwp wrote:
Hello there!
I'm trying to get sound from applications running from other users bug the one who owns the current GNOME sessions.
Typically, my default user is "A" and he's running the GNOME session, logged in graphically. From this session, I open terminals, su to other users (B or C, non-root) and run mplayer or firefox. No sound for these.
Adding those users to the "audio" group didn't help. Any idea how to do this?
From very limited experience where I attempted it and got this to work
with some semblance of reliability once long ago I can tell you that it involves something around: load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1
More details about this approach can be found via: (for example)
http://billauer.co.il/blog/2014/01/pa-multiple-users/
You can also run Pulseaudio in 'system mode' - see:
http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/
I haven't tried either of these approaches
You can also by-pass Pulseaudio and use ALSA directly by modifying the central ALSA config files (or overriding them via individual user configs) - I've done this for a single user on a workstation - but not for multiple users, but I guess with the correct dev perms this should work as well
James Pearson
On Thu, 3 Jul 2014, wwp wrote:
I'm trying to get sound from applications running from other users bug the one who owns the current GNOME sessions.
Typically, my default user is "A" and he's running the GNOME session, logged in graphically. From this session, I open terminals, su to other users (B or C, non-root) and run mplayer or firefox. No sound for these.
If A enables sound, does it work for other users?
Hello Michael,
On Fri, 4 Jul 2014 11:25:33 -0500 (CDT) Michael Hennebry hennebry@web.cs.ndsu.nodak.edu wrote:
On Thu, 3 Jul 2014, wwp wrote:
I'm trying to get sound from applications running from other users bug the one who owns the current GNOME sessions.
Typically, my default user is "A" and he's running the GNOME session, logged in graphically. From this session, I open terminals, su to other users (B or C, non-root) and run mplayer or firefox. No sound for these.
If A enables sound, does it work for other users?
What do you mean exactly saying "A enables sound"?
Regards,
On Fri, 4 Jul 2014, wwp wrote:
On Fri, 4 Jul 2014 11:25:33 -0500 (CDT) Michael Hennebry hennebry@web.cs.ndsu.nodak.edu wrote:
On Thu, 3 Jul 2014, wwp wrote:
I'm trying to get sound from applications running from other users bug the one who owns the current GNOME sessions.
Typically, my default user is "A" and he's running the GNOME session, logged in graphically. From this session, I open terminals, su to other users (B or C, non-root) and run mplayer or firefox. No sound for these.
If A enables sound, does it work for other users?
What do you mean exactly saying "A enables sound"?
From the question, I infer that for A, sound just works:
A need not do anything special to enable sound.
Hello Michael,
On Fri, 4 Jul 2014 16:55:51 -0500 (CDT) Michael Hennebry hennebry@web.cs.ndsu.nodak.edu wrote:
On Fri, 4 Jul 2014, wwp wrote:
On Fri, 4 Jul 2014 11:25:33 -0500 (CDT) Michael Hennebry hennebry@web.cs.ndsu.nodak.edu wrote:
On Thu, 3 Jul 2014, wwp wrote:
I'm trying to get sound from applications running from other users bug the one who owns the current GNOME sessions.
Typically, my default user is "A" and he's running the GNOME session, logged in graphically. From this session, I open terminals, su to other users (B or C, non-root) and run mplayer or firefox. No sound for these.
If A enables sound, does it work for other users?
What do you mean exactly saying "A enables sound"?
From the question, I infer that for A, sound just works:
A need not do anything special to enable sound.
I'm sorry Michael, but I don't get the logic behind your words. User 'A' logs in a GNOME session, he has sound activated and working by default. This is not a sufficient condition to get sound for applications started by user 'B' or 'C' in a terminal, via `su` or `sudo`.
Issue fixed anyway, as I reported earlier.
Regards,
On 07/05/2014 02:46 AM, wwp wrote:
Hello Michael,
On Fri, 4 Jul 2014 16:55:51 -0500 (CDT) Michael Hennebry hennebry@web.cs.ndsu.nodak.edu wrote:
On Fri, 4 Jul 2014, wwp wrote:
On Fri, 4 Jul 2014 11:25:33 -0500 (CDT) Michael Hennebry hennebry@web.cs.ndsu.nodak.edu wrote:
On Thu, 3 Jul 2014, wwp wrote:
I'm trying to get sound from applications running from other users bug the one who owns the current GNOME sessions.
Typically, my default user is "A" and he's running the GNOME session, logged in graphically. From this session, I open terminals, su to other users (B or C, non-root) and run mplayer or firefox. No sound for these.
If A enables sound, does it work for other users?
What do you mean exactly saying "A enables sound"?
From the question, I infer that for A, sound just works:
A need not do anything special to enable sound.
I'm sorry Michael, but I don't get the logic behind your words. User 'A' logs in a GNOME session, he has sound activated and working by default. This is not a sufficient condition to get sound for applications started by user 'B' or 'C' in a terminal, via `su` or `sudo`.
Issue fixed anyway, as I reported earlier.
Would you please indicate just _where_ you reported your fix? The only posts from you that I can find on this list are included in the quoted text above.
Hello Robert,
On Mon, 07 Jul 2014 12:01:15 -0500 Robert Nichols rnicholsNOSPAM@comcast.net wrote:
On 07/05/2014 02:46 AM, wwp wrote:
Hello Michael,
On Fri, 4 Jul 2014 16:55:51 -0500 (CDT) Michael Hennebry hennebry@web.cs.ndsu.nodak.edu wrote:
On Fri, 4 Jul 2014, wwp wrote:
On Fri, 4 Jul 2014 11:25:33 -0500 (CDT) Michael Hennebry hennebry@web.cs.ndsu.nodak.edu wrote:
On Thu, 3 Jul 2014, wwp wrote:
I'm trying to get sound from applications running from other users bug the one who owns the current GNOME sessions.
Typically, my default user is "A" and he's running the GNOME session, logged in graphically. From this session, I open terminals, su to other users (B or C, non-root) and run mplayer or firefox. No sound for these.
If A enables sound, does it work for other users?
What do you mean exactly saying "A enables sound"?
From the question, I infer that for A, sound just works:
A need not do anything special to enable sound.
I'm sorry Michael, but I don't get the logic behind your words. User 'A' logs in a GNOME session, he has sound activated and working by default. This is not a sufficient condition to get sound for applications started by user 'B' or 'C' in a terminal, via `su` or `sudo`.
Issue fixed anyway, as I reported earlier.
Would you please indicate just _where_ you reported your fix? The only posts from you that I can find on this list are included in the quoted text above.
Apparently I replied to Harald instead of replying to the ML, by mistake. Now redirected that reply, you should now have received another mail from me to this ML, mentioning the fix.
Regards,