Sound works for root and first user created, no one else
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sound works for root and first user created, no one else
The title explains it all. In X, my sound works for both root (just logged into Gnome as root to test, not my normal operating procedure) and my main user. However, I tried to create a second user and that user has no sound. I get an error that no suitable device was found and it routes the sound to /dev/null. Some details:
Check your permissions on the sound devices. Your new user might not be a member of the group thats allowed to access the sound devices. The group is usually called audio. To add someone to that group type:
adduser theuser audio
Check your sound devices for the proper group for you:
It will be less secure, and their are other devices as well so you'd have to chmod them all which could get very risky. Their maybe other problems as well, depending on what sound system your using ( OSS/ALSA ) /dev/dsp may not actually be the device being used for sound.
If you look under /dev you'll see a lot of devices listed with the audio group. ( if thats what its called on your machine ).
So their assigned the group sys. Andy was your primary login. If you look at the permissions only andy is allowed access to the devices ( root is always allowed acces to everthing regardless ). you'll probably have too chmod g+rw audio* and chmod g+rw dsp* and add the new user to the sys group. This should get everthing working.
It rather annoying that the groups aren't set up for permissions to start with. Check your video permissions as well as OpenGL probably won't work for anyone but andy either.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.