No sound when loging in KDE
Hi, I run mandrake-10.0(Official), and I compile KDE-3.2.1 for myself. Everything goes fine except the sound problem that the permission of the sound device is set to root, however, I usually login as a common user, so I must, as a root, type 'chmod 666 /dev/sound/*' in console to 'wake' my sound up.
Any solutions? Thanks in advance. :) |
try changing the permissions of
/dev/dsp and /dev/mixer so users can access these also |
I know. The permission changes everytime I restart PC, so I must do the same thing to type a command to wake my sound up. I want to know how to 'fix' the permission setting.
|
Uhh, does someone know how each file of PC devices(sound card, esp.) gets its own permission of owner?
|
you could run userdrake from terminal as root. click on the user, click edit, click group tab. add the user to as many groups as you want. one of them will be "audio", which may fix your sound issue. save when finished. you may need to reboot (or at least logout/login the DE) for changes to take effect.
otis |
write the command into the rlogin file.
This way it will load it automatically. |
Yes, I get the solution, not perfect though!
I write the following commands to /usr/share/config/kdm/Xstartup: chown $USER /dev/sound/* chown $USER /dev/cdroms/* chown $USER /dev/floppy/* chown $USER /dev/usb/* However, this way doesn't work for autologing, and I must logout, then login...yes, well done! It seems KDE's autologin skips to execute the file above. So does anyone know how to make this method available even for autologing. Thanks in advance. |
All times are GMT -5. The time now is 07:02 AM. |