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
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month9 days, 13 hours left to enroll

609 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