Hi,

Here's an init.d file for xmms2d which will let you start/stop xmms2d
for a defined set of users, modelled on the init.d script for openvpn.

You can use:

  /etc/init.d/xmms2d start sounds

To start xmms2d for the user "sounds".  Likewise:

  /etc/init.d/xmms2d stop sounds

To have it autostart for the sounds user create a file
called /etc/defaults/xmms2d with the line:

AUTOSTART=sounds

Or a space separated list of usernames like:

AUTOSTART="sounds puck"

Of course, it is up to you to make sure that the audio outputs will work
in that kind of setup.

Cheers!

-- 
Andrew Ruthven, Wellington, New Zealand
At home: [EMAIL PROTECTED]       |  This space intentionally
                                 |        left blank.

Attachment: xmms2d
Description: application/shellscript

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to