LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-23-2004, 06:31 AM   #1
tony yu
Member
 
Registered: Sep 2003
Location: Taiwan
Distribution: mandriva 2006
Posts: 108

Rep: Reputation: 15
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.
 
Old 06-23-2004, 08:10 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
try changing the permissions of
/dev/dsp and
/dev/mixer so users can access these also
 
Old 06-23-2004, 08:03 PM   #3
tony yu
Member
 
Registered: Sep 2003
Location: Taiwan
Distribution: mandriva 2006
Posts: 108

Original Poster
Rep: Reputation: 15
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.
 
Old 07-27-2004, 07:33 AM   #4
tony yu
Member
 
Registered: Sep 2003
Location: Taiwan
Distribution: mandriva 2006
Posts: 108

Original Poster
Rep: Reputation: 15
Uhh, does someone know how each file of PC devices(sound card, esp.) gets its own permission of owner?
 
Old 07-27-2004, 04:08 PM   #5
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
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
 
Old 07-27-2004, 06:23 PM   #6
barrys
Member
 
Registered: Sep 2003
Location: London
Distribution: Susi 9.1, Man10 amd64, Man10.1
Posts: 243

Rep: Reputation: 30
write the command into the rlogin file.

This way it will load it automatically.
 
Old 07-28-2004, 07:37 AM   #7
tony yu
Member
 
Registered: Sep 2003
Location: Taiwan
Distribution: mandriva 2006
Posts: 108

Original Poster
Rep: Reputation: 15
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.

Last edited by tony yu; 07-30-2004 at 02:57 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VNC Loging In steve007 Linux - Newbie 1 08-03-2005 09:18 PM
Iptables LOGing... Linux~Powered Linux - Security 7 04-10-2005 11:18 AM
Loging into Suse gw2k_101 Linux - Newbie 7 03-18-2005 07:07 PM
loging in.. longbow99 Linux - Newbie 7 01-25-2005 12:02 AM
loging in with KDE by default komplike Linux - Newbie 2 07-09-2004 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration