Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Enterprise Linux 5 »

Re: [rhelv5-list] How to use sound as non-logged-in user

Jos Vos

2008-04-20

Replies:

Author LoginPost Reply
On Mon, Apr 21, 2008 at 04:12:50AM +0800, John Summerfield wrote:

> >Is there a way to access the sound device as another non-root user,
> >apart from the user that is logged in (via a graphical session)?
>
> sudo?
> su?
> chmod (to set set setuid) and chown (to set user)?

OK, it looks like my question was not clear enough.

When user X is logged in (via a graphical session), running a command
as another user (via text console, after su, via vnc etc.) doesn't
see any sound devices. I chmod'ed some audio/dsp/snd devices to 666,
but then I get some an about an IPC semaphore.

I explicitly want to run the sound-producing command as the other user,
so su/sudo'ing from that other user to the logged-in user is not an
option.

--
--   Jos Vos <jos@(protected)>
--   X/OS Experts in Open Systems BV  |  Phone: +31 20 6938364
--   Amsterdam, The Netherlands     |   Fax: +31 20 6948204

_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.