[Techtalk] Re: Sndconfig

Telsa Gwynne hobbit at aloss.ukuu.org.uk
Sat Aug 25 19:14:01 EST 2001


On Sun, Aug 26, 2001 at 03:01:01AM +1000 or thereabouts, Raena Lea-Shannon wrote:
> I am using RH 7.1 in dual boot. I have GNOME and KDE. I found that
> without having to config sndconfig I had ZCD going OK and when KDE
> booted it made an intro sound. But since then the CD Player is
> intermittent and I have not KDE intro sound. I can hear Real Player
> files fine. Real Player is working v well with Netscape in fact.
> 
> I tried to open sndconfig but the terminal response is no such file. In
> the KDE File Viewer sndocnfig is there in USR/SBIN but it is in italic.

I don't know what italics mean in the file viewer. I wonder, though, 
whether you're trying to run it as a normal user: 

[hobbit at aloss ~]$ sndconfig
bash: sndconfig: command not found
[hobbit at aloss ~]$ /usr/sbin/sndconfig 

ERROR - You must be root to run sndconfig.
[hobbit at aloss ~]$ 

You don't need to run either GNOME or KDE as root to do this.
If you have sudo setup, then "sudo /usr/sbin/sndconfig"; if not,
then "su -" will become root and get all the root environment
(like the path, so you don't need to type the full path to the
command). As I recall, it's a little text-based app which you
can just click through. If it's an X-based thing, then you 
need to make sure root can write to your user's display: I
do this with "ssh -l root localhost" because ssh will set up
the X stuff nicely: some people do "xhost +localhost" before
su. (Do remember to do "xhost -localhost" afterwards though!)

> Does anyone know what I need to do to get sndconfig working? Should I
> reinstall it from the CD using RPM?

If you are unsure whether an rpm is correctly installed, then 
"rpm -V packagename" will tell you. It only reports errors, so
this means it's correctly installed: 

[hobbit at aloss ~]$ rpm -V sndconfig
[hobbit at aloss ~]$ 

Telsa




More information about the Techtalk mailing list