Re: [newbie] Setting up a 2nd user - Getting there
bascule Thanks, This all works now like a dream. Peter On Tue, 2004-05-11 at 00:45, bascule wrote: to change permissions you can use 'chmod' on the command line, as root: cd /dev/sound chmod g+rw the g stands for group (which is audio) and the +rw should be self explanatory, if the owner is not root and the group audio then do: chown root.audio * (assuming you are in the /dev/sound directory, you will need to do the same for files in /dev/snd there are files outside these directories but there are symlinks and you shouldn't have to touch them for audio stuff bascule On Monday 10 May 2004 5:15 pm, Peter wrote: f you can let me know how to change permissions on the audio group, then this would help. Peter. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Setting up a 2nd user - Getting there
Thanks Derek and bascule. I have now setup KDE/MDK for ALSA, and logging in/out between users works fine. Have also put them both in 'audio' group I said I was a newbie so... how do i give the audio group rw perms? also changing the console.perms, and commenting out the sound line results in BOTH users losing sound, is this because audio group needs the rw perms. ( I,m learning, honest I am!) Peter On Mon, 2004-05-10 at 11:29, bascule wrote: i'm guessing that this happens when you are also logged on and youhave started a second session, if you look in /etc/security/console.perms you will see a list pertaining to what permissions device get assigned when someone logs in and the default perms when you log out, note that all the sound devices will be owned by the first logged in user and stay that way if someone else logs on in the meantime, to fix this you can comment out the relevant lines, and then make your users members of the audio group, also make sure that you alter the perms of the file to give the audio group rw perms, do this for other device files that the other user might need access to, although this works for me to allow my daughter to log on and play music, i would appreciate if some expert could explain why it is that the references (in my case) to the device files for my nvidia card don't need to be changed for another user to log on, how does that work? bascule Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Setting up a 2nd user - Getting there
On Monday 10 May 2004 15:58, Peter wrote: Thanks Derek and bascule. I have now setup KDE/MDK for ALSA, and logging in/out between users works fine. Have also put them both in 'audio' group I said I was a newbie so... how do i give the audio group rw perms? also changing the console.perms, and commenting out the sound line results in BOTH users losing sound, is this because audio group needs the rw perms. ( I,m learning, honest I am!) Peter On Mon, 2004-05-10 at 11:29, bascule wrote: i'm guessing that this happens when you are also logged on and youhave started a second session, if you look in /etc/security/console.perms you will see a list pertaining to what permissions device get assigned when someone logs in and the default perms when you log out, note that all the sound devices will be owned by the first logged in user and stay that way if someone else logs on in the meantime, to fix this you can comment out the relevant lines, and then make your users members of the audio group, also make sure that you alter the perms of the file to give the audio group rw perms, do this for other device files that the other user might need access to, although this works for me to allow my daughter to log on and play music, i would appreciate if some expert could explain why it is that the references (in my case) to the device files for my nvidia card don't need to be changed for another user to log on, how does that work? bascule It it works then there is no need to do anything with the perms. As I said, it is not normally required. derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Setting up a 2nd user - Getting there
Derek, Yes it works fine if I log out, and log dominic in, but i *would* like to just switch session for him. If you can let me know how to change permissions on the audio group, then this would help. Peter. On Mon, 2004-05-10 at 16:29, Derek Jennings wrote: On Monday 10 May 2004 15:58, Peter wrote: Thanks Derek and bascule. I have now setup KDE/MDK for ALSA, and logging in/out between users works fine. Have also put them both in 'audio' group I said I was a newbie so... how do i give the audio group rw perms? also changing the console.perms, and commenting out the sound line results in BOTH users losing sound, is this because audio group needs the rw perms. ( I,m learning, honest I am!) Peter bascule It it works then there is no need to do anything with the perms. As I said, it is not normally required. derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Setting up a 2nd user - Getting there
to change permissions you can use 'chmod' on the command line, as root: cd /dev/sound chmod g+rw the g stands for group (which is audio) and the +rw should be self explanatory, if the owner is not root and the group audio then do: chown root.audio * (assuming you are in the /dev/sound directory, you will need to do the same for files in /dev/snd there are files outside these directories but there are symlinks and you shouldn't have to touch them for audio stuff bascule On Monday 10 May 2004 5:15 pm, Peter wrote: f you can let me know how to change permissions on the audio group, then this would help. Peter. -- Millennium hand and shrimp. (Hogfather) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com