M.Blackmore wrote:
On Sun, 2005-10-02 at 15:44 +0200, meister@netz00.com wrote:
Am Sonntag, 2. Oktober 2005 13:19 schrieb Guðlaugur Jóhannesson:
On Fri, 2005-09-30 at 22:31 +0000, Guðlaugur Jóhannesson wrote:
There is a file called logindevperm in ..change the permissions on /dev/dsp to 0660. ... this is the header for my file and an example
M.Blackmore wrote: line ... :0 0600 /dev/cdrom:/dev/cdrom1:/dev/cdrom2:/dev/cdrom3
This is for display ":0" on tty7. If you have a second login on display But that means they use the device exclusively. Better is: :0 0660 /dev/cdrom:/dev/cdrom1:/dev/cdrom2:/dev/cdrom3 :1 0660 /dev/cdrom:/dev/cdrom1:/dev/cdrom2:/dev/cdrom3 I'm confused by meister's comments: is this telling me that the first user (normal xwindows first "bootup" is :0 for a sound device, and that the second user (from the switch user menu option, who resideth henceforth on ctrl-alt-f8) is :1?
That is correct. You only need lines in there for devices that you like to change permissions on when you log in. If you delete the file, the permissions on the devices will stay the same as on boot (I am not suggesting that, just explaining what would happen). So if you change the first part of the line with /dev/dsp in it to :0 0660 you should be able to have sound in both sessions. I have not tested this on any other box than 10.0 RC1 and according to other users, that should have worked out of the box (I changed the settings for other reasons) so your mileage may vary. There could also be problems with the sound system in the second login but that is just a wild guess.
And for each subsequent user this should increment - :2 :3 ... ?
This number stands for the X-sessions and counts from 0 upwards
It's just convenient to bump the kids onto the switch user (or me to do email etc.) without one of logging off and then logging back on again. I'd just like to have sound in the second (or third!) switch option.
Just like I do here. I used to let the children play games on my session but after they had printed out several web pages I created a new user which is not allowed to print at all.
Many thanks
Your welcome