Error while initializing the sound driver: device /dev/dsp can't be opened (No such device)

Posted on 2005-03-25
Medium Priority
Last Modified: 2008-01-16
Hi I am serving terminals and they are getting this error message in a whind when kde starts

Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such device)
The sound server will continue, using the null output

Is there any way to switch this off, for all newly added users too?

Question by:iqula
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 20

Expert Comment

ID: 13632063
Quite simple.
To do it interactively, fire up kcontrol choose "sound->sound system" and uncheck "Activate sound system" (I use a swedish locale, so I might be subly and slightly wrong about the actual strings here:-).

You could well also edit .kde/config/kcmartsrc and set StartServer=false to prevent it.
If the user lacks it, simply copy from one who has...
I'm sure you can convince kde to default to creating it "off", but I fail to remember exatly how just now...:-).

-- Glenn

Author Comment

ID: 13634611
Hi thanks foor that it works, but I would really like a solution that would be automatic for newly added users too so should be a system wide change

Accepted Solution

badrulnm earned 1200 total points
ID: 13635276
Hi Steve,

I think you can create a generic file "kcmartsrc" with "StartServer=false" and place the file in folder /etc/skel/.kde/config
LVL 20

Assisted Solution

Gns earned 800 total points
ID: 13635862
That might work OK (I haven't tested though), and if not, you could perhaps ptry place it in /usr/share/config instead.

-- Glenn

Featured Post

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month8 days, 10 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question