LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   No sound when loging in KDE (https://www.linuxquestions.org/questions/mandriva-30/no-sound-when-loging-in-kde-196745/)

tony yu 06-23-2004 06:31 AM

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. :)

320mb 06-23-2004 08:10 AM

try changing the permissions of
/dev/dsp and
/dev/mixer so users can access these also

tony yu 06-23-2004 08:03 PM

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.

tony yu 07-27-2004 07:33 AM

Uhh, does someone know how each file of PC devices(sound card, esp.) gets its own permission of owner?

otish1000c 07-27-2004 04:08 PM

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

barrys 07-27-2004 06:23 PM

write the command into the rlogin file.

This way it will load it automatically.

tony yu 07-28-2004 07:37 AM

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.