Re: [SLE] YIFF [solved]
From: Carlos E. R. (robin1.listas_at_tiscali.es)
Date: 07/28/03
- Previous message: Carlos E. R.: "Re: [SLE] SuSEfirewall2 and games"
- In reply to: Philipp Thomas: "Re: [SLE] YIFF"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Jul 2003 16:35:20 +0200 (CEST) To: SLE <suse-linux-e@suse.com>
The 03.07.25 at 23:28, Philipp Thomas wrote:
> >how do I tell SearchAndRescue to use whatever sound system kde or gnome
> >has already setup and running? I don't really want another soundserver!
>
> Such support be compiled into the application, so you'd have to look at the
> code and see if it does support other sound managers. Alternatively check
> if configure offers options to use other sound servers.
Looking at the source code of SearchAndRescue as it came with the SuSE
CDs, I see that the binary is replaced with an script that does the
following:
#!/bin/sh
if yrecinfo >/dev/null 2>/dev/null; then
exec /usr/games/SearchAndRescue.bin $*
else
/usr/sbin/yiff
/usr/games/SearchAndRescue.bin $*
# This shuts down sane and safe, yshutdown can cause TIME_WAIT
# sockets hanging around:
/sbin/killproc /usr/sbin/yiff
#yshutdown
fi
And this indeed works. If I call manually (as user, not root)
"/usr/sbin/yiff" the server runs and the game doesn't complain.
However, calling "rcyiff start" (as I thought would be the correct way for
starting the yiff server) fails with "Starting yiff /dev/dsp: Cannot open
for playing." This could be because the system script does it as the user
"nobody", who can not start it:
startproc -u nobody $YIFF_BIN $PROGCFG
Now, I wonder why the script "rcyiff" does it that way?
--
Cheers,
Carlos Robinson
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Carlos E. R.: "Re: [SLE] SuSEfirewall2 and games"
- In reply to: Philipp Thomas: "Re: [SLE] YIFF"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|